claude-code-workflow 6.3.48 → 6.3.49
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/.claude/CLAUDE.md +6 -8
- package/.claude/agents/action-planning-agent.md +28 -45
- package/.claude/agents/cli-lite-planning-agent.md +93 -1
- package/.claude/agents/code-developer.md +144 -27
- package/.claude/commands/ccw-coordinator.md +175 -21
- package/.claude/commands/ccw-debug.md +832 -0
- package/.claude/commands/ccw.md +90 -9
- package/.claude/commands/cli/cli-init.md +1 -0
- package/.claude/commands/issue/convert-to-plan.md +718 -0
- package/.claude/commands/issue/from-brainstorm.md +382 -0
- package/.claude/commands/memory/tips.md +332 -0
- package/.claude/commands/workflow/analyze-with-file.md +804 -0
- package/.claude/commands/workflow/brainstorm/auto-parallel.md +18 -43
- package/.claude/commands/workflow/brainstorm/role-analysis.md +705 -0
- package/.claude/commands/workflow/brainstorm-with-file.md +1153 -0
- package/.claude/commands/workflow/debug-with-file.md +7 -5
- package/.claude/commands/workflow/execute.md +6 -4
- package/.claude/commands/workflow/lite-plan.md +2 -2
- package/.claude/commands/workflow/plan-verify.md +162 -327
- package/.claude/commands/workflow/plan.md +162 -26
- package/.claude/commands/workflow/replan.md +78 -2
- package/.claude/commands/workflow/{review-fix.md → review-cycle-fix.md} +6 -6
- package/.claude/commands/workflow/review-module-cycle.md +2 -2
- package/.claude/commands/workflow/review-session-cycle.md +2 -2
- package/.claude/commands/workflow/tools/conflict-resolution.md +16 -26
- package/.claude/commands/workflow/tools/context-gather.md +81 -118
- package/.claude/commands/workflow/tools/task-generate-agent.md +94 -10
- package/.claude/skills/ccw-help/command.json +4 -4
- package/.claude/skills/lite-skill-generator/SKILL.md +650 -0
- package/.claude/skills/lite-skill-generator/templates/simple-skill.md +68 -0
- package/.claude/skills/lite-skill-generator/templates/style-guide.md +64 -0
- package/.claude/skills/skill-generator/SKILL.md +277 -85
- package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +4 -15
- package/.claude/skills/skill-generator/phases/02-structure-generation.md +72 -17
- package/.claude/skills/skill-generator/phases/03-phase-generation.md +218 -51
- package/.claude/skills/skill-generator/phases/04-specs-templates.md +111 -41
- package/.claude/skills/skill-generator/phases/05-validation.md +139 -56
- package/.claude/skills/skill-generator/templates/autonomous-action.md +78 -268
- package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +14 -0
- package/.claude/skills/skill-generator/templates/code-analysis-action.md +12 -0
- package/.claude/skills/skill-generator/templates/llm-action.md +12 -0
- package/.claude/skills/skill-generator/templates/script-template.md +368 -0
- package/.claude/skills/skill-generator/templates/sequential-phase.md +14 -0
- package/.claude/skills/skill-generator/templates/skill-md.md +14 -0
- package/.claude/skills/skill-tuning/SKILL.md +130 -266
- package/.claude/skills/skill-tuning/phases/orchestrator.md +95 -283
- package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +90 -198
- package/.claude/skills/skill-tuning/specs/tuning-strategies.md +193 -1345
- package/.claude/workflows/cli-templates/schemas/plan-verify-agent-schema.json +47 -0
- package/.claude/workflows/cli-templates/schemas/verify-json-schema.json +158 -0
- package/.claude/workflows/cli-tools-usage.md +1 -1
- package/.codex/AGENTS.md +1 -3
- package/.codex/prompts/analyze-with-file.md +607 -0
- package/.codex/prompts/brainstorm-to-cycle.md +455 -0
- package/.codex/prompts/brainstorm-with-file.md +933 -0
- package/.codex/prompts/debug-with-file.md +15 -20
- package/.codex/skills/ccw-cli-tools/SKILL.md +559 -0
- package/ccw/dist/commands/cli.d.ts.map +1 -1
- package/ccw/dist/commands/cli.js +29 -5
- package/ccw/dist/commands/cli.js.map +1 -1
- package/ccw/dist/commands/issue.d.ts +2 -0
- package/ccw/dist/commands/issue.d.ts.map +1 -1
- package/ccw/dist/commands/issue.js +62 -20
- package/ccw/dist/commands/issue.js.map +1 -1
- package/ccw/dist/config/litellm-api-config-manager.d.ts.map +1 -1
- package/ccw/dist/config/litellm-api-config-manager.js +5 -3
- package/ccw/dist/config/litellm-api-config-manager.js.map +1 -1
- package/ccw/dist/config/litellm-provider-models.d.ts +73 -0
- package/ccw/dist/config/litellm-provider-models.d.ts.map +1 -0
- package/ccw/dist/config/litellm-provider-models.js +172 -0
- package/ccw/dist/config/litellm-provider-models.js.map +1 -0
- package/ccw/dist/config/provider-models.d.ts +25 -51
- package/ccw/dist/config/provider-models.d.ts.map +1 -1
- package/ccw/dist/config/provider-models.js +84 -149
- package/ccw/dist/config/provider-models.js.map +1 -1
- package/ccw/dist/config/storage-paths.d.ts.map +1 -1
- package/ccw/dist/config/storage-paths.js +23 -5
- package/ccw/dist/config/storage-paths.js.map +1 -1
- package/ccw/dist/core/auth/csrf-middleware.js +3 -3
- package/ccw/dist/core/auth/csrf-middleware.js.map +1 -1
- package/ccw/dist/core/dashboard-generator.d.ts.map +1 -1
- package/ccw/dist/core/dashboard-generator.js +3 -1
- package/ccw/dist/core/dashboard-generator.js.map +1 -1
- package/ccw/dist/core/routes/claude-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/claude-routes.js +206 -14
- package/ccw/dist/core/routes/claude-routes.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/core/routes/commands-routes.d.ts +7 -0
- package/ccw/dist/core/routes/commands-routes.d.ts.map +1 -0
- package/ccw/dist/core/routes/commands-routes.js +480 -0
- package/ccw/dist/core/routes/commands-routes.js.map +1 -0
- package/ccw/dist/core/routes/model-routes.d.ts +11 -0
- package/ccw/dist/core/routes/model-routes.d.ts.map +1 -0
- package/ccw/dist/core/routes/model-routes.js +112 -0
- package/ccw/dist/core/routes/model-routes.js.map +1 -0
- package/ccw/dist/core/routes/nav-status-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/nav-status-routes.js +84 -1
- package/ccw/dist/core/routes/nav-status-routes.js.map +1 -1
- package/ccw/dist/core/routes/provider-routes.d.ts +11 -0
- package/ccw/dist/core/routes/provider-routes.d.ts.map +1 -0
- package/ccw/dist/core/routes/provider-routes.js +67 -0
- package/ccw/dist/core/routes/provider-routes.js.map +1 -0
- package/ccw/dist/core/routes/skills-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/skills-routes.js +219 -7
- package/ccw/dist/core/routes/skills-routes.js.map +1 -1
- package/ccw/dist/core/routes/system-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/system-routes.js +58 -6
- package/ccw/dist/core/routes/system-routes.js.map +1 -1
- package/ccw/dist/core/server.d.ts.map +1 -1
- package/ccw/dist/core/server.js +13 -0
- package/ccw/dist/core/server.js.map +1 -1
- package/ccw/dist/mcp-server/index.js +2 -2
- package/ccw/dist/mcp-server/index.js.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.d.ts +48 -11
- package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.js +146 -50
- package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
- package/ccw/dist/tools/cli-config-manager.d.ts +1 -13
- package/ccw/dist/tools/cli-config-manager.d.ts.map +1 -1
- package/ccw/dist/tools/cli-config-manager.js +3 -27
- package/ccw/dist/tools/cli-config-manager.js.map +1 -1
- package/ccw/dist/tools/cli-executor-core.d.ts.map +1 -1
- package/ccw/dist/tools/cli-executor-core.js +7 -2
- package/ccw/dist/tools/cli-executor-core.js.map +1 -1
- package/ccw/dist/tools/cli-executor-state.d.ts.map +1 -1
- package/ccw/dist/tools/cli-history-store.d.ts +11 -0
- package/ccw/dist/tools/cli-history-store.d.ts.map +1 -1
- package/ccw/dist/tools/cli-history-store.js +82 -2
- package/ccw/dist/tools/cli-history-store.js.map +1 -1
- package/ccw/dist/tools/command-registry.d.ts +7 -0
- package/ccw/dist/tools/command-registry.d.ts.map +1 -1
- package/ccw/dist/tools/command-registry.js +14 -1
- package/ccw/dist/tools/command-registry.js.map +1 -1
- package/ccw/dist/tools/generate-module-docs.d.ts.map +1 -1
- package/ccw/dist/tools/generate-module-docs.js +11 -7
- package/ccw/dist/tools/generate-module-docs.js.map +1 -1
- package/ccw/dist/tools/litellm-executor.d.ts +1 -0
- package/ccw/dist/tools/litellm-executor.d.ts.map +1 -1
- package/ccw/dist/tools/litellm-executor.js +11 -9
- package/ccw/dist/tools/litellm-executor.js.map +1 -1
- package/ccw/dist/types/skill-types.d.ts +97 -0
- package/ccw/dist/types/skill-types.d.ts.map +1 -0
- package/ccw/dist/types/skill-types.js +6 -0
- package/ccw/dist/types/skill-types.js.map +1 -0
- package/ccw/src/commands/cli.ts +36 -5
- package/ccw/src/commands/issue.ts +81 -26
- package/ccw/src/config/litellm-api-config-manager.ts +5 -3
- package/ccw/src/config/litellm-provider-models.ts +222 -0
- package/ccw/src/config/provider-models.ts +91 -190
- package/ccw/src/config/storage-paths.ts +20 -5
- package/ccw/src/core/auth/csrf-middleware.ts +3 -3
- package/ccw/src/core/dashboard-generator.ts +3 -1
- package/ccw/src/core/routes/claude-routes.ts +233 -15
- package/ccw/src/core/routes/cli-routes.ts +2 -3
- package/ccw/src/core/routes/commands-routes.ts +620 -0
- package/ccw/src/core/routes/nav-status-routes.ts +95 -1
- package/ccw/src/core/routes/provider-routes.ts +78 -0
- package/ccw/src/core/routes/skills-routes.ts +266 -45
- package/ccw/src/core/routes/system-routes.ts +102 -50
- package/ccw/src/core/server.ts +13 -0
- package/ccw/src/mcp-server/index.ts +2 -2
- package/ccw/src/templates/dashboard-css/18-cli-settings.css +35 -0
- package/ccw/src/templates/dashboard-css/37-commands.css +193 -0
- package/ccw/src/templates/dashboard-js/components/navigation.js +4 -0
- package/ccw/src/templates/dashboard-js/i18n.js +116 -0
- package/ccw/src/templates/dashboard-js/views/cli-manager.js +249 -4
- package/ccw/src/templates/dashboard-js/views/commands-manager.js +503 -0
- package/ccw/src/templates/dashboard-js/views/issue-manager.js +7 -7
- package/ccw/src/templates/dashboard-js/views/mcp-manager.js +2 -7
- package/ccw/src/templates/dashboard-js/views/skills-manager.js +164 -23
- package/ccw/src/templates/dashboard.html +7 -0
- package/ccw/src/tools/claude-cli-tools.ts +170 -56
- package/ccw/src/tools/cli-config-manager.ts +2 -33
- package/ccw/src/tools/cli-executor-core.ts +8 -2
- package/ccw/src/tools/cli-history-store.ts +92 -2
- package/ccw/src/tools/command-registry.ts +16 -1
- package/ccw/src/tools/generate-module-docs.ts +11 -7
- package/ccw/src/tools/litellm-executor.ts +13 -9
- package/ccw/src/types/skill-types.ts +99 -0
- package/package.json +1 -1
- package/.claude/commands/enhance-prompt.md +0 -93
- package/.claude/commands/memory/code-map-memory.md +0 -687
- package/.claude/commands/memory/docs.md +0 -615
- package/.claude/commands/memory/load-skill-memory.md +0 -182
- package/.claude/commands/memory/skill-memory.md +0 -525
- package/.claude/commands/memory/swagger-docs.md +0 -773
- package/.claude/commands/memory/tech-research-rules.md +0 -310
- package/.claude/commands/memory/workflow-skill-memory.md +0 -517
- package/.claude/commands/task/breakdown.md +0 -208
- package/.claude/commands/task/create.md +0 -152
- package/.claude/commands/task/execute.md +0 -270
- package/.claude/commands/task/replan.md +0 -441
- package/.claude/commands/version.md +0 -254
- package/.claude/commands/workflow/action-plan-verify.md +0 -485
- package/.claude/commands/workflow/brainstorm/api-designer.md +0 -587
- package/.claude/commands/workflow/brainstorm/data-architect.md +0 -220
- package/.claude/commands/workflow/brainstorm/product-manager.md +0 -200
- package/.claude/commands/workflow/brainstorm/product-owner.md +0 -200
- package/.claude/commands/workflow/brainstorm/scrum-master.md +0 -200
- package/.claude/commands/workflow/brainstorm/subject-matter-expert.md +0 -200
- package/.claude/commands/workflow/brainstorm/system-architect.md +0 -389
- package/.claude/commands/workflow/brainstorm/ui-designer.md +0 -221
- package/.claude/commands/workflow/brainstorm/ux-expert.md +0 -221
- package/.claude/commands/workflow/debug.md +0 -331
- package/.claude/commands/workflow/develop-with-file.md +0 -1044
- package/.claude/skills/ccw-loop/README.md +0 -303
- package/.claude/skills/skill-generator/templates/script-bash.md +0 -277
- package/.claude/skills/skill-generator/templates/script-python.md +0 -198
- package/.codex/prompts/debug.md +0 -318
- package/ccw/src/core/routes/mcp-routes.ts.backup +0 -549
package/.claude/commands/ccw.md
CHANGED
|
@@ -24,7 +24,7 @@ Main process orchestrator: intent analysis → workflow selection → command ch
|
|
|
24
24
|
|-----------|---------|---------|
|
|
25
25
|
| **Planning + Execution** | plan-cmd → execute-cmd | lite-plan → lite-execute |
|
|
26
26
|
| **Testing** | test-gen-cmd → test-exec-cmd | test-fix-gen → test-cycle-execute |
|
|
27
|
-
| **Review** | review-cmd → fix-cmd | review-session-cycle → review-fix |
|
|
27
|
+
| **Review** | review-cmd → fix-cmd | review-session-cycle → review-cycle-fix |
|
|
28
28
|
|
|
29
29
|
**Atomic Rules**:
|
|
30
30
|
1. CCW automatically groups commands into minimum units - never splits them
|
|
@@ -67,10 +67,16 @@ function analyzeIntent(input) {
|
|
|
67
67
|
function detectTaskType(text) {
|
|
68
68
|
const patterns = {
|
|
69
69
|
'bugfix-hotfix': /urgent|production|critical/ && /fix|bug/,
|
|
70
|
+
// With-File workflows (documented exploration with multi-CLI collaboration)
|
|
71
|
+
'brainstorm': /brainstorm|ideation|头脑风暴|创意|发散思维|creative thinking|multi-perspective.*think|compare perspectives|探索.*可能/,
|
|
72
|
+
'brainstorm-to-issue': /brainstorm.*issue|头脑风暴.*issue|idea.*issue|想法.*issue|从.*头脑风暴|convert.*brainstorm/,
|
|
73
|
+
'debug-file': /debug.*document|hypothesis.*debug|troubleshoot.*track|investigate.*log|调试.*记录|假设.*验证|systematic debug|深度调试/,
|
|
74
|
+
'analyze-file': /analyze.*document|explore.*concept|understand.*architecture|investigate.*discuss|collaborative analysis|分析.*讨论|深度.*理解|协作.*分析/,
|
|
75
|
+
// Standard workflows
|
|
70
76
|
'bugfix': /fix|bug|error|crash|fail|debug/,
|
|
71
77
|
'issue-batch': /issues?|batch/ && /fix|resolve/,
|
|
78
|
+
'issue-transition': /issue workflow|structured workflow|queue|multi-stage/,
|
|
72
79
|
'exploration': /uncertain|explore|research|what if/,
|
|
73
|
-
'multi-perspective': /multi-perspective|compare|cross-verify/,
|
|
74
80
|
'quick-task': /quick|simple|small/ && /feature|function/,
|
|
75
81
|
'ui-design': /ui|design|component|style/,
|
|
76
82
|
'tdd': /tdd|test-driven|test first/,
|
|
@@ -111,14 +117,21 @@ async function clarifyRequirements(analysis) {
|
|
|
111
117
|
function selectWorkflow(analysis) {
|
|
112
118
|
const levelMap = {
|
|
113
119
|
'bugfix-hotfix': { level: 2, flow: 'bugfix.hotfix' },
|
|
120
|
+
// With-File workflows (documented exploration with multi-CLI collaboration)
|
|
121
|
+
'brainstorm': { level: 4, flow: 'brainstorm-with-file' }, // Multi-perspective ideation
|
|
122
|
+
'brainstorm-to-issue': { level: 4, flow: 'brainstorm-to-issue' }, // Brainstorm → Issue workflow
|
|
123
|
+
'debug-file': { level: 3, flow: 'debug-with-file' }, // Hypothesis-driven debugging
|
|
124
|
+
'analyze-file': { level: 3, flow: 'analyze-with-file' }, // Collaborative analysis
|
|
125
|
+
// Standard workflows
|
|
114
126
|
'bugfix': { level: 2, flow: 'bugfix.standard' },
|
|
115
127
|
'issue-batch': { level: 'Issue', flow: 'issue' },
|
|
128
|
+
'issue-transition': { level: 2.5, flow: 'rapid-to-issue' }, // Bridge workflow
|
|
116
129
|
'exploration': { level: 4, flow: 'full' },
|
|
117
130
|
'quick-task': { level: 1, flow: 'lite-lite-lite' },
|
|
118
131
|
'ui-design': { level: analysis.complexity === 'high' ? 4 : 3, flow: 'ui' },
|
|
119
132
|
'tdd': { level: 3, flow: 'tdd' },
|
|
120
133
|
'test-fix': { level: 3, flow: 'test-fix-gen' },
|
|
121
|
-
'review': { level: 3, flow: 'review-fix' },
|
|
134
|
+
'review': { level: 3, flow: 'review-cycle-fix' },
|
|
122
135
|
'documentation': { level: 2, flow: 'docs' },
|
|
123
136
|
'feature': { level: analysis.complexity === 'high' ? 3 : 2, flow: analysis.complexity === 'high' ? 'coupled' : 'rapid' }
|
|
124
137
|
};
|
|
@@ -147,6 +160,16 @@ function buildCommandChain(workflow, analysis) {
|
|
|
147
160
|
])
|
|
148
161
|
],
|
|
149
162
|
|
|
163
|
+
// Level 2 Bridge - Lightweight to Issue Workflow
|
|
164
|
+
'rapid-to-issue': [
|
|
165
|
+
// Unit: Quick Implementation【lite-plan → convert-to-plan】
|
|
166
|
+
{ cmd: '/workflow:lite-plan', args: `"${analysis.goal}"`, unit: 'quick-impl-to-issue' },
|
|
167
|
+
{ cmd: '/issue:convert-to-plan', args: '--latest-lite-plan -y', unit: 'quick-impl-to-issue' },
|
|
168
|
+
// Auto-continue to issue workflow
|
|
169
|
+
{ cmd: '/issue:queue', args: '' },
|
|
170
|
+
{ cmd: '/issue:execute', args: '--queue auto' }
|
|
171
|
+
],
|
|
172
|
+
|
|
150
173
|
'bugfix.standard': [
|
|
151
174
|
// Unit: Bug Fix【lite-fix → lite-execute】
|
|
152
175
|
{ cmd: '/workflow:lite-fix', args: `"${analysis.goal}"`, unit: 'bug-fix' },
|
|
@@ -179,6 +202,30 @@ function buildCommandChain(workflow, analysis) {
|
|
|
179
202
|
{ cmd: '/workflow:lite-execute', args: '--in-memory', unit: 'quick-impl' }
|
|
180
203
|
],
|
|
181
204
|
|
|
205
|
+
// With-File workflows (documented exploration with multi-CLI collaboration)
|
|
206
|
+
'brainstorm-with-file': [
|
|
207
|
+
{ cmd: '/workflow:brainstorm-with-file', args: `"${analysis.goal}"` }
|
|
208
|
+
// Note: Has built-in post-completion options (create plan, create issue, deep analysis)
|
|
209
|
+
],
|
|
210
|
+
|
|
211
|
+
// Brainstorm-to-Issue workflow (bridge from brainstorm to issue execution)
|
|
212
|
+
'brainstorm-to-issue': [
|
|
213
|
+
// Note: Assumes brainstorm session already exists, or run brainstorm first
|
|
214
|
+
{ cmd: '/issue:from-brainstorm', args: `SESSION="${extractBrainstormSession(analysis)}" --auto` },
|
|
215
|
+
{ cmd: '/issue:queue', args: '' },
|
|
216
|
+
{ cmd: '/issue:execute', args: '--queue auto' }
|
|
217
|
+
],
|
|
218
|
+
|
|
219
|
+
'debug-with-file': [
|
|
220
|
+
{ cmd: '/workflow:debug-with-file', args: `"${analysis.goal}"` }
|
|
221
|
+
// Note: Self-contained with hypothesis-driven iteration and Gemini validation
|
|
222
|
+
],
|
|
223
|
+
|
|
224
|
+
'analyze-with-file': [
|
|
225
|
+
{ cmd: '/workflow:analyze-with-file', args: `"${analysis.goal}"` }
|
|
226
|
+
// Note: Self-contained with multi-round discussion and CLI exploration
|
|
227
|
+
],
|
|
228
|
+
|
|
182
229
|
// Level 3 - Standard
|
|
183
230
|
'coupled': [
|
|
184
231
|
// Unit: Verified Planning【plan → plan-verify】
|
|
@@ -186,9 +233,9 @@ function buildCommandChain(workflow, analysis) {
|
|
|
186
233
|
{ cmd: '/workflow:plan-verify', args: '', unit: 'verified-planning' },
|
|
187
234
|
// Execution
|
|
188
235
|
{ cmd: '/workflow:execute', args: '' },
|
|
189
|
-
// Unit: Code Review【review-session-cycle → review-fix】
|
|
236
|
+
// Unit: Code Review【review-session-cycle → review-cycle-fix】
|
|
190
237
|
{ cmd: '/workflow:review-session-cycle', args: '', unit: 'code-review' },
|
|
191
|
-
{ cmd: '/workflow:review-fix', args: '', unit: 'code-review' },
|
|
238
|
+
{ cmd: '/workflow:review-cycle-fix', args: '', unit: 'code-review' },
|
|
192
239
|
// Unit: Test Validation【test-fix-gen → test-cycle-execute】
|
|
193
240
|
...(analysis.constraints?.includes('skip-tests') ? [] : [
|
|
194
241
|
{ cmd: '/workflow:test-fix-gen', args: '', unit: 'test-validation' },
|
|
@@ -210,10 +257,10 @@ function buildCommandChain(workflow, analysis) {
|
|
|
210
257
|
{ cmd: '/workflow:test-cycle-execute', args: '', unit: 'test-validation' }
|
|
211
258
|
],
|
|
212
259
|
|
|
213
|
-
'review-fix': [
|
|
214
|
-
// Unit: Code Review【review-session-cycle → review-fix】
|
|
260
|
+
'review-cycle-fix': [
|
|
261
|
+
// Unit: Code Review【review-session-cycle → review-cycle-fix】
|
|
215
262
|
{ cmd: '/workflow:review-session-cycle', args: '', unit: 'code-review' },
|
|
216
|
-
{ cmd: '/workflow:review-fix', args: '', unit: 'code-review' },
|
|
263
|
+
{ cmd: '/workflow:review-cycle-fix', args: '', unit: 'code-review' },
|
|
217
264
|
// Unit: Test Validation【test-fix-gen → test-cycle-execute】
|
|
218
265
|
{ cmd: '/workflow:test-fix-gen', args: '', unit: 'test-validation' },
|
|
219
266
|
{ cmd: '/workflow:test-cycle-execute', args: '', unit: 'test-validation' }
|
|
@@ -409,7 +456,12 @@ Phase 5: Execute Command Chain
|
|
|
409
456
|
|-------|------|-------|-----------------------|
|
|
410
457
|
| "Add API endpoint" | feature (low) | 2 |【lite-plan → lite-execute】→【test-fix-gen → test-cycle-execute】|
|
|
411
458
|
| "Fix login timeout" | bugfix | 2 |【lite-fix → lite-execute】→【test-fix-gen → test-cycle-execute】|
|
|
412
|
-
| "
|
|
459
|
+
| "Use issue workflow" | issue-transition | 2.5 |【lite-plan → convert-to-plan】→ queue → execute |
|
|
460
|
+
| "头脑风暴: 通知系统重构" | brainstorm | 4 | brainstorm-with-file → (built-in post-completion) |
|
|
461
|
+
| "从头脑风暴创建 issue" | brainstorm-to-issue | 4 | from-brainstorm → queue → execute |
|
|
462
|
+
| "深度调试 WebSocket 连接断开" | debug-file | 3 | debug-with-file → (hypothesis iteration) |
|
|
463
|
+
| "协作分析: 认证架构优化" | analyze-file | 3 | analyze-with-file → (multi-round discussion) |
|
|
464
|
+
| "OAuth2 system" | feature (high) | 3 |【plan → plan-verify】→ execute →【review-session-cycle → review-cycle-fix】→【test-fix-gen → test-cycle-execute】|
|
|
413
465
|
| "Implement with TDD" | tdd | 3 |【tdd-plan → execute】→ tdd-verify |
|
|
414
466
|
| "Uncertain: real-time arch" | exploration | 4 | brainstorm:auto-parallel →【plan → plan-verify】→ execute →【test-fix-gen → test-cycle-execute】|
|
|
415
467
|
|
|
@@ -452,6 +504,29 @@ todos = [
|
|
|
452
504
|
|
|
453
505
|
---
|
|
454
506
|
|
|
507
|
+
## With-File Workflows
|
|
508
|
+
|
|
509
|
+
**With-File workflows** provide documented exploration with multi-CLI collaboration. They are self-contained and generate comprehensive session artifacts.
|
|
510
|
+
|
|
511
|
+
| Workflow | Purpose | Key Features | Output Folder |
|
|
512
|
+
|----------|---------|--------------|---------------|
|
|
513
|
+
| **brainstorm-with-file** | Multi-perspective ideation | Gemini/Codex/Claude perspectives, diverge-converge cycles | `.workflow/.brainstorm/` |
|
|
514
|
+
| **debug-with-file** | Hypothesis-driven debugging | Gemini validation, understanding evolution, NDJSON logging | `.workflow/.debug/` |
|
|
515
|
+
| **analyze-with-file** | Collaborative analysis | Multi-round Q&A, CLI exploration, documented discussions | `.workflow/.analysis/` |
|
|
516
|
+
|
|
517
|
+
**Detection Keywords**:
|
|
518
|
+
- **brainstorm**: 头脑风暴, 创意, 发散思维, multi-perspective, compare perspectives
|
|
519
|
+
- **debug-file**: 深度调试, 假设验证, systematic debug, hypothesis debug
|
|
520
|
+
- **analyze-file**: 协作分析, 深度理解, collaborative analysis, explore concept
|
|
521
|
+
|
|
522
|
+
**Characteristics**:
|
|
523
|
+
1. **Self-Contained**: Each workflow handles its own iteration loop
|
|
524
|
+
2. **Documented Process**: Creates evolving documents (brainstorm.md, understanding.md, discussion.md)
|
|
525
|
+
3. **Multi-CLI**: Uses Gemini/Codex/Claude for different perspectives
|
|
526
|
+
4. **Built-in Post-Completion**: Offers follow-up options (create plan, issue, etc.)
|
|
527
|
+
|
|
528
|
+
---
|
|
529
|
+
|
|
455
530
|
## Type Comparison: ccw vs ccw-coordinator
|
|
456
531
|
|
|
457
532
|
| Aspect | ccw | ccw-coordinator |
|
|
@@ -483,4 +558,10 @@ ccw "Implement user registration with TDD"
|
|
|
483
558
|
|
|
484
559
|
# Exploratory task
|
|
485
560
|
ccw "Uncertain about architecture for real-time notifications"
|
|
561
|
+
|
|
562
|
+
# With-File workflows (documented exploration with multi-CLI collaboration)
|
|
563
|
+
ccw "头脑风暴: 用户通知系统重新设计" # → brainstorm-with-file
|
|
564
|
+
ccw "从头脑风暴 BS-通知系统-2025-01-28 创建 issue" # → brainstorm-to-issue (bridge)
|
|
565
|
+
ccw "深度调试: 系统随机崩溃问题" # → debug-with-file
|
|
566
|
+
ccw "协作分析: 理解现有认证架构的设计决策" # → analyze-with-file
|
|
486
567
|
```
|
|
@@ -3,6 +3,7 @@ name: cli-init
|
|
|
3
3
|
description: Generate .gemini/ and .qwen/ config directories with settings.json and ignore files based on workspace technology detection
|
|
4
4
|
argument-hint: "[--tool gemini|qwen|all] [--output path] [--preview]"
|
|
5
5
|
allowed-tools: Bash(*), Read(*), Write(*), Glob(*)
|
|
6
|
+
group: cli
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# CLI Initialization Command (/cli:cli-init)
|