harnessed 2.0.1 → 3.0.1
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.
- package/README.md +246 -47
- package/dist/cli.mjs +416 -98
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/workflows/capabilities.yaml +468 -0
- package/workflows/defaults.yaml +71 -4
- package/workflows/disciplines/karpathy.yaml +47 -0
- package/workflows/disciplines/language.yaml +38 -0
- package/workflows/disciplines/operational.yaml +61 -0
- package/workflows/disciplines/output-style.yaml +62 -0
- package/workflows/disciplines/priority.yaml +28 -0
- package/workflows/disciplines/protocols.yaml +70 -0
- package/workflows/discuss/auto/.gitkeep +0 -0
- package/workflows/discuss/auto/SKILL.md +63 -0
- package/workflows/discuss/auto/workflow.yaml +40 -0
- package/workflows/discuss/phase/SKILL.md +61 -0
- package/workflows/discuss/phase/workflow.yaml +35 -0
- package/workflows/discuss/strategic/SKILL.md +66 -0
- package/workflows/discuss/strategic/workflow.yaml +47 -0
- package/workflows/discuss/subtask/SKILL.md +67 -0
- package/workflows/discuss/subtask/workflow.yaml +33 -0
- package/workflows/judgments/stage-routing.yaml +93 -0
- package/workflows/judgments/web-design-routing.yaml +37 -0
- package/workflows/judgments/web-search-routing.yaml +52 -0
- package/workflows/judgments/web-testing-routing.yaml +50 -0
- package/workflows/plan/architecture/SKILL.md +62 -0
- package/workflows/plan/architecture/workflow.yaml +33 -0
- package/workflows/plan/auto/.gitkeep +0 -0
- package/workflows/plan/auto/SKILL.md +63 -0
- package/workflows/plan/auto/workflow.yaml +41 -0
- package/workflows/plan/phase/SKILL.md +64 -0
- package/workflows/plan/phase/workflow.yaml +37 -0
- package/workflows/research/SKILL.md +6 -2
- package/workflows/research/workflow.yaml +34 -3
- package/workflows/retro/SKILL.md +68 -0
- package/workflows/retro/workflow.yaml +40 -0
- package/workflows/task/auto/.gitkeep +0 -0
- package/workflows/task/auto/SKILL.md +68 -0
- package/workflows/task/auto/workflow.yaml +57 -0
- package/workflows/task/clarify/SKILL.md +83 -0
- package/workflows/task/clarify/workflow.yaml +39 -0
- package/workflows/task/code/SKILL.md +89 -0
- package/workflows/task/code/workflow.yaml +55 -0
- package/workflows/task/deliver/SKILL.md +118 -0
- package/workflows/task/deliver/workflow.yaml +77 -0
- package/workflows/task/test/SKILL.md +93 -0
- package/workflows/task/test/workflow.yaml +44 -0
- package/workflows/verify/auto/.gitkeep +0 -0
- package/workflows/verify/auto/SKILL.md +77 -0
- package/workflows/verify/auto/workflow.yaml +74 -0
- package/workflows/verify/code-review/SKILL.md +69 -0
- package/workflows/verify/code-review/workflow.yaml +32 -0
- package/workflows/verify/design/SKILL.md +72 -0
- package/workflows/verify/design/workflow.yaml +33 -0
- package/workflows/verify/multispec/SKILL.md +86 -0
- package/workflows/verify/multispec/workflow.yaml +58 -0
- package/workflows/verify/paranoid/SKILL.md +71 -0
- package/workflows/verify/paranoid/workflow.yaml +30 -0
- package/workflows/verify/progress/SKILL.md +67 -0
- package/workflows/verify/progress/workflow.yaml +44 -0
- package/workflows/verify/qa/SKILL.md +73 -0
- package/workflows/verify/qa/workflow.yaml +31 -0
- package/workflows/verify/security/SKILL.md +67 -0
- package/workflows/verify/security/workflow.yaml +31 -0
- package/workflows/verify/simplify/SKILL.md +67 -0
- package/workflows/verify/simplify/workflow.yaml +31 -0
|
@@ -38,6 +38,7 @@ capabilities:
|
|
|
38
38
|
impl: mattpocock-skills
|
|
39
39
|
cmd: /grill-with-docs
|
|
40
40
|
since: v2.0
|
|
41
|
+
category: tool-slash-cmd
|
|
41
42
|
description: 规格澄清 with docs (fires when phase.spec_ambiguous == true)
|
|
42
43
|
fires_when:
|
|
43
44
|
- phase.spec_ambiguous == true
|
|
@@ -46,6 +47,7 @@ capabilities:
|
|
|
46
47
|
impl: mattpocock-skills
|
|
47
48
|
cmd: /zoom-out
|
|
48
49
|
since: v2.0
|
|
50
|
+
category: tool-slash-cmd
|
|
49
51
|
description: 陌生模块导航 (fires when subtask.unfamiliar_module == true)
|
|
50
52
|
fires_when:
|
|
51
53
|
- subtask.unfamiliar_module == true
|
|
@@ -54,6 +56,7 @@ capabilities:
|
|
|
54
56
|
impl: mattpocock-skills
|
|
55
57
|
cmd: /diagnose
|
|
56
58
|
since: v2.0
|
|
59
|
+
category: tool-slash-cmd
|
|
57
60
|
description: 系统化排错 (fires when test_fail OR debug context)
|
|
58
61
|
fires_when:
|
|
59
62
|
- subtask.test_fail == true
|
|
@@ -63,6 +66,7 @@ capabilities:
|
|
|
63
66
|
impl: mattpocock-skills
|
|
64
67
|
cmd: /caveman
|
|
65
68
|
since: v2.0
|
|
69
|
+
category: tool-slash-cmd
|
|
66
70
|
description: token 紧张时 surgical edit (fires when token_tight == true)
|
|
67
71
|
fires_when:
|
|
68
72
|
- subtask.token_tight == true
|
|
@@ -71,6 +75,7 @@ capabilities:
|
|
|
71
75
|
impl: mattpocock-skills
|
|
72
76
|
cmd: /grill-me
|
|
73
77
|
since: v2.0
|
|
78
|
+
category: tool-slash-cmd
|
|
74
79
|
description: 反向追问 (fires when spec_ambiguous AND no_docs)
|
|
75
80
|
fires_when:
|
|
76
81
|
- phase.spec_ambiguous == true AND phase.no_docs == true
|
|
@@ -79,6 +84,7 @@ capabilities:
|
|
|
79
84
|
impl: mattpocock-skills
|
|
80
85
|
cmd: /to-prd
|
|
81
86
|
since: v2.0
|
|
87
|
+
category: tool-slash-cmd
|
|
82
88
|
description: translate idea → PRD (fires when phase.translate_idea_to_prd == true)
|
|
83
89
|
fires_when:
|
|
84
90
|
- phase.translate_idea_to_prd == true
|
|
@@ -87,6 +93,7 @@ capabilities:
|
|
|
87
93
|
impl: mattpocock-skills
|
|
88
94
|
cmd: /to-issues
|
|
89
95
|
since: v2.0
|
|
96
|
+
category: tool-slash-cmd
|
|
90
97
|
description: translate PRD → issues (fires when phase.translate_prd_to_issues == true)
|
|
91
98
|
fires_when:
|
|
92
99
|
- phase.translate_prd_to_issues == true
|
|
@@ -95,6 +102,7 @@ capabilities:
|
|
|
95
102
|
impl: mattpocock-skills
|
|
96
103
|
cmd: /improve-codebase-architecture
|
|
97
104
|
since: v2.0
|
|
105
|
+
category: tool-slash-cmd
|
|
98
106
|
description: architecture health audit (fires when phase.architecture_health_audit == true)
|
|
99
107
|
fires_when:
|
|
100
108
|
- phase.architecture_health_audit == true
|
|
@@ -103,6 +111,7 @@ capabilities:
|
|
|
103
111
|
impl: mattpocock-skills
|
|
104
112
|
cmd: /code-review
|
|
105
113
|
since: v2.0
|
|
114
|
+
category: tool-slash-cmd
|
|
106
115
|
description: verify-work parallel fan-out (multi-agent high-confidence findings)
|
|
107
116
|
fires_when:
|
|
108
117
|
- phase.stage == 'verify'
|
|
@@ -111,6 +120,7 @@ capabilities:
|
|
|
111
120
|
impl: mattpocock-skills
|
|
112
121
|
cmd: /code-simplifier
|
|
113
122
|
since: v2.0
|
|
123
|
+
category: tool-slash-cmd
|
|
114
124
|
description: verify-work tail step (移除重复、多余逻辑)
|
|
115
125
|
fires_when:
|
|
116
126
|
- phase.stage == 'verify' AND phase.is_final_step == true
|
|
@@ -119,6 +129,7 @@ capabilities:
|
|
|
119
129
|
impl: mattpocock-skills
|
|
120
130
|
cmd: /investigate
|
|
121
131
|
since: v2.0
|
|
132
|
+
category: tool-slash-cmd
|
|
122
133
|
description: gstack-routed bug investigation (fires when bug_root_cause_unknown)
|
|
123
134
|
fires_when:
|
|
124
135
|
- subtask.bug_root_cause_unknown == true
|
|
@@ -135,6 +146,7 @@ capabilities:
|
|
|
135
146
|
impl: gstack
|
|
136
147
|
cmd: /ui-ux-pro-max
|
|
137
148
|
since: v2.0
|
|
149
|
+
category: tool-slash-cmd
|
|
138
150
|
description: UI/UX 默认主方案 数据驱动 (per ~/.claude/rules/web-design.md L5)
|
|
139
151
|
fires_when:
|
|
140
152
|
- phase.has_ui_changes == true
|
|
@@ -144,6 +156,7 @@ capabilities:
|
|
|
144
156
|
impl: gstack
|
|
145
157
|
cmd: /frontend-design
|
|
146
158
|
since: v2.0
|
|
159
|
+
category: tool-slash-cmd
|
|
147
160
|
description: UI 创意/装饰补充 (per ~/.claude/rules/web-design.md L11)
|
|
148
161
|
fires_when:
|
|
149
162
|
- phase.has_ui_changes == true AND phase.requires_creative_polish == true
|
|
@@ -152,6 +165,7 @@ capabilities:
|
|
|
152
165
|
impl: npm-cli
|
|
153
166
|
cmd: playwright
|
|
154
167
|
since: v2.0
|
|
168
|
+
category: tool-bundled-skill
|
|
155
169
|
description: AI 实时操作浏览器 一行 Bash (per ~/.claude/rules/web-testing.md L8 手)
|
|
156
170
|
fires_when:
|
|
157
171
|
- subtask.type == 'browser_probe'
|
|
@@ -160,6 +174,7 @@ capabilities:
|
|
|
160
174
|
impl: npm-cli
|
|
161
175
|
cmd: "@playwright/test"
|
|
162
176
|
since: v2.0
|
|
177
|
+
category: tool-plugin
|
|
163
178
|
description: E2E test framework TypeScript (per ~/.claude/rules/web-testing.md L8 脑)
|
|
164
179
|
fires_when:
|
|
165
180
|
- subtask.type == 'e2e_test' AND subtask.language == 'typescript'
|
|
@@ -168,6 +183,7 @@ capabilities:
|
|
|
168
183
|
impl: gstack
|
|
169
184
|
cmd: /webapp-testing
|
|
170
185
|
since: v2.0
|
|
186
|
+
category: tool-bundled-skill
|
|
171
187
|
description: Python 后端联动 E2E (per ~/.claude/rules/web-testing.md L11 筋骨)
|
|
172
188
|
fires_when:
|
|
173
189
|
- subtask.type == 'e2e_test' AND subtask.language == 'python'
|
|
@@ -176,6 +192,7 @@ capabilities:
|
|
|
176
192
|
impl: mcp
|
|
177
193
|
cmd: chrome-devtools
|
|
178
194
|
since: v2.0
|
|
195
|
+
category: tool-mcp
|
|
179
196
|
description: 性能/a11y/内存泄漏诊断 (per ~/.claude/rules/web-testing.md L45 非功能性)
|
|
180
197
|
fires_when:
|
|
181
198
|
- subtask.type in ['perf_diagnose', 'a11y_audit', 'memory_leak']
|
|
@@ -184,6 +201,7 @@ capabilities:
|
|
|
184
201
|
impl: cli
|
|
185
202
|
cmd: ctx7
|
|
186
203
|
since: v2.0
|
|
204
|
+
category: tool-cli
|
|
187
205
|
description: 库 API/框架/SDK 文档抓取 (per ~/.claude/rules/context7.md)
|
|
188
206
|
fires_when:
|
|
189
207
|
- subtask.needs_library_docs == true
|
|
@@ -192,6 +210,7 @@ capabilities:
|
|
|
192
210
|
impl: mcp
|
|
193
211
|
cmd: tavily_search
|
|
194
212
|
since: v2.0
|
|
213
|
+
category: tool-mcp
|
|
195
214
|
description: Web 搜索默认 (关键词/库 API/时效) per ~/.claude/rules/web-search.md L17
|
|
196
215
|
fires_when:
|
|
197
216
|
- subtask.needs_web_search == true
|
|
@@ -200,6 +219,7 @@ capabilities:
|
|
|
200
219
|
impl: mcp
|
|
201
220
|
cmd: web_fetch_exa
|
|
202
221
|
since: v2.0
|
|
222
|
+
category: tool-mcp
|
|
203
223
|
description: 描述式/学术 Web 搜索 per ~/.claude/rules/web-search.md L24
|
|
204
224
|
fires_when:
|
|
205
225
|
- subtask.needs_web_search == true AND subtask.search_type in ['descriptive', 'academic']
|
|
@@ -208,6 +228,7 @@ capabilities:
|
|
|
208
228
|
impl: gsd
|
|
209
229
|
cmd: /gsd-discuss-phase
|
|
210
230
|
since: v2.0
|
|
231
|
+
category: tool-slash-cmd
|
|
211
232
|
description: GSD discuss-phase 灰色澄清 (Phase 层判据 sister judgments/phase-gate.yaml)
|
|
212
233
|
fires_when:
|
|
213
234
|
- phase.open_decisions >= 2 OR phase.scope_days > 1
|
|
@@ -216,6 +237,7 @@ capabilities:
|
|
|
216
237
|
impl: gsd
|
|
217
238
|
cmd: /gsd-plan-phase
|
|
218
239
|
since: v2.0
|
|
240
|
+
category: tool-slash-cmd
|
|
219
241
|
description: GSD plan-phase Wave A research + Wave B planner + Wave C plan-checker
|
|
220
242
|
fires_when:
|
|
221
243
|
- phase.stage == 'plan'
|
|
@@ -224,6 +246,7 @@ capabilities:
|
|
|
224
246
|
impl: gsd
|
|
225
247
|
cmd: /gsd-review
|
|
226
248
|
since: v2.0
|
|
249
|
+
category: tool-slash-cmd
|
|
227
250
|
description: GSD cross-AI peer review
|
|
228
251
|
fires_when:
|
|
229
252
|
- phase.stage == 'verify' AND phase.requires_peer_review == true
|
|
@@ -232,6 +255,7 @@ capabilities:
|
|
|
232
255
|
impl: gsd
|
|
233
256
|
cmd: /gsd-debug
|
|
234
257
|
since: v2.0
|
|
258
|
+
category: tool-slash-cmd
|
|
235
259
|
description: GSD systematic debugging (overlap with mattpocock /diagnose — alias)
|
|
236
260
|
aliases:
|
|
237
261
|
- { impl: mattpocock-skills, cmd: /diagnose }
|
|
@@ -242,6 +266,7 @@ capabilities:
|
|
|
242
266
|
impl: gsd
|
|
243
267
|
cmd: /gsd-progress
|
|
244
268
|
since: v2.0
|
|
269
|
+
category: tool-slash-cmd
|
|
245
270
|
description: GSD 状态同步 (verify-work serial after gsd-verify-work)
|
|
246
271
|
fires_when:
|
|
247
272
|
- phase.stage == 'verify'
|
|
@@ -250,6 +275,7 @@ capabilities:
|
|
|
250
275
|
impl: gsd
|
|
251
276
|
cmd: /gsd-verify-work
|
|
252
277
|
since: v2.0
|
|
278
|
+
category: tool-slash-cmd
|
|
253
279
|
description: verify-work entry (Stage ④ Verify 起点)
|
|
254
280
|
fires_when:
|
|
255
281
|
- phase.stage == 'verify'
|
|
@@ -262,6 +288,7 @@ capabilities:
|
|
|
262
288
|
impl: gstack
|
|
263
289
|
cmd: /office-hours
|
|
264
290
|
since: v2.0
|
|
291
|
+
category: tool-slash-cmd
|
|
265
292
|
description: 战略层产品理念/商业 scope 澄清 (sister CLAUDE.md "新功能启动前强制")
|
|
266
293
|
fires_when:
|
|
267
294
|
- phase.type in ['new_project', 'new_milestone', 'new_feature']
|
|
@@ -270,6 +297,7 @@ capabilities:
|
|
|
270
297
|
impl: gstack
|
|
271
298
|
cmd: /plan-ceo-review
|
|
272
299
|
since: v2.0
|
|
300
|
+
category: tool-slash-cmd
|
|
273
301
|
description: 战略评估 CEO 视角 (新功能启动前强制 sister CLAUDE.md)
|
|
274
302
|
fires_when:
|
|
275
303
|
- phase.type == 'new_feature' AND phase.has_business_decisions == true
|
|
@@ -278,6 +306,7 @@ capabilities:
|
|
|
278
306
|
impl: gstack
|
|
279
307
|
cmd: /review
|
|
280
308
|
since: v2.0
|
|
309
|
+
category: tool-slash-cmd
|
|
281
310
|
description: Paranoid Staff Engineer 视角 (关键模块 PR 前强制 sister CLAUDE.md)
|
|
282
311
|
fires_when:
|
|
283
312
|
- phase.is_critical_module == true
|
|
@@ -286,6 +315,7 @@ capabilities:
|
|
|
286
315
|
impl: gstack
|
|
287
316
|
cmd: /qa
|
|
288
317
|
since: v2.0
|
|
318
|
+
category: tool-slash-cmd
|
|
289
319
|
description: 端到端 QA 验收 (可选 conditional)
|
|
290
320
|
fires_when:
|
|
291
321
|
- phase.stage == 'verify' AND phase.has_ui_changes == true
|
|
@@ -294,6 +324,7 @@ capabilities:
|
|
|
294
324
|
impl: gstack
|
|
295
325
|
cmd: /cso
|
|
296
326
|
since: v2.0
|
|
327
|
+
category: tool-slash-cmd
|
|
297
328
|
description: 安全审查 OWASP/auth/secrets (可选 conditional)
|
|
298
329
|
fires_when:
|
|
299
330
|
- phase.stage == 'verify' AND phase.has_auth_or_secrets == true
|
|
@@ -302,6 +333,7 @@ capabilities:
|
|
|
302
333
|
impl: gstack
|
|
303
334
|
cmd: /design-review
|
|
304
335
|
since: v2.0
|
|
336
|
+
category: tool-slash-cmd
|
|
305
337
|
description: 设计系统一致性审查 + AI 审美问题识别 (可选 conditional)
|
|
306
338
|
fires_when:
|
|
307
339
|
- phase.stage == 'verify' AND phase.has_design_changes == true
|
|
@@ -315,6 +347,7 @@ capabilities:
|
|
|
315
347
|
impl: superpowers
|
|
316
348
|
cmd: "superpowers:test-driven-development"
|
|
317
349
|
since: v2.0
|
|
350
|
+
category: tool-slash-cmd
|
|
318
351
|
description: TDD red-green-refactor (gated by judgments/tdd-gate.yaml fires_when)
|
|
319
352
|
aliases:
|
|
320
353
|
- { impl: mattpocock-skills, cmd: /tdd }
|
|
@@ -332,6 +365,7 @@ capabilities:
|
|
|
332
365
|
impl: claude-code-plugin
|
|
333
366
|
cmd: /plan
|
|
334
367
|
since: v2.0
|
|
368
|
+
category: tool-plugin
|
|
335
369
|
description: Manus-style persistent markdown planning (Claude Code plugin slash cmd)
|
|
336
370
|
requires:
|
|
337
371
|
plugin: planning-with-files >=2.2.0
|
|
@@ -348,6 +382,7 @@ capabilities:
|
|
|
348
382
|
impl: bundled-skill
|
|
349
383
|
cmd: ralph-loop
|
|
350
384
|
since: v2.0
|
|
385
|
+
category: tool-bundled-skill
|
|
351
386
|
description: Sub-task completion gate (verbatim COMPLETE; max-iterations fallback)
|
|
352
387
|
sdk_ref: src/routing/lib/ralphLoop.ts
|
|
353
388
|
fires_when:
|
|
@@ -357,6 +392,7 @@ capabilities:
|
|
|
357
392
|
impl: superpowers
|
|
358
393
|
cmd: "superpowers:brainstorming"
|
|
359
394
|
since: v2.0
|
|
395
|
+
category: tool-slash-cmd
|
|
360
396
|
description: 子任务级澄清 multi-approach 探索 (gated by judgments/subtask-gate.yaml)
|
|
361
397
|
fires_when:
|
|
362
398
|
- subtask.approaches >= 2
|
|
@@ -383,6 +419,7 @@ capabilities:
|
|
|
383
419
|
impl: claude-platform
|
|
384
420
|
cmd: TeamCreate
|
|
385
421
|
since: v2.0
|
|
422
|
+
category: agent-platform
|
|
386
423
|
description: Agent Teams team 创建 (CC 2.1.133+ experimental; per agent-teams.md L7)
|
|
387
424
|
requires:
|
|
388
425
|
settings_env_var: env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1"
|
|
@@ -398,6 +435,7 @@ capabilities:
|
|
|
398
435
|
impl: claude-platform
|
|
399
436
|
cmd: SendMessage
|
|
400
437
|
since: v2.0
|
|
438
|
+
category: agent-platform
|
|
401
439
|
description: Agent Teams teammate 间通信 (round-trip 已验证 2026-05-19)
|
|
402
440
|
requires:
|
|
403
441
|
settings_env_var: env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1"
|
|
@@ -407,7 +445,437 @@ capabilities:
|
|
|
407
445
|
impl: claude-platform
|
|
408
446
|
cmd: TeamDelete
|
|
409
447
|
since: v2.0
|
|
448
|
+
category: agent-platform
|
|
410
449
|
description: Agent Teams cleanup (shutdown_request 之后 TeamDelete; sister agent-teams.md 防呆清单)
|
|
411
450
|
requires:
|
|
412
451
|
settings_env_var: env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1"
|
|
413
452
|
cc_version: ">=2.1.133"
|
|
453
|
+
|
|
454
|
+
# ============================================================================
|
|
455
|
+
# Bucket 6 — L0 Discipline Substrate behavioral ref (D-09 NEW v3, 6 entry)
|
|
456
|
+
# ============================================================================
|
|
457
|
+
#
|
|
458
|
+
# behavioral category entries 不 invoke slash cmd, 而是 ref workflows/disciplines/<basename>.yaml,
|
|
459
|
+
# workflow runtime pre-phase hook load discipline rules 应用 cross-cutting (per D-05 always-on)。
|
|
460
|
+
# Sentinel cmd value '<not-applicable-behavioral>' — runtime engine 检测 category=behavioral 时 SKIP
|
|
461
|
+
# cmd invoke, 改 load discipline_ref yaml + apply rules via hook。
|
|
462
|
+
|
|
463
|
+
karpathy-guidelines:
|
|
464
|
+
impl: harnessed-bundled
|
|
465
|
+
cmd: '<not-applicable-behavioral>'
|
|
466
|
+
since: v2.0
|
|
467
|
+
category: behavioral
|
|
468
|
+
description: 4 心法 + ≤200L hard limit + no-feature-creep + trust-internal-code + no-comments-default
|
|
469
|
+
discipline_ref: workflows/disciplines/karpathy.yaml
|
|
470
|
+
|
|
471
|
+
output-style-discipline:
|
|
472
|
+
impl: harnessed-bundled
|
|
473
|
+
cmd: '<not-applicable-behavioral>'
|
|
474
|
+
since: v3.0
|
|
475
|
+
category: behavioral
|
|
476
|
+
description: BLUF + no-sycophantic + no-emoji + no-em-dash + 量词精确 + no-end-recap + no-empty-continuation-question
|
|
477
|
+
discipline_ref: workflows/disciplines/output-style.yaml
|
|
478
|
+
|
|
479
|
+
language-convention:
|
|
480
|
+
impl: harnessed-bundled
|
|
481
|
+
cmd: '<not-applicable-behavioral>'
|
|
482
|
+
since: v3.0
|
|
483
|
+
category: behavioral
|
|
484
|
+
description: 默认简体中文 + 8 类强制保留英文原文 + 用户明示 lang_request 覆盖
|
|
485
|
+
discipline_ref: workflows/disciplines/language.yaml
|
|
486
|
+
|
|
487
|
+
operational-discipline:
|
|
488
|
+
impl: harnessed-bundled
|
|
489
|
+
cmd: '<not-applicable-behavioral>'
|
|
490
|
+
since: v3.0
|
|
491
|
+
category: behavioral
|
|
492
|
+
description: biome-preempt + A7 ADR 守恒 + no-push-without-approval + no-skip-hooks + destructive-ops-explicit + authorization-not-transitive
|
|
493
|
+
discipline_ref: workflows/disciplines/operational.yaml
|
|
494
|
+
|
|
495
|
+
priority-hierarchy:
|
|
496
|
+
impl: harnessed-bundled
|
|
497
|
+
cmd: '<not-applicable-behavioral>'
|
|
498
|
+
since: v3.0
|
|
499
|
+
category: behavioral
|
|
500
|
+
description: 7-tier priority hierarchy + multi-capability arbitration (gstack > gsd > superpowers > planning-with-files > karpathy > mattpocock > parallel)
|
|
501
|
+
discipline_ref: workflows/disciplines/priority.yaml
|
|
502
|
+
|
|
503
|
+
conceptual-protocols:
|
|
504
|
+
impl: harnessed-bundled
|
|
505
|
+
cmd: '<not-applicable-behavioral>'
|
|
506
|
+
since: v3.0
|
|
507
|
+
category: behavioral
|
|
508
|
+
description: cc-handoff Ideation→Onboarding + Plan→Execute + file-ownership-strict 跨 CC instance 协议
|
|
509
|
+
discipline_ref: workflows/disciplines/protocols.yaml
|
|
510
|
+
|
|
511
|
+
# ============================================================================
|
|
512
|
+
# Bucket 7 — gstack 33 optional registry-only (D-12 NEW v3)
|
|
513
|
+
# ============================================================================
|
|
514
|
+
#
|
|
515
|
+
# 33 gstack optional slash cmd — entry name 无 `gstack-` prefix per Pattern A E.2 LOCK
|
|
516
|
+
# (sister project CLAUDE.md gstack skill routing 直接 invoke cmd 名)。
|
|
517
|
+
# 例外 2 alias suffix `-gstack` 避免命名冲突:
|
|
518
|
+
# - retro-gstack (alias to harnessed standalone /retro)
|
|
519
|
+
# - investigate-gstack (alias to mattpocock investigate)
|
|
520
|
+
# carrier name 自带 `gstack` 字符串 (NOT prefix policy): open-gstack-browser, gstack-upgrade
|
|
521
|
+
|
|
522
|
+
autoplan:
|
|
523
|
+
impl: gstack
|
|
524
|
+
cmd: /autoplan
|
|
525
|
+
since: v3.0
|
|
526
|
+
category: tool-slash-cmd
|
|
527
|
+
description: 串联完整 review pipeline (office-hours + plan-ceo-review + plan-eng-review 等)
|
|
528
|
+
fires_when:
|
|
529
|
+
- phase.requires_full_review_pipeline == true
|
|
530
|
+
|
|
531
|
+
codex:
|
|
532
|
+
impl: gstack
|
|
533
|
+
cmd: /codex
|
|
534
|
+
since: v3.0
|
|
535
|
+
category: tool-slash-cmd
|
|
536
|
+
description: 第二意见 / cross-AI peer review via codex
|
|
537
|
+
fires_when:
|
|
538
|
+
- phase.stage == 'verify' AND phase.requires_second_opinion == true
|
|
539
|
+
|
|
540
|
+
design-shotgun:
|
|
541
|
+
impl: gstack
|
|
542
|
+
cmd: /design-shotgun
|
|
543
|
+
since: v3.0
|
|
544
|
+
category: tool-slash-cmd
|
|
545
|
+
description: 设计 variants 探索 (一次产出多版本 mockup)
|
|
546
|
+
fires_when:
|
|
547
|
+
- phase.has_design_changes == true AND phase.needs_variants == true
|
|
548
|
+
|
|
549
|
+
design-html:
|
|
550
|
+
impl: gstack
|
|
551
|
+
cmd: /design-html
|
|
552
|
+
since: v3.0
|
|
553
|
+
category: tool-slash-cmd
|
|
554
|
+
description: 设计 HTML mockup 生成 (throwaway 原型)
|
|
555
|
+
fires_when:
|
|
556
|
+
- phase.has_design_changes == true AND phase.needs_html_mockup == true
|
|
557
|
+
|
|
558
|
+
design-consultation:
|
|
559
|
+
impl: gstack
|
|
560
|
+
cmd: /design-consultation
|
|
561
|
+
since: v3.0
|
|
562
|
+
category: tool-slash-cmd
|
|
563
|
+
description: 设计咨询 / 品牌一致性顾问
|
|
564
|
+
fires_when:
|
|
565
|
+
- phase.has_design_changes == true AND phase.needs_brand_consult == true
|
|
566
|
+
|
|
567
|
+
plan-design-review:
|
|
568
|
+
impl: gstack
|
|
569
|
+
cmd: /plan-design-review
|
|
570
|
+
since: v3.0
|
|
571
|
+
category: tool-slash-cmd
|
|
572
|
+
description: 计划 phase 设计审查 (设计意图与可行性评估)
|
|
573
|
+
fires_when:
|
|
574
|
+
- phase.stage == 'plan' AND phase.has_design_changes == true
|
|
575
|
+
|
|
576
|
+
plan-devex-review:
|
|
577
|
+
impl: gstack
|
|
578
|
+
cmd: /plan-devex-review
|
|
579
|
+
since: v3.0
|
|
580
|
+
category: tool-slash-cmd
|
|
581
|
+
description: 计划 phase 开发体验审查 (DX/onboarding 视角)
|
|
582
|
+
fires_when:
|
|
583
|
+
- phase.stage == 'plan' AND phase.has_devex_concerns == true
|
|
584
|
+
|
|
585
|
+
plan-eng-review:
|
|
586
|
+
impl: gstack
|
|
587
|
+
cmd: /plan-eng-review
|
|
588
|
+
since: v3.0
|
|
589
|
+
category: tool-slash-cmd
|
|
590
|
+
description: 复杂架构审查 (engineering manager 视角, 锁定架构后再 plan-phase)
|
|
591
|
+
fires_when:
|
|
592
|
+
- phase.is_complex_architecture == true
|
|
593
|
+
|
|
594
|
+
plan-tune:
|
|
595
|
+
impl: gstack
|
|
596
|
+
cmd: /plan-tune
|
|
597
|
+
since: v3.0
|
|
598
|
+
category: tool-slash-cmd
|
|
599
|
+
description: 计划微调 (重新评估 plan 后细节调整)
|
|
600
|
+
fires_when:
|
|
601
|
+
- phase.stage == 'plan' AND phase.tune_required == true
|
|
602
|
+
|
|
603
|
+
context-save:
|
|
604
|
+
impl: gstack
|
|
605
|
+
cmd: /context-save
|
|
606
|
+
since: v3.0
|
|
607
|
+
category: tool-slash-cmd
|
|
608
|
+
description: 保存进度 / context handoff 准备
|
|
609
|
+
fires_when:
|
|
610
|
+
- user.explicit_signal includes 'save progress'
|
|
611
|
+
|
|
612
|
+
context-restore:
|
|
613
|
+
impl: gstack
|
|
614
|
+
cmd: /context-restore
|
|
615
|
+
since: v3.0
|
|
616
|
+
category: tool-slash-cmd
|
|
617
|
+
description: 恢复进度 / context restoration
|
|
618
|
+
fires_when:
|
|
619
|
+
- user.explicit_signal includes 'resume'
|
|
620
|
+
|
|
621
|
+
qa-only:
|
|
622
|
+
impl: gstack
|
|
623
|
+
cmd: /qa-only
|
|
624
|
+
since: v3.0
|
|
625
|
+
category: tool-slash-cmd
|
|
626
|
+
description: QA 报告 only mode (端到端测试但不修代码)
|
|
627
|
+
fires_when:
|
|
628
|
+
- phase.stage == 'verify' AND phase.has_ui_changes == true AND phase.report_only == true
|
|
629
|
+
|
|
630
|
+
devex-review:
|
|
631
|
+
impl: gstack
|
|
632
|
+
cmd: /devex-review
|
|
633
|
+
since: v3.0
|
|
634
|
+
category: tool-slash-cmd
|
|
635
|
+
description: 开发体验审查 (onboarding test / DX audit)
|
|
636
|
+
fires_when:
|
|
637
|
+
- phase.stage == 'verify' AND phase.has_devex_concerns == true
|
|
638
|
+
|
|
639
|
+
benchmark:
|
|
640
|
+
impl: gstack
|
|
641
|
+
cmd: /benchmark
|
|
642
|
+
since: v3.0
|
|
643
|
+
category: tool-slash-cmd
|
|
644
|
+
description: 性能基准 / page speed regression 检测
|
|
645
|
+
fires_when:
|
|
646
|
+
- phase.stage == 'verify' AND phase.has_perf_concerns == true
|
|
647
|
+
|
|
648
|
+
browse:
|
|
649
|
+
impl: gstack
|
|
650
|
+
cmd: /browse
|
|
651
|
+
since: v3.0
|
|
652
|
+
category: tool-slash-cmd
|
|
653
|
+
description: 浏览器自动化 / dogfooding (gstack 默认 browser cmd)
|
|
654
|
+
fires_when:
|
|
655
|
+
- subtask.needs_browser_automation == true
|
|
656
|
+
|
|
657
|
+
open-gstack-browser:
|
|
658
|
+
impl: gstack
|
|
659
|
+
cmd: /open-gstack-browser
|
|
660
|
+
since: v3.0
|
|
661
|
+
category: tool-slash-cmd
|
|
662
|
+
description: 启动 headed Chrome (gstack 集成 browser headed mode)
|
|
663
|
+
fires_when:
|
|
664
|
+
- subtask.needs_headed_browser == true
|
|
665
|
+
|
|
666
|
+
connect-chrome:
|
|
667
|
+
impl: gstack
|
|
668
|
+
cmd: /connect-chrome
|
|
669
|
+
since: v3.x
|
|
670
|
+
category: tool-slash-cmd
|
|
671
|
+
description: 连接现有 Chrome 实例 (用于 Chrome extension 测试) — defer v3.x per W1.1 K1 (gstack plugin 当前未 ship connect-chrome subdir)
|
|
672
|
+
fires_when:
|
|
673
|
+
- subtask.needs_chrome_extension == true
|
|
674
|
+
|
|
675
|
+
setup-browser-cookies:
|
|
676
|
+
impl: gstack
|
|
677
|
+
cmd: /setup-browser-cookies
|
|
678
|
+
since: v3.0
|
|
679
|
+
category: tool-slash-cmd
|
|
680
|
+
description: 导入 cookies 用于 authenticated browser 测试
|
|
681
|
+
fires_when:
|
|
682
|
+
- subtask.needs_authenticated_browser == true
|
|
683
|
+
|
|
684
|
+
ship:
|
|
685
|
+
impl: gstack
|
|
686
|
+
cmd: /ship
|
|
687
|
+
since: v3.0
|
|
688
|
+
category: tool-slash-cmd
|
|
689
|
+
description: 发版 / 创建 PR / deploy (用户 explicit 触发)
|
|
690
|
+
fires_when:
|
|
691
|
+
- user.explicit_signal includes 'ship'
|
|
692
|
+
- user.explicit_signal includes 'send it'
|
|
693
|
+
|
|
694
|
+
land-and-deploy:
|
|
695
|
+
impl: gstack
|
|
696
|
+
cmd: /land-and-deploy
|
|
697
|
+
since: v3.0
|
|
698
|
+
category: tool-slash-cmd
|
|
699
|
+
description: merge + deploy + verify 串联
|
|
700
|
+
fires_when:
|
|
701
|
+
- phase.stage == 'verify' AND phase.is_release_candidate == true
|
|
702
|
+
|
|
703
|
+
setup-deploy:
|
|
704
|
+
impl: gstack
|
|
705
|
+
cmd: /setup-deploy
|
|
706
|
+
since: v3.0
|
|
707
|
+
category: tool-slash-cmd
|
|
708
|
+
description: 配置 deployment (新项目 deploy infra setup)
|
|
709
|
+
fires_when:
|
|
710
|
+
- phase.type == 'new_project' AND phase.needs_deploy_config == true
|
|
711
|
+
|
|
712
|
+
setup-gbrain:
|
|
713
|
+
impl: gstack
|
|
714
|
+
cmd: /setup-gbrain
|
|
715
|
+
since: v3.0
|
|
716
|
+
category: tool-slash-cmd
|
|
717
|
+
description: 配置 gbrain 项目上下文 (gstack 项目知识库)
|
|
718
|
+
fires_when:
|
|
719
|
+
- phase.type == 'new_project' AND phase.needs_gbrain == true
|
|
720
|
+
|
|
721
|
+
canary:
|
|
722
|
+
impl: gstack
|
|
723
|
+
cmd: /canary
|
|
724
|
+
since: v3.0
|
|
725
|
+
category: tool-slash-cmd
|
|
726
|
+
description: post-deploy canary monitor / 错误率监控
|
|
727
|
+
fires_when:
|
|
728
|
+
- phase.stage == 'verify' AND phase.post_deploy_monitor == true
|
|
729
|
+
|
|
730
|
+
document-release:
|
|
731
|
+
impl: gstack
|
|
732
|
+
cmd: /document-release
|
|
733
|
+
since: v3.0
|
|
734
|
+
category: tool-slash-cmd
|
|
735
|
+
description: 发版后更新文档 (changelog / release notes)
|
|
736
|
+
fires_when:
|
|
737
|
+
- phase.is_release_candidate == true AND phase.needs_doc_update == true
|
|
738
|
+
|
|
739
|
+
document-generate:
|
|
740
|
+
impl: gstack
|
|
741
|
+
cmd: /document-generate
|
|
742
|
+
since: v3.0
|
|
743
|
+
category: tool-slash-cmd
|
|
744
|
+
description: 生成文档 (PDF / 报告)
|
|
745
|
+
fires_when:
|
|
746
|
+
- subtask.needs_pdf_doc == true
|
|
747
|
+
|
|
748
|
+
careful:
|
|
749
|
+
impl: gstack
|
|
750
|
+
cmd: /careful
|
|
751
|
+
since: v3.0
|
|
752
|
+
category: tool-slash-cmd
|
|
753
|
+
description: safety mode / 谨慎模式 (限制高风险操作)
|
|
754
|
+
fires_when:
|
|
755
|
+
- user.explicit_signal includes 'careful'
|
|
756
|
+
- user.explicit_signal includes 'guard mode'
|
|
757
|
+
|
|
758
|
+
guard:
|
|
759
|
+
impl: gstack
|
|
760
|
+
cmd: /guard
|
|
761
|
+
since: v3.0
|
|
762
|
+
category: tool-slash-cmd
|
|
763
|
+
description: guard mode (alias of careful, 限制 destructive ops)
|
|
764
|
+
fires_when:
|
|
765
|
+
- user.explicit_signal includes 'guard'
|
|
766
|
+
|
|
767
|
+
freeze:
|
|
768
|
+
impl: gstack
|
|
769
|
+
cmd: /freeze
|
|
770
|
+
since: v3.0
|
|
771
|
+
category: tool-slash-cmd
|
|
772
|
+
description: 限制编辑到特定目录 (防误改其他模块)
|
|
773
|
+
fires_when:
|
|
774
|
+
- user.explicit_signal includes 'freeze'
|
|
775
|
+
|
|
776
|
+
unfreeze:
|
|
777
|
+
impl: gstack
|
|
778
|
+
cmd: /unfreeze
|
|
779
|
+
since: v3.0
|
|
780
|
+
category: tool-slash-cmd
|
|
781
|
+
description: 解除 freeze 限制
|
|
782
|
+
fires_when:
|
|
783
|
+
- user.explicit_signal includes 'unfreeze'
|
|
784
|
+
|
|
785
|
+
gstack-upgrade:
|
|
786
|
+
impl: gstack
|
|
787
|
+
cmd: /gstack-upgrade
|
|
788
|
+
since: v3.0
|
|
789
|
+
category: tool-slash-cmd
|
|
790
|
+
description: 升级 gstack 自身 (carrier name 自带 gstack 字符串, NOT prefix policy)
|
|
791
|
+
fires_when:
|
|
792
|
+
- user.explicit_signal includes 'upgrade gstack'
|
|
793
|
+
|
|
794
|
+
learn:
|
|
795
|
+
impl: gstack
|
|
796
|
+
cmd: /learn
|
|
797
|
+
since: v3.0
|
|
798
|
+
category: tool-slash-cmd
|
|
799
|
+
description: 复盘 gstack 已学习到的项目 patterns
|
|
800
|
+
fires_when:
|
|
801
|
+
- user.explicit_signal includes 'what has gstack learned'
|
|
802
|
+
|
|
803
|
+
health:
|
|
804
|
+
impl: gstack
|
|
805
|
+
cmd: /health
|
|
806
|
+
since: v3.0
|
|
807
|
+
category: tool-slash-cmd
|
|
808
|
+
description: 项目健康检查 (gstack 整体诊断)
|
|
809
|
+
fires_when:
|
|
810
|
+
- user.explicit_signal includes 'health check'
|
|
811
|
+
|
|
812
|
+
make-pdf:
|
|
813
|
+
impl: gstack
|
|
814
|
+
cmd: /make-pdf
|
|
815
|
+
since: v3.0
|
|
816
|
+
category: tool-slash-cmd
|
|
817
|
+
description: 生成 PDF (文档 / 报告导出)
|
|
818
|
+
fires_when:
|
|
819
|
+
- subtask.needs_pdf_export == true
|
|
820
|
+
|
|
821
|
+
# 2 alias suffix `-gstack` (避免命名冲突 per Pattern A E.2)
|
|
822
|
+
retro-gstack:
|
|
823
|
+
impl: gstack
|
|
824
|
+
cmd: /retro
|
|
825
|
+
since: v3.0
|
|
826
|
+
category: tool-slash-cmd
|
|
827
|
+
description: gstack 复盘 (alias to harnessed standalone /retro, 解决 namespace 冲突)
|
|
828
|
+
aliases:
|
|
829
|
+
- { impl: harnessed-bundled, cmd: /retro }
|
|
830
|
+
fires_when:
|
|
831
|
+
- phase.is_milestone_close == true
|
|
832
|
+
|
|
833
|
+
investigate-gstack:
|
|
834
|
+
impl: gstack
|
|
835
|
+
cmd: /investigate
|
|
836
|
+
since: v3.0
|
|
837
|
+
category: tool-slash-cmd
|
|
838
|
+
description: gstack bug investigation (alias to mattpocock investigate, 解决 namespace 冲突)
|
|
839
|
+
aliases:
|
|
840
|
+
- { impl: mattpocock-skills, cmd: /investigate }
|
|
841
|
+
fires_when:
|
|
842
|
+
- subtask.bug_root_cause_unknown == true
|
|
843
|
+
|
|
844
|
+
# ============================================================================
|
|
845
|
+
# Bucket 8 — Supplementary v3 NEW (2 entry)
|
|
846
|
+
# ============================================================================
|
|
847
|
+
|
|
848
|
+
# K2 mitigation: parallelism-gate.yaml v2 SHIPPED 已 ref 但 capabilities.yaml v2 缺该 entry → v3 backfill 补
|
|
849
|
+
superpowers-subagent-driven-development:
|
|
850
|
+
impl: superpowers
|
|
851
|
+
cmd: "superpowers:subagent-driven-development"
|
|
852
|
+
since: v3.0
|
|
853
|
+
category: tool-slash-cmd
|
|
854
|
+
description: subagent 编排 (sister parallelism-gate.yaml v2 invokes 已 ref, v3 backfill K2)
|
|
855
|
+
fires_when:
|
|
856
|
+
- subtask.parallel_count <= 3
|
|
857
|
+
- subtask.communication_needed == false
|
|
858
|
+
|
|
859
|
+
# D-11 NEW google-workspace.yaml (gws CLI per ~/.claude/rules/google-workspace.md)
|
|
860
|
+
gws:
|
|
861
|
+
impl: cli
|
|
862
|
+
cmd: gws
|
|
863
|
+
since: v3.0
|
|
864
|
+
category: tool-cli
|
|
865
|
+
description: Google Workspace CLI (Gmail/Drive/Calendar/Sheets/Docs/Slides/Tasks/People/Chat/Forms/Keep/Meet/Classroom/Admin Reports)
|
|
866
|
+
fires_when:
|
|
867
|
+
- subtask.needs_google_workspace == true
|
|
868
|
+
|
|
869
|
+
# ============================================================================
|
|
870
|
+
# Bucket 9 — gsd-research-phase v3 NEW (W2 SHIPPED per CONTEXT D-08 + D-12)
|
|
871
|
+
# ============================================================================
|
|
872
|
+
|
|
873
|
+
gsd-research-phase:
|
|
874
|
+
impl: gsd
|
|
875
|
+
cmd: /gsd-research-phase
|
|
876
|
+
since: v3.0
|
|
877
|
+
category: tool-slash-cmd
|
|
878
|
+
description: GSD research-phase (Wave A 多 source 调研, sister D-08 cite Phase v3 W2 SHIPPED)
|
|
879
|
+
fires_when:
|
|
880
|
+
- phase.stage == 'research'
|
|
881
|
+
- phase.requires_multi_source_research == true
|