@colin4k1024/tsp 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/README.md +12 -6
  2. package/docs/.vitepress/config.mts +199 -0
  3. package/docs/adr/ADR-001-doc-architecture-integration.md +33 -0
  4. package/docs/guides/README.md +5 -0
  5. package/docs/guides/installation.md +33 -0
  6. package/docs/guides/user-guide.md +36 -0
  7. package/docs/index.md +65 -0
  8. package/docs/memory/backlog.md +10 -0
  9. package/docs/memory/decisions.md +43 -0
  10. package/docs/memory/lessons-learned.md +87 -0
  11. package/docs/plans/2026-04-03-python-remnants-audit.md +265 -0
  12. package/docs/plans/2026-04-03-scripts-python-to-js-migration.md +372 -0
  13. package/docs/plans/2026-04-03-solo-delivery-execution-checklist.md +413 -0
  14. package/docs/plans/2026-04-03-solo-delivery-gap-plan.md +377 -0
  15. package/docs/plans/2026-04-03-team-skills-workflow-gates.md +548 -0
  16. package/docs/plans/2026-04-21-open-source-readiness-gap-plan.md +217 -0
  17. package/docs/plans/llm-surface-reduction-audit.md +147 -0
  18. package/docs/plans/llm-surface-reduction-execution-checklist.md +217 -0
  19. package/docs/plans/llm-surface-reduction-execution-history.md +124 -0
  20. package/docs/plans/team-skills-platform-migration.md +54 -0
  21. package/docs/presentation/README.md +42 -0
  22. package/docs/presentation/audience-presentation-route-map.md +84 -0
  23. package/docs/presentation/executive-briefing-talk-track.md +50 -0
  24. package/docs/presentation/generate_capability_matrix.py +396 -0
  25. package/docs/presentation/generate_ppt.py +354 -0
  26. package/docs/presentation/implementation-onboarding-brief.md +38 -0
  27. package/docs/presentation/presentation-talk-track.md +97 -0
  28. package/docs/presentation/vertical-scenario-route-map.md +99 -0
  29. package/docs/presentation/workshop-facilitator-guide.md +47 -0
  30. package/docs/runbooks/actionlint-workflow-gates.md +80 -0
  31. package/docs/runbooks/agent-governance.md +131 -0
  32. package/docs/runbooks/ai-eval-platform-demo-execution-log.md +147 -0
  33. package/docs/runbooks/ai-eval-platform-demo-script.md +136 -0
  34. package/docs/runbooks/ai-eval-platform-walkthrough.md +113 -0
  35. package/docs/runbooks/ai-pr-review-automation.md +56 -0
  36. package/docs/runbooks/api-breaking-change-gates.md +58 -0
  37. package/docs/runbooks/api-design-evolution-walkthrough.md +42 -0
  38. package/docs/runbooks/api-lint-gates.md +57 -0
  39. package/docs/runbooks/api-mocking-strategy-and-lifecycle-guide.md +47 -0
  40. package/docs/runbooks/architect-daily-operations.md +63 -0
  41. package/docs/runbooks/architect-design-conversation-example.md +83 -0
  42. package/docs/runbooks/artifact-attestation-gates.md +75 -0
  43. package/docs/runbooks/artifact-persistence.md +257 -0
  44. package/docs/runbooks/backend-engineer-daily-operations.md +63 -0
  45. package/docs/runbooks/batch-optimization-completion-checklist.md +104 -0
  46. package/docs/runbooks/biz-service-designer-end-to-end-conversation-example.md +5 -0
  47. package/docs/runbooks/biz-service-designer-toolkit.md +5 -0
  48. package/docs/runbooks/bug-fix-complete-walkthrough.md +60 -0
  49. package/docs/runbooks/build-failure-recovery-walkthrough.md +40 -0
  50. package/docs/runbooks/canary-decision-matrix.md +41 -0
  51. package/docs/runbooks/canary-staging-release-walkthrough.md +46 -0
  52. package/docs/runbooks/checkov-iac-gates.md +104 -0
  53. package/docs/runbooks/claude-code-review-workflow.md +72 -0
  54. package/docs/runbooks/claude-conversation-prompt-recipes.md +132 -0
  55. package/docs/runbooks/claude-end-to-end-conversation-example.md +198 -0
  56. package/docs/runbooks/claude-feature-development-guide.md +112 -0
  57. package/docs/runbooks/claude-quick-start.md +227 -0
  58. package/docs/runbooks/claude-usage-scenarios.md +176 -0
  59. package/docs/runbooks/code-review-collaboration-walkthrough.md +65 -0
  60. package/docs/runbooks/codeql-pr-security-gates.md +64 -0
  61. package/docs/runbooks/codex-end-to-end-conversation-example.md +166 -0
  62. package/docs/runbooks/codex-multi-agent-orchestration.md +65 -0
  63. package/docs/runbooks/codex-parallel-prompt-recipes.md +131 -0
  64. package/docs/runbooks/codex-quick-start.md +223 -0
  65. package/docs/runbooks/codex-usage-scenarios.md +168 -0
  66. package/docs/runbooks/codex-workflow-essentials.md +88 -0
  67. package/docs/runbooks/command-and-capability-matrix.md +162 -0
  68. package/docs/runbooks/conftest-policy-gates.md +84 -0
  69. package/docs/runbooks/consumer-driven-contract-testing-with-mock-alignment.md +45 -0
  70. package/docs/runbooks/contract-testing-playbook.md +78 -0
  71. package/docs/runbooks/cosign-signing-gates.md +71 -0
  72. package/docs/runbooks/cross-role-issue-triage-walkthrough.md +47 -0
  73. package/docs/runbooks/cursor-quick-start.md +123 -0
  74. package/docs/runbooks/custom-overlay.md +115 -0
  75. package/docs/runbooks/data-ml-pipeline-demo-execution-log.md +141 -0
  76. package/docs/runbooks/data-ml-pipeline-demo-script.md +102 -0
  77. package/docs/runbooks/data-ml-pipeline-walkthrough.md +119 -0
  78. package/docs/runbooks/data-observability-quality-demo-execution-log.md +36 -0
  79. package/docs/runbooks/data-observability-quality-demo-script.md +42 -0
  80. package/docs/runbooks/data-observability-quality-walkthrough.md +86 -0
  81. package/docs/runbooks/demo-deliverables-overview.md +278 -0
  82. package/docs/runbooks/demo-execution-log.md +530 -0
  83. package/docs/runbooks/demo-scenario.md +129 -0
  84. package/docs/runbooks/dependency-review-gates.md +63 -0
  85. package/docs/runbooks/dependency-update-automation.md +83 -0
  86. package/docs/runbooks/design-md-workflow.md +185 -0
  87. package/docs/runbooks/devops-engineer-daily-operations.md +60 -0
  88. package/docs/runbooks/devops-release-conversation-example.md +88 -0
  89. package/docs/runbooks/doc-architecture-integration.md +59 -0
  90. package/docs/runbooks/doc-architecture-quick-start.md +122 -0
  91. package/docs/runbooks/document-execution-audit.md +32 -0
  92. package/docs/runbooks/documentation-update-walkthrough.md +37 -0
  93. package/docs/runbooks/ecc-harness-usage.md +93 -0
  94. package/docs/runbooks/error-experience-usage.md +116 -0
  95. package/docs/runbooks/evolution-usage.md +162 -0
  96. package/docs/runbooks/executive-value-one-page.md +55 -0
  97. package/docs/runbooks/external-capability-approval-and-enablement-workflow.md +39 -0
  98. package/docs/runbooks/external-capability-intake.md +160 -0
  99. package/docs/runbooks/first-team-command-60-seconds.md +96 -0
  100. package/docs/runbooks/first-team-workflow-walkthrough.md +245 -0
  101. package/docs/runbooks/frontend-backend-integration-acceptance-checklist.md +46 -0
  102. package/docs/runbooks/frontend-backend-parallel-integration-walkthrough.md +48 -0
  103. package/docs/runbooks/frontend-bugfix-one-page.md +82 -0
  104. package/docs/runbooks/frontend-engineer-daily-operations.md +60 -0
  105. package/docs/runbooks/frontend-enterprise-style-profile.md +5 -0
  106. package/docs/runbooks/frontend-governance.md +47 -0
  107. package/docs/runbooks/frontend-refactor-walkthrough.md +42 -0
  108. package/docs/runbooks/git-pr-workflow.md +63 -0
  109. package/docs/runbooks/github-actions-supply-chain-demo-execution-log.md +158 -0
  110. package/docs/runbooks/github-actions-supply-chain-demo-script.md +150 -0
  111. package/docs/runbooks/github-actions-supply-chain-walkthrough.md +117 -0
  112. package/docs/runbooks/github-token-permissions-baseline.md +92 -0
  113. package/docs/runbooks/gitlab-manual-pipeline-release.md +5 -0
  114. package/docs/runbooks/gitlab-release-integration-playbook.md +5 -0
  115. package/docs/runbooks/gitnexus-code-intelligence-usage.md +133 -0
  116. package/docs/runbooks/graphify-knowledge-graph-usage.md +88 -0
  117. package/docs/runbooks/handoff-filling-guide-with-examples.md +70 -0
  118. package/docs/runbooks/handoff-governance.md +250 -0
  119. package/docs/runbooks/helm-unittest-playbook.md +101 -0
  120. package/docs/runbooks/hotfix-emergency-release-walkthrough.md +60 -0
  121. package/docs/runbooks/iac-kubernetes-platform-demo-execution-log.md +144 -0
  122. package/docs/runbooks/iac-kubernetes-platform-demo-script.md +130 -0
  123. package/docs/runbooks/iac-kubernetes-platform-walkthrough.md +120 -0
  124. package/docs/runbooks/implementation-onboarding-reading-path.md +67 -0
  125. package/docs/runbooks/in-toto-attestation-framework.md +94 -0
  126. package/docs/runbooks/incident-severity-triage-tree.md +43 -0
  127. package/docs/runbooks/incident-triage-one-page.md +65 -0
  128. package/docs/runbooks/internal-developer-platform-demo-execution-log.md +36 -0
  129. package/docs/runbooks/internal-developer-platform-demo-script.md +42 -0
  130. package/docs/runbooks/internal-developer-platform-walkthrough.md +91 -0
  131. package/docs/runbooks/karpathy-guidelines-usage.md +27 -0
  132. package/docs/runbooks/kubeconform-schema-gates.md +100 -0
  133. package/docs/runbooks/kubectl-server-dry-run-gates.md +103 -0
  134. package/docs/runbooks/kyverno-policy-gates.md +90 -0
  135. package/docs/runbooks/langfuse-and-observability-integration-guide.md +43 -0
  136. package/docs/runbooks/langfuse-coding-trace.md +44 -0
  137. package/docs/runbooks/mobile-miniapp-delivery-walkthrough.md +112 -0
  138. package/docs/runbooks/mobile-miniapp-demo-execution-log.md +139 -0
  139. package/docs/runbooks/mobile-miniapp-demo-script.md +129 -0
  140. package/docs/runbooks/multi-service-backend-integration-walkthrough.md +61 -0
  141. package/docs/runbooks/open-design-integration.md +163 -0
  142. package/docs/runbooks/open-source-release-checklist.md +90 -0
  143. package/docs/runbooks/opencode-quick-start.md +128 -0
  144. package/docs/runbooks/parallel-development-coordination-walkthrough.md +47 -0
  145. package/docs/runbooks/parallel-execution-usage.md +179 -0
  146. package/docs/runbooks/platform-capability-demo-execution-log.md +184 -0
  147. package/docs/runbooks/platform-capability-demo-script.md +192 -0
  148. package/docs/runbooks/plugin-extension-platform-demo-execution-log.md +136 -0
  149. package/docs/runbooks/plugin-extension-platform-demo-script.md +102 -0
  150. package/docs/runbooks/plugin-extension-platform-walkthrough.md +111 -0
  151. package/docs/runbooks/policy-controller-gates.md +75 -0
  152. package/docs/runbooks/post-rollback-verification-checklist.md +37 -0
  153. package/docs/runbooks/pre-release-checklist.md +50 -0
  154. package/docs/runbooks/product-manager-clarification-conversation-example.md +90 -0
  155. package/docs/runbooks/product-manager-daily-operations.md +60 -0
  156. package/docs/runbooks/production-incident-response-walkthrough.md +50 -0
  157. package/docs/runbooks/project-claude-design-rationale.md +188 -0
  158. package/docs/runbooks/project-manager-daily-operations.md +61 -0
  159. package/docs/runbooks/project-manager-planning-conversation-example.md +82 -0
  160. package/docs/runbooks/project-onboarding.md +452 -0
  161. package/docs/runbooks/qa-engineer-daily-operations.md +63 -0
  162. package/docs/runbooks/qa-review-conversation-example.md +87 -0
  163. package/docs/runbooks/release-closure-one-page.md +65 -0
  164. package/docs/runbooks/release-governance-reading-path.md +56 -0
  165. package/docs/runbooks/release-notes-automation.md +48 -0
  166. package/docs/runbooks/release-rollback-recovery-walkthrough.md +47 -0
  167. package/docs/runbooks/requirement-clarity-and-scope-walkthrough.md +46 -0
  168. package/docs/runbooks/reviewdog-pr-gates.md +49 -0
  169. package/docs/runbooks/role-prompt-recipes.md +130 -0
  170. package/docs/runbooks/rtk-integration-intake.md +45 -0
  171. package/docs/runbooks/rtk-token-optimization-usage.md +107 -0
  172. package/docs/runbooks/runner-egress-hardening.md +81 -0
  173. package/docs/runbooks/runtime-capabilities-overview.md +113 -0
  174. package/docs/runbooks/sbom-generation-gates.md +71 -0
  175. package/docs/runbooks/scorecard-supply-chain-gates.md +82 -0
  176. package/docs/runbooks/secret-scanning-gates.md +85 -0
  177. package/docs/runbooks/security-compliance-platform-demo-execution-log.md +36 -0
  178. package/docs/runbooks/security-compliance-platform-demo-script.md +49 -0
  179. package/docs/runbooks/security-compliance-platform-walkthrough.md +98 -0
  180. package/docs/runbooks/slsa-generator-patterns.md +73 -0
  181. package/docs/runbooks/slsa-verification-gates.md +75 -0
  182. package/docs/runbooks/solo-delivery-mode.md +142 -0
  183. package/docs/runbooks/solo-delivery-one-page.md +111 -0
  184. package/docs/runbooks/specialist-commands-playbook.md +85 -0
  185. package/docs/runbooks/sub-agent-invocation-map.md +144 -0
  186. package/docs/runbooks/system-architecture-design-walkthrough.md +49 -0
  187. package/docs/runbooks/team-closeout-example.md +73 -0
  188. package/docs/runbooks/team-command-output-contracts.md +358 -0
  189. package/docs/runbooks/team-commands-quick-prompts.md +125 -0
  190. package/docs/runbooks/team-execute-example.md +63 -0
  191. package/docs/runbooks/team-handoff-example.md +49 -0
  192. package/docs/runbooks/team-intake-example.md +70 -0
  193. package/docs/runbooks/team-plan-example.md +62 -0
  194. package/docs/runbooks/team-release-example.md +63 -0
  195. package/docs/runbooks/team-review-example.md +61 -0
  196. package/docs/runbooks/team-skills-test-run.md +184 -0
  197. package/docs/runbooks/team-skills-usage.md +336 -0
  198. package/docs/runbooks/team-training-reading-path.md +64 -0
  199. package/docs/runbooks/tech-lead-closure-conversation-example.md +78 -0
  200. package/docs/runbooks/tech-lead-daily-operations.md +67 -0
  201. package/docs/runbooks/trivy-security-gates.md +79 -0
  202. package/docs/runbooks/troubleshooting.md +234 -0
  203. package/docs/runbooks/vertical-scenario-capability-matrix.md +107 -0
  204. package/docs/runbooks/witness-policy-gates.md +78 -0
  205. package/docs/runbooks/zizmor-workflow-audits.md +81 -0
  206. package/manifests/install-components.json +8 -0
  207. package/manifests/install-modules.json +34 -0
  208. package/manifests/install-profiles.json +2 -0
  209. package/package.json +2 -1
  210. package/scripts/install-apply.js +9 -0
  211. package/scripts/install-open-design.js +206 -0
  212. package/scripts/install-plan.js +17 -0
  213. package/scripts/lib/install/apply.js +31 -0
  214. package/scripts/lib/install-executor.js +56 -0
  215. package/skills/open-design/SKILL.md +87 -0
  216. package/skills/open-design/agents/openai.yaml +4 -0
@@ -0,0 +1,129 @@
1
+ ---
2
+ version: "0.1.0"
3
+ status: draft
4
+ created: 2026-03-29
5
+ updated: 2026-03-29
6
+ owner: 工程团队
7
+ ---
8
+
9
+ # 移动端与小程序交付演示剧本
10
+
11
+ 本文是一份可直接照着讲的演示脚本,面向移动端 / 小程序项目的终端边界、弱网、权限路径、多尺寸适配和 QA 验证场景。
12
+
13
+ ## 1. 演示目标
14
+
15
+ - 说明移动端项目为什么不能只讲桌面端 happy path
16
+ - 说明 `/tdd` 如何前置锁定终端风险与异常态
17
+ - 说明 `/multi-frontend` 如何帮助并行识别交互、适配和 QA 风险
18
+
19
+ ## 2. 适用对象
20
+
21
+ - 需要介绍移动端交付方法的 Tech Lead
22
+ - 需要讲终端适配与 QA 协作的前端负责人
23
+ - 需要向团队解释 handoff 为什么必须写清终端范围的讲解人
24
+
25
+ ## 3. 演示时长建议
26
+
27
+ - 5 分钟:只讲终端边界、弱网、权限三类风险
28
+ - 10 分钟:再讲 `/tdd` 与 `/multi-frontend`
29
+ - 15 分钟:完整走一遍 intake -> plan -> tdd -> multi-frontend -> execute -> handoff -> review
30
+
31
+ ## 4. 演示脚本
32
+
33
+ ### Step 1. 先用 1 分钟讲清移动端交付的风险在哪
34
+
35
+ 建议讲法:
36
+
37
+ ```text
38
+ 移动端项目最容易被低估的不是页面本身,而是终端差异、弱网、权限拒绝和容器环境差异。
39
+ 如果这些不前置,最后 QA 和上线阶段才会集中暴露问题。
40
+ ```
41
+
42
+ 配套材料:
43
+
44
+ - [frontend-engineer-daily-operations.md](frontend-engineer-daily-operations.md)
45
+ - [qa-engineer-daily-operations.md](qa-engineer-daily-operations.md)
46
+
47
+ ### Step 2. 用 `/team-intake` 讲清任务范围和边界
48
+
49
+ 建议输入:
50
+
51
+ ```text
52
+ /team-intake
53
+ 目标:新增移动端报销申请页与提交流程
54
+ 范围:页面结构、表单交互、授权路径、多尺寸适配、测试计划
55
+ 不做:后端流程引擎改造
56
+ 约束:必须覆盖弱网、拒绝态、加载态、真机范围和容器差异
57
+ ```
58
+
59
+ 讲解重点:
60
+
61
+ - 终端范围和异常态必须在 intake 就说清楚
62
+ - 不然 plan 和 handoff 都会失焦
63
+
64
+ ### Step 3. 用 `/team-plan` 讲如何拆交付任务
65
+
66
+ 建议输入:
67
+
68
+ ```text
69
+ /team-plan
70
+ 基于当前 intake 结果,拆页面结构、终端适配、权限路径、弱网验证、QA 回归和 handoff 节点。
71
+ 输出必须指出哪些风险先进入 /tdd,哪些内容适合通过 /multi-frontend 并行分析。
72
+ ```
73
+
74
+ 讲解重点:
75
+
76
+ - 不能只拆前端开发动作
77
+ - QA 验证范围和 handoff 节点必须提前进入计划
78
+
79
+ ### Step 4. 用 `/tdd` 讲“先锁终端与异常态标准”
80
+
81
+ 建议输入:
82
+
83
+ ```text
84
+ /tdd
85
+ 基于当前 /team-plan 结果,先锁机型范围、容器范围、弱网场景、权限拒绝态、加载态、异常态和成功标准。
86
+ ```
87
+
88
+ 讲解重点:
89
+
90
+ - `/tdd` 在这里锁的是多终端交付标准
91
+ - 这样可以避免后面只剩 UI 表面讨论
92
+
93
+ ### Step 5. 用 `/multi-frontend` 讲并行识别风险
94
+
95
+ 建议输入:
96
+
97
+ ```text
98
+ /multi-frontend
99
+ 基于当前 intake 或 tdd 结果,从交互体验、终端适配、QA 风险三个视角并行拆解,并整理成可直接进入 /handoff 的内容。
100
+ ```
101
+
102
+ 讲解重点:
103
+
104
+ - 交互、适配、QA 三个视角适合并行,不必串行等待
105
+ - 最终结果要落到 handoff,而不是停留在并行分析里
106
+
107
+ ### Step 6. 用 `/team-execute`、`/handoff`、`/team-review` 收尾
108
+
109
+ 建议讲法:
110
+
111
+ ```text
112
+ 执行阶段重点是把真机范围、弱网结果、权限拒绝行为和剩余风险写清楚;
113
+ handoff 要让 QA 能直接接住;
114
+ review 再决定还有没有阻塞上线的终端风险。
115
+ ```
116
+
117
+ ## 5. 建议演示顺序
118
+
119
+ 1. 先讲终端边界、弱网、权限三类风险
120
+ 2. 再展示 `/team-intake` 与 `/team-plan`
121
+ 3. 然后讲 `/tdd`
122
+ 4. 再讲 `/multi-frontend`
123
+ 5. 最后讲 `/team-execute`、`/handoff` 和 `/team-review`
124
+
125
+ ## 6. 演示后建议发给观众的材料
126
+
127
+ - [mobile-miniapp-demo-execution-log.md](mobile-miniapp-demo-execution-log.md)
128
+ - [mobile-miniapp-delivery-walkthrough.md](mobile-miniapp-delivery-walkthrough.md)
129
+ - [../../examples/mobile-miniapp-CLAUDE.md](../../examples/mobile-miniapp-CLAUDE.md)
@@ -0,0 +1,61 @@
1
+ ---
2
+ version: "0.1.0"
3
+ status: draft
4
+ created: 2026-03-28
5
+ updated: 2026-03-28
6
+ owner: 工程团队
7
+ ---
8
+
9
+ # 多服务后端集成演练
10
+
11
+ 本文面向后端或全栈项目,演示一个涉及多个服务或多个模块的集成任务应该怎样拆解、执行和验证。
12
+
13
+ ## 1. 场景
14
+
15
+ - 任务:订单服务新增审批记录查询能力,并与权限服务联动
16
+ - 涉及:接口契约、权限判断、测试和发布风险
17
+ - 可能命中:custom overlay 候选项
18
+
19
+ ## 2. 推荐链路
20
+
21
+ 1. `/team-intake`
22
+ 2. `/team-plan`
23
+ 3. `/multi-backend`
24
+ 4. `/team-execute`
25
+ 5. `/verify`
26
+ 6. `/handoff`
27
+ 7. `/team-review`
28
+
29
+ ## 3. intake 阶段要锁定什么
30
+
31
+ - 哪些服务或模块会受影响
32
+ - 接口契约由谁收口
33
+ - 是否命中 私有流程或权限集成 这类 overlay 候选项
34
+
35
+ ## 4. multi-backend 阶段要输出什么
36
+
37
+ - 服务边界
38
+ - 数据流
39
+ - 测试策略
40
+ - 发布和回滚风险
41
+
42
+ ## 5. execute 阶段要特别记录什么
43
+
44
+ - 接口兼容性说明
45
+ - 集成测试结果
46
+ - 权限边界结果
47
+ - 如果启用了 custom overlay,补执行记录
48
+
49
+ ## 6. verify 阶段要特别验证什么
50
+
51
+ - 跨服务调用是否通
52
+ - 错误路径是否一致
53
+ - 关键边界态是否被覆盖
54
+
55
+ ## 7. 常见错误
56
+
57
+ - 只有本服务视角,没有跨服务依赖视角
58
+ - 接口改了,但没有给消费方明确 handoff
59
+ - custom overlay 已经命中,却没有任何记录
60
+
61
+ 与后端日常说明配合阅读:[backend-engineer-daily-operations.md](backend-engineer-daily-operations.md)
@@ -0,0 +1,163 @@
1
+ # Open Design Integration
2
+
3
+ 本手册说明如何把 [nexu-io/open-design](https://github.com/nexu-io/open-design) 作为 TSP 的外部设计工作台接入。目标是让 TSP 管需求、角色协作、handoff 和质量门禁,让 Open Design 管可预览、可导出的高保真设计 artifact。
4
+
5
+ ## 采用边界
6
+
7
+ | 项 | 结论 |
8
+ |---|---|
9
+ | 上游 | `nexu-io/open-design` |
10
+ | License | `Apache-2.0` |
11
+ | 接入方式 | `reference-only controlled integration` |
12
+ | TSP 落点 | `skills/open-design` + 本 runbook + install manifest |
13
+ | 默认安装 | `team` 安装 TSP thin skill / runbook;`full` 额外自动 clone/update Open Design 到 `~/.tsp/open-design` |
14
+ | 本仓库依赖 | 不新增 npm 依赖,不 vendoring OD 源码、skills、design-systems 或 daemon;OD 作为外部 checkout 管理 |
15
+
16
+ ## 为什么这样接入
17
+
18
+ Evidence:Open Design 是独立产品形态,包含 Next.js web、Node daemon、SQLite、PATH agent detection、31 skills、100+ design systems、artifact export,以及 Node `~24` / pnpm `10.33.x` 要求。
19
+
20
+ Reasoning:如果把它当普通 skill 复制进 TSP,会把上游运行时、依赖、生成数据和设计资产生命周期绑进本仓库,增加验证和许可证归属成本。更合理的方式是让 TSP 提供调用协议、证据回写和安装发现入口。
21
+
22
+ Implications:`full` profile 会自动准备 Open Design checkout,但 TSP 不替它长期托管 daemon 生命周期。好处是 TSP 的 `node scripts/validate-library.js`、hooks 契约和平台发布节奏保持稳定,同时 full 用户开箱就有 OD 源码与依赖准备路径。
23
+
24
+ ## 使用前检查
25
+
26
+ 安装 TSP full profile 时会自动执行:
27
+
28
+ ```bash
29
+ node scripts/install-open-design.js
30
+ ```
31
+
32
+ 默认安装目录是 `~/.tsp/open-design`。可通过环境变量覆盖:
33
+
34
+ ```bash
35
+ TSP_OPEN_DESIGN_HOME=/path/to/open-design node scripts/install-apply.js --profile full --target codex
36
+ ```
37
+
38
+ 脚本行为:
39
+
40
+ - 目录不存在:`git clone --depth 1 --branch main https://github.com/nexu-io/open-design.git ~/.tsp/open-design`
41
+ - 目录已存在且 origin 是 Open Design:fetch 并 checkout 最新 `main`
42
+ - `corepack` / `pnpm` 可用时:自动执行 `corepack enable` 与 `pnpm install`
43
+ - `corepack` / `pnpm` 不可用时:保留源码 checkout 并提示手动补依赖
44
+
45
+ 也可以手动在独立目录中准备 Open Design:
46
+
47
+ ```bash
48
+ git clone https://github.com/nexu-io/open-design.git
49
+ cd open-design
50
+ corepack enable
51
+ pnpm install
52
+ pnpm tools-dev
53
+ ```
54
+
55
+ 上游当前要求 Node `~24` 与 pnpm `>=10.33.2 <11`。如果本机默认 Node 版本低于要求,用 `nvm`、`fnm` 或 Volta 进入 OD 目录后再切换版本。
56
+
57
+ ## TSP 主链接入
58
+
59
+ ### `/team-intake`
60
+
61
+ 在需求 intake 阶段补齐:
62
+
63
+ - artifact 类型:prototype、dashboard、mobile、deck、poster、document-like output。
64
+ - 受众与使用场景:销售、融资、内部评审、产品验证、实现交接。
65
+ - 品牌输入:现有 `DESIGN.md`、品牌 URL、截图、素材包、竞品参考。
66
+ - 约束:响应式范围、A11y、导出格式、真实数据要求、素材授权。
67
+
68
+ ### `/team-plan`
69
+
70
+ 把 Open Design 作为设计证据任务,而不是实现任务:
71
+
72
+ - `product-manager` 锁定内容和验收标准。
73
+ - `frontend-engineer` 选择 OD skill、design system 和视觉方向。
74
+ - `qa-engineer` 定义 artifact 评审清单。
75
+ - `tech-lead` 决定 OD 产物是探索、交接参考,还是实现输入。
76
+
77
+ ### `/team-execute`
78
+
79
+ 执行时遵循:
80
+
81
+ 1. 在 OD 中创建或打开项目。
82
+ 2. 导入/选择 `DESIGN.md`。
83
+ 3. 选择合适 skill:例如 `web-prototype`、`dashboard`、`mobile-app`、`guizang-ppt`、`pm-spec`。
84
+ 4. 生成 artifact 后记录:
85
+ - OD skill
86
+ - design system
87
+ - visual direction
88
+ - artifact/export 路径
89
+ - 截图或预览 URL
90
+ 5. 若进入代码实现,继续走本仓库 `frontend-engineering` 与 `frontend-ui-ux-system` 门禁。
91
+
92
+ ### `/team-review`
93
+
94
+ 评审不只看“好不好看”,必须覆盖:
95
+
96
+ - 需求覆盖:artifact 是否响应 intake 中的核心场景。
97
+ - 视觉系统:是否遵守 `DESIGN.md`,有没有随机色值、随机字体、AI 默认视觉模式。
98
+ - 响应式:桌面、平板、手机关键断点是否可用。
99
+ - 可访问性:对比度、键盘、焦点、语义结构。
100
+ - 导出完整性:HTML/PDF/PPTX/ZIP/图片/视频是否能打开,素材路径是否完整。
101
+ - 实现风险:哪些只是 demo 表现,不能直接进入生产代码。
102
+
103
+ ### `/team-release`
104
+
105
+ 若 OD 产物作为对外材料发布,release 记录需要包含:
106
+
107
+ - 产物版本与导出格式。
108
+ - 素材授权来源。
109
+ - 验证人和验证命令/方式。
110
+ - 回退方案:保留上一版导出或静态文件。
111
+
112
+ ## Artifact 回写模板
113
+
114
+ ```markdown
115
+ # Open Design Artifact Brief
116
+
117
+ ## Goal
118
+
119
+ ## Inputs
120
+ - TSP command:
121
+ - OD skill:
122
+ - Design system:
123
+ - Visual direction:
124
+ - Source materials:
125
+
126
+ ## Outputs
127
+ - Preview/export path:
128
+ - Screenshots:
129
+ - Target format:
130
+
131
+ ## Decisions
132
+ - Evidence:
133
+ - Reasoning:
134
+ - Implications:
135
+
136
+ ## Review
137
+ - Responsive:
138
+ - A11y:
139
+ - Visual quality:
140
+ - Data/material authorization:
141
+ - Implementation risks:
142
+
143
+ ## Next Step
144
+ ```
145
+
146
+ ## 与现有 TSP 能力组合
147
+
148
+ | 场景 | 推荐组合 |
149
+ |---|---|
150
+ | 先收敛视觉系统 | `frontend-ui-ux-system -> open-design design-system -> /team-plan` |
151
+ | 做高保真网页原型 | `/team-intake -> open-design web-prototype -> /team-execute` |
152
+ | 做 dashboard / admin UI | `frontend-engineering -> open-design dashboard -> browser-smoke-testing` |
153
+ | 做汇报材料 | `frontend-slides -> open-design deck mode -> /team-review` |
154
+ | 做产品文档或 PM spec | `product-manager -> open-design pm-spec -> doc-architecture` |
155
+
156
+ ## 禁用项
157
+
158
+ - 不复制 Open Design 上游源码、skills、design-systems、SQLite 数据或生成项目到 TSP canonical source。
159
+ - `full` profile 可以自动 clone/update Open Design;其他 profile 不自动拉取上游源码。
160
+ - 不把 Open Design 运行时加入 TSP 默认 npm 依赖或本仓库源码树。
161
+ - 不用 OD artifact 代替 TSP 的需求、交接、评审和发布记录。
162
+ - 不在 TSP 仓库中执行可能改写 AGENTS、hooks、MCP 或 agent 全局配置的外部 setup 命令。
163
+ - 不发布未确认授权的品牌资产、字体、图片、视频或第三方截图。
@@ -0,0 +1,90 @@
1
+ ---
2
+ version: "2.4.1"
3
+ status: active
4
+ created: 2026-04-22
5
+ updated: 2026-05-06
6
+ owner: 工程团队
7
+ doc_tier: entry
8
+ last_verified: 2026-05-06
9
+ source_of_truth:
10
+ - ../../README.md
11
+ - ../../package.json
12
+ - ../../.github/workflows/publish.yml
13
+ - ../../scripts/release-health-summary.js
14
+ ---
15
+
16
+ # 开源发布收尾清单
17
+
18
+ 本文用于把当前仓库作为公开开源项目发布前的最后收尾动作固定下来。它不替代通用发布方案,而是专门覆盖 public README / support / tarball / install surface / community entry points 这些开源发布面。
19
+
20
+ ## 1. 最短执行顺序
21
+
22
+ 1. 先跑 `npm run release:health`
23
+ 2. 若已经生成 tarball,再跑 `npm run release:health -- --pack-json .npm-pack.json`
24
+ 3. 处理所有 `FAIL` 项;`WARN` 项需要明确记录是否接受
25
+ 4. 再过一次 [pre-release-checklist.md](pre-release-checklist.md)
26
+
27
+ ## 2. 这条命令会帮你看什么
28
+
29
+ - `validate-library`
30
+ - `validate-doc-freshness`
31
+ - `validate-file-references --strict`
32
+ - `tests/test_public_release_surface.js`
33
+ - `tests/test_tsp_create_surface.js`
34
+ - `tests/test_codex_install_plan.js`
35
+ - `validate-prebuilt`
36
+ - `validate-packed-tarball`(若提供 tarball 或 pack-json)
37
+ - 公开 target support summary(默认按 `team` profile)
38
+
39
+ ## 3. Maintainer Checklist
40
+
41
+ ### 3.1 入口与社区面
42
+
43
+ - [ ] `README.md`、`SUPPORT.md`、`CONTRIBUTING.md`、`SECURITY.md` 入口齐全且互相可达
44
+ - [ ] README 中的 target/profile/support-level 口径与当前 manifests/runtime 一致
45
+ - [ ] GitHub issue contact links、PR template、CI checks 与公开协作方式一致
46
+
47
+ ### 3.2 安装与能力面
48
+
49
+ - [ ] `tsp-create --help`、wizard、README、SUPPORT 对 target/profile 口径一致
50
+ - [ ] Codex `commands-core` regression test 仍为绿色
51
+ - [ ] partial / baseline targets 没有被文档误写成 full parity
52
+
53
+ ### 3.3 打包与发布面
54
+
55
+ - [ ] `validate-prebuilt` 为绿色
56
+ - [ ] 若已打包 tarball,`validate-packed-tarball` 为绿色
57
+ - [ ] prebuilt source of truth 仍是 workflow/release staging + npm tarball,而不是 Git 回写目录
58
+ - [ ] publish workflow 与本地说明没有再次漂移
59
+
60
+ ### 3.4 文档卫生
61
+
62
+ - [ ] `validate-doc-freshness` 为绿色
63
+ - [ ] `AGENTS.md`、README、runbooks 没有 session residue、临时记录或会话记忆块
64
+ - [ ] strict reference validation 为绿色
65
+
66
+ ## 4. 怎样理解结果
67
+
68
+ - `PASS`:当前可直接进入发布或合并前最后确认
69
+ - `WARN`:不是硬阻塞,但要么当场修,要么在 release notes / backlog 中显式接受
70
+ - `FAIL`:不应继续做公开发布
71
+ - `SKIP`:通常表示你还没提供 tarball;如果当前要发 npm,这一项不能跳过
72
+
73
+ ## 5. 当前公开支持口径
74
+
75
+ - `Recommended`:`claude`、`cursor`
76
+ - `Strong`:`codex`、`opencode`
77
+ - `Partial`:`antigravity`、`codebuddy`
78
+ - `Baseline`:`gemini`、`copilot`、`windsurf`、`augment`
79
+
80
+ 如果 support matrix 发生变化,必须同步更新:
81
+
82
+ 1. `README.md`
83
+ 2. `SUPPORT.md`
84
+ 3. `scripts/release-health-summary.js` 的 support summary 输出
85
+
86
+ ## 6. 相关文档
87
+
88
+ - 通用发布检查:[pre-release-checklist.md](pre-release-checklist.md)
89
+ - 发布收口一页:[release-closure-one-page.md](release-closure-one-page.md)
90
+ - npm / release automation:[release-notes-automation.md](release-notes-automation.md)
@@ -0,0 +1,128 @@
1
+ ---
2
+ version: "2.3.0"
3
+ status: draft
4
+ created: 2026-03-28
5
+ updated: 2026-04-18
6
+ owner: 工程团队
7
+ doc_tier: entry
8
+ last_verified: 2026-04-18
9
+ source_of_truth:
10
+ - ../../README.md
11
+ - ../../AGENTS.md
12
+ - ./team-skills-usage.md
13
+ ---
14
+
15
+ # OpenCode Quick Start — Team Skills Platform
16
+
17
+ > 参考对象:需要在 OpenCode 中使用 Team Skills Platform 的工程师。
18
+
19
+ ## 1. 安装
20
+
21
+ ```bash
22
+ node scripts/build-platform-artifacts.js
23
+ ./scripts/install-opencode.sh
24
+
25
+ # 指定自定义路径
26
+ OPENCODE_CONFIG_DIR=/path/to/opencode ./scripts/install-opencode.sh
27
+ ```
28
+
29
+ ## 2. 安装后目录结构
30
+
31
+ ```text
32
+ ~/.config/opencode/
33
+ ├── plugins/team-skills-platform/
34
+ │ ├── .opencode-plugin/
35
+ │ ├── skills/ # 当前正式技能目录(统一平铺)
36
+ │ ├── commands/
37
+ │ ├── rules/
38
+ │ ├── agents/
39
+ │ │ ├── roles/
40
+ │ │ └── specialists/
41
+ │ ├── hooks/
42
+ │ ├── contexts/
43
+ │ ├── examples/
44
+ │ └── mcp-configs/
45
+ └── AGENTS.md # 自动合并的角色 / 命令入口
46
+ ```
47
+
48
+ OpenCode 公开表面只保留当前 `skills/` 目录和 JS runtime 入口,不再把旧三层 skill 目录或 Python hook 文件名当成现行结构。
49
+
50
+ ### 2.1 可选能力检查:Graphify / GitNexus
51
+
52
+ 如果你准备在 brownfield 项目中启用代码图谱能力,安装后可以先做预检查:
53
+
54
+ ```bash
55
+ npm run graphify:doctor
56
+ npm run gitnexus:doctor
57
+ ```
58
+
59
+ 预检查仅验证环境,不会自动安装依赖。Graphify 适合轻量结构证据,GitNexus 适合 MCP 查询、impact 和 detect_changes;若失败,按 [troubleshooting.md](troubleshooting.md) 的对应章节处理。
60
+
61
+ ## 3. AGENTS.md 会写入什么
62
+
63
+ 安装脚本会在 `~/.config/opencode/AGENTS.md` 自动写入 Team Skills Platform 区块,至少包括:
64
+
65
+ - 角色引用路径
66
+ - `/team-help` 在内的核心主链命令速查表
67
+ - 插件根路径说明
68
+
69
+ ## 4. 在 OpenCode 中怎么用
70
+
71
+ - 公开入口统一从 `/team-help` 开始
72
+ - 正式任务产出要通过 `npm run artifact:persist -- ...` 回写到项目仓库
73
+ - specialist 结论仍需回落到 `/handoff` 或 `/team-*`
74
+
75
+ ### 4.1 通过 AGENTS.md 激活角色
76
+
77
+ ```text
78
+ 请以 Tech Lead 角色帮我拆解这个需求,参考 AGENTS.md 中的角色定义。
79
+ ```
80
+
81
+ ### 4.2 直接引用命令定义
82
+
83
+ ```text
84
+ 先执行 /team-help,判断当前该进入 intake、plan,还是先补 readiness 证据。
85
+ ```
86
+
87
+ ```text
88
+ 执行 /team-plan 流程,定义见:
89
+ ~/.config/opencode/plugins/team-skills-platform/commands/team-plan.md
90
+ ```
91
+
92
+ ### 4.3 引用 Skill
93
+
94
+ ```text
95
+ 读取并应用以下 skill:
96
+ ~/.config/opencode/plugins/team-skills-platform/skills/systematic-debugging/SKILL.md
97
+ ```
98
+
99
+ ## 5. 常用命令速查
100
+
101
+ | 命令 | 用途 |
102
+ |------|------|
103
+ | `/team-help` | 根据当前阶段、artifacts 与阻塞项推荐下一步 |
104
+ | `/team-intake` | 接收需求并锁定目标、范围、约束 |
105
+ | `/team-plan` | 收口 challenge / design / readiness,并拆解里程碑 |
106
+ | `/team-execute` | 消费 readiness proof 执行实现 |
107
+ | `/team-review` | 做方案、质量、测试和放行评审 |
108
+ | `/team-release` | 做发布准备、上线检查与回滚保障 |
109
+ | `/team-closeout` | 在观察窗口结束后做最终收口 |
110
+ | `/handoff` | 在角色间做结构化交接 |
111
+ | `/plan` | Planner specialist 规划入口 |
112
+ | `/code-review` | Code Reviewer specialist 入口 |
113
+ | `/tdd` | TDD 先行入口 |
114
+ | `/build-fix` | 构建错误修复入口 |
115
+
116
+ ## 6. 重新安装 / 更新
117
+
118
+ ```bash
119
+ node scripts/build-platform-artifacts.js
120
+ ./scripts/install-opencode.sh
121
+ ```
122
+
123
+ ## 7. 相关文档
124
+
125
+ - [AGENTS.md](../../AGENTS.md) — 平台总览
126
+ - [claude-quick-start.md](claude-quick-start.md) — Claude 快速上手
127
+ - [cursor-quick-start.md](cursor-quick-start.md) — Cursor 快速上手
128
+ - [team-skills-usage.md](team-skills-usage.md) — 完整使用手册
@@ -0,0 +1,47 @@
1
+ ---
2
+ version: "0.1.0"
3
+ status: draft
4
+ created: 2026-03-28
5
+ updated: 2026-03-28
6
+ owner: 工程团队
7
+ ---
8
+
9
+ # 并行研发协调演练
10
+
11
+ 本文演示一个需求由多个角色并行推进时,如何管理依赖、同步点和阶段性风险,避免各自推进后在末端集中碰撞。
12
+
13
+ ## 1. 场景
14
+
15
+ - 任务:审批中心新增筛选、导出和权限限制
16
+ - 前端、后端、QA、架构师都需并行参与
17
+ - 风险在于依赖和边界很容易中途漂移
18
+
19
+ ## 2. 推荐链路
20
+
21
+ 1. `/team-intake`
22
+ 2. `/team-plan`
23
+ 3. `/team-execute`
24
+ 4. `/handoff`
25
+ 5. `/team-review`
26
+
27
+ ## 3. 关键协调点
28
+
29
+ - 哪些事项必须先定,再并行开工
30
+ - 哪些事项允许局部占位或 Mock
31
+ - 每个阶段的同步节点和责任人
32
+ - 哪些偏差必须升级给 tech-lead
33
+
34
+ ## 4. 关键输出
35
+
36
+ - 依赖顺序和里程碑
37
+ - 阶段性 handoff 清单
38
+ - 已知阻塞和替代方案
39
+ - 进入 QA 前的最小完备条件
40
+
41
+ ## 5. 常见错误
42
+
43
+ - 只做任务分配,不做同步节点设计
44
+ - 出现偏差后继续各自推进
45
+ - QA 最后才第一次看到全局状态
46
+
47
+ 与这些文档配合阅读:[project-manager-daily-operations.md](project-manager-daily-operations.md)、[tech-lead-daily-operations.md](tech-lead-daily-operations.md)