claude-code-workflow 6.3.42 → 6.3.44

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 (87) hide show
  1. package/.claude/agents/tdd-developer.md +530 -0
  2. package/.claude/commands/issue/discover-by-prompt.md +5 -1
  3. package/.claude/commands/issue/discover.md +472 -468
  4. package/.claude/commands/issue/execute.md +580 -581
  5. package/.claude/commands/issue/new.md +417 -413
  6. package/.claude/commands/issue/plan.md +11 -13
  7. package/.claude/commands/issue/queue.md +445 -441
  8. package/.claude/commands/task/breakdown.md +207 -203
  9. package/.claude/commands/task/replan.md +440 -436
  10. package/.claude/commands/workflow/action-plan-verify.md +485 -447
  11. package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
  12. package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
  13. package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
  14. package/.claude/commands/workflow/clean.md +67 -35
  15. package/.claude/commands/workflow/debug-with-file.md +670 -666
  16. package/.claude/commands/workflow/debug.md +331 -327
  17. package/.claude/commands/workflow/develop-with-file.md +5 -1
  18. package/.claude/commands/workflow/execute.md +546 -498
  19. package/.claude/commands/workflow/lite-execute.md +44 -26
  20. package/.claude/commands/workflow/lite-fix.md +780 -730
  21. package/.claude/commands/workflow/lite-lite-lite.md +5 -1
  22. package/.claude/commands/workflow/lite-plan.md +87 -39
  23. package/.claude/commands/workflow/multi-cli-plan.md +572 -568
  24. package/.claude/commands/workflow/plan-verify.md +527 -0
  25. package/.claude/commands/workflow/plan.md +555 -551
  26. package/.claude/commands/workflow/replan.md +572 -515
  27. package/.claude/commands/workflow/review-fix.md +608 -610
  28. package/.claude/commands/workflow/session/complete.md +37 -14
  29. package/.claude/commands/workflow/session/solidify.md +303 -299
  30. package/.claude/commands/workflow/tdd-plan.md +630 -597
  31. package/.claude/commands/workflow/tdd-verify.md +391 -206
  32. package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
  33. package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
  34. package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
  35. package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
  36. package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
  37. package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
  38. package/.claude/skills/ccw/command.json +4 -4
  39. package/.claude/skills/ccw-coordinator/README.md +45 -0
  40. package/.claude/skills/ccw-coordinator/SKILL.md +320 -0
  41. package/.claude/skills/ccw-coordinator/phases/actions/action-abort.md +9 -0
  42. package/.claude/skills/ccw-coordinator/phases/actions/action-command-build.md +40 -0
  43. package/.claude/skills/ccw-coordinator/phases/actions/action-command-execute.md +124 -0
  44. package/.claude/skills/ccw-coordinator/phases/actions/action-command-selection.md +48 -0
  45. package/.claude/skills/ccw-coordinator/phases/actions/action-complete.md +25 -0
  46. package/.claude/skills/ccw-coordinator/phases/actions/action-init.md +26 -0
  47. package/.claude/skills/ccw-coordinator/phases/orchestrator.md +59 -0
  48. package/.claude/skills/ccw-coordinator/phases/state-schema.md +66 -0
  49. package/.claude/skills/ccw-coordinator/skill-config.json +66 -0
  50. package/.claude/skills/ccw-coordinator/specs/command-library.md +169 -0
  51. package/.claude/skills/ccw-coordinator/specs/specs.md +362 -0
  52. package/.claude/skills/ccw-coordinator/tools/README.md +95 -0
  53. package/.claude/skills/ccw-coordinator/tools/chain-validate.cjs +320 -0
  54. package/.claude/skills/ccw-coordinator/tools/command-registry.cjs +255 -0
  55. package/.claude/skills/ccw-help/command.json +5 -5
  56. package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
  57. package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
  58. package/.codex/skills/parallel-dev-cycle/README.md +19 -16
  59. package/.codex/skills/parallel-dev-cycle/phases/agents/code-developer.md +90 -5
  60. package/.codex/skills/parallel-dev-cycle/phases/agents/requirements-analyst.md +89 -4
  61. package/.codex/skills/parallel-dev-cycle/phases/orchestrator.md +696 -696
  62. package/.codex/skills/parallel-dev-cycle/phases/state-schema.md +436 -436
  63. package/.codex/skills/parallel-dev-cycle/skill.md +194 -0
  64. package/.codex/skills/parallel-dev-cycle/specs/communication-optimization.md +423 -423
  65. package/.codex/skills/parallel-dev-cycle/specs/coordination-protocol.md +31 -16
  66. package/.codex/skills/parallel-dev-cycle/specs/versioning-strategy.md +74 -73
  67. package/ccw/dist/commands/issue.d.ts +4 -0
  68. package/ccw/dist/commands/issue.d.ts.map +1 -1
  69. package/ccw/dist/commands/issue.js +73 -6
  70. package/ccw/dist/commands/issue.js.map +1 -1
  71. package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
  72. package/ccw/dist/core/routes/cli-routes.js +32 -28
  73. package/ccw/dist/core/routes/cli-routes.js.map +1 -1
  74. package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
  75. package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
  76. package/ccw/dist/tools/claude-cli-tools.js +45 -0
  77. package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
  78. package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
  79. package/ccw/dist/tools/codex-lens.js +38 -11
  80. package/ccw/dist/tools/codex-lens.js.map +1 -1
  81. package/ccw/src/commands/issue.ts +84 -6
  82. package/ccw/src/core/routes/cli-routes.ts +30 -25
  83. package/ccw/src/templates/dashboard-js/views/help.js +1 -1
  84. package/ccw/src/tools/claude-cli-tools.ts +50 -0
  85. package/ccw/src/tools/codex-lens.ts +40 -11
  86. package/package.json +1 -1
  87. package/.codex/skills/parallel-dev-cycle/SKILL.md +0 -513
@@ -0,0 +1,194 @@
1
+ ---
2
+ name: Parallel Dev Cycle
3
+ description: Multi-agent parallel development cycle with requirement analysis, exploration planning, code development, and validation. Supports continuous iteration with markdown progress documentation.
4
+ argument-hint: TASK="<task description>" | --cycle-id=<id> [--extend="<extension>"] [--auto] [--parallel=<count>]
5
+ ---
6
+
7
+ # Parallel Dev Cycle - Multi-Agent Development Workflow
8
+
9
+ Multi-agent parallel development cycle using Codex subagent pattern with four specialized workers:
10
+ 1. **Requirements Analysis & Extension** (RA) - Requirement analysis and self-enhancement
11
+ 2. **Exploration & Planning** (EP) - Exploration and planning
12
+ 3. **Code Development** (CD) - Code development with debug strategy support
13
+ 4. **Validation & Archival Summary** (VAS) - Validation and archival summary
14
+
15
+ Each agent **maintains one main document** (e.g., requirements.md, plan.json, implementation.md) that is completely rewritten per iteration, plus auxiliary logs (changes.log, debug-log.ndjson) that are append-only. Supports versioning, automatic archival, and complete history tracking.
16
+
17
+ ## Arguments
18
+
19
+ | Arg | Required | Description |
20
+ |-----|----------|-------------|
21
+ | TASK | One of TASK or --cycle-id | Task description (for new cycle, mutually exclusive with --cycle-id) |
22
+ | --cycle-id | One of TASK or --cycle-id | Existing cycle ID to continue (from API or previous session) |
23
+ | --extend | No | Extension description (only valid with --cycle-id) |
24
+ | --auto | No | Auto-cycle mode (run all phases sequentially) |
25
+ | --parallel | No | Number of parallel agents (default: 4, max: 4) |
26
+
27
+ ## Architecture Overview
28
+
29
+ ```
30
+ ┌─────────────────────────────────────────────────────────────┐
31
+ │ User Input (Task) │
32
+ └────────────────────────────┬────────────────────────────────┘
33
+
34
+ v
35
+ ┌──────────────────────┐
36
+ │ Orchestrator Agent │ (Coordinator)
37
+ │ (spawned once) │
38
+ └──────────────────────┘
39
+
40
+ ┌────────────────────┼────────────────────┐
41
+ │ │ │
42
+ v v v
43
+ ┌────────┐ ┌────────┐ ┌────────┐
44
+ │ RA │ │ EP │ │ CD │
45
+ │Agent │ │Agent │ │Agent │
46
+ └────────┘ └────────┘ └────────┘
47
+ │ │ │
48
+ └────────────────────┼────────────────────┘
49
+
50
+ v
51
+ ┌────────┐
52
+ │ VAS │
53
+ │ Agent │
54
+ └────────┘
55
+
56
+ v
57
+ ┌──────────────────────┐
58
+ │ Summary Report │
59
+ │ & Markdown Docs │
60
+ └──────────────────────┘
61
+ ```
62
+
63
+ ## Key Design Principles
64
+
65
+ 1. **Main Document + Auxiliary Logs**: Each agent maintains one main document (rewritten per iteration) and auxiliary logs (append-only)
66
+ 2. **Version-Based Overwrite**: Main documents completely rewritten per version; logs append-only
67
+ 3. **Automatic Archival**: Old main document versions automatically archived to `history/` directory
68
+ 4. **Complete Audit Trail**: Changes.log (NDJSON) preserves all change history
69
+ 5. **Parallel Coordination**: Four agents launched simultaneously; coordination via shared state and orchestrator
70
+ 6. **File References**: Use short file paths instead of content passing
71
+ 7. **Self-Enhancement**: RA agent proactively extends requirements based on context
72
+
73
+ ## Session Structure
74
+
75
+ ```
76
+ .workflow/.cycle/
77
+ +-- {cycleId}.json # Master state file
78
+ +-- {cycleId}.progress/
79
+ +-- ra/
80
+ | +-- requirements.md # Current version (complete rewrite)
81
+ | +-- changes.log # NDJSON complete history (append-only)
82
+ | └-- history/
83
+ | +-- requirements-v1.0.0.md # Archived snapshot
84
+ | +-- requirements-v1.1.0.md # Archived snapshot
85
+ +-- ep/
86
+ | +-- exploration.md # Codebase exploration report
87
+ | +-- architecture.md # Architecture design
88
+ | +-- plan.json # Structured task list (current version)
89
+ | +-- changes.log # NDJSON complete history
90
+ | └-- history/
91
+ | +-- plan-v1.0.0.json
92
+ | +-- plan-v1.1.0.json
93
+ +-- cd/
94
+ | +-- implementation.md # Current version
95
+ | +-- debug-log.ndjson # Debug hypothesis tracking
96
+ | +-- changes.log # NDJSON complete history
97
+ | └-- history/
98
+ | +-- implementation-v1.0.0.md
99
+ | +-- implementation-v1.1.0.md
100
+ +-- vas/
101
+ | +-- summary.md # Current version
102
+ | +-- changes.log # NDJSON complete history
103
+ | └-- history/
104
+ | +-- summary-v1.0.0.md
105
+ | +-- summary-v1.1.0.md
106
+ └-- coordination/
107
+ +-- timeline.md # Execution timeline
108
+ +-- decisions.log # Decision log
109
+ ```
110
+
111
+ ## State Management
112
+
113
+ State schema is defined in [phases/state-schema.md](phases/state-schema.md). The master state file (`{cycleId}.json`) tracks:
114
+
115
+ - Cycle metadata (id, title, status, iterations)
116
+ - Agent states (status, output files, version)
117
+ - Shared context (requirements, plan, changes, test results)
118
+ - Coordination data (feedback log, decisions, blockers)
119
+
120
+ ## Versioning Workflow
121
+
122
+ ### Initial Version (v1.0.0)
123
+
124
+ ```bash
125
+ /parallel-dev-cycle TASK="Implement OAuth login"
126
+ ```
127
+
128
+ Generates:
129
+ ```
130
+ requirements.md (v1.0.0)
131
+ exploration.md (v1.0.0)
132
+ architecture.md (v1.0.0)
133
+ plan.json (v1.0.0)
134
+ implementation.md (v1.0.0) - if applicable
135
+ summary.md (v1.0.0) - if applicable
136
+ ```
137
+
138
+ ### Iteration Versions (v1.1.0, v1.2.0)
139
+
140
+ ```bash
141
+ /parallel-dev-cycle --cycle-id=cycle-v1-xxx --extend="Add GitHub support"
142
+ ```
143
+
144
+ **Automatic handling**:
145
+ 1. Read current `requirements.md (v1.0.0)`
146
+ 2. Auto-archive to `history/requirements-v1.0.0.md`
147
+ 3. Recreate `requirements.md (v1.1.0)` - complete overwrite
148
+ 4. Append changes to `changes.log` (NDJSON)
149
+
150
+ ## Changes.log Format (NDJSON)
151
+
152
+ Permanent audit log (append-only, never deleted):
153
+
154
+ ```jsonl
155
+ {"timestamp":"2026-01-22T10:00:00+08:00","version":"1.0.0","agent":"ra","action":"create","change":"Initial requirements","iteration":1}
156
+ {"timestamp":"2026-01-22T11:00:00+08:00","version":"1.1.0","agent":"ra","action":"update","change":"Added Google OAuth requirement","iteration":2}
157
+ {"timestamp":"2026-01-22T11:30:00+08:00","version":"1.0.0","agent":"ep","action":"create","change":"Initial implementation plan","iteration":1}
158
+ ```
159
+
160
+ ## Usage
161
+
162
+ ```bash
163
+ # Start new cycle
164
+ /parallel-dev-cycle TASK="Implement real-time notifications"
165
+
166
+ # Continue cycle
167
+ /parallel-dev-cycle --cycle-id=cycle-v1-20260122-abc123
168
+
169
+ # Iteration with extension
170
+ /parallel-dev-cycle --cycle-id=cycle-v1-20260122-abc123 --extend="Also add email notifications"
171
+
172
+ # Auto mode
173
+ /parallel-dev-cycle --auto TASK="Add OAuth authentication"
174
+ ```
175
+
176
+ ## Key Benefits
177
+
178
+ - **Simple**: Each agent maintains only 1 file + changes.log
179
+ - **Efficient**: Version rewrite without complex version marking
180
+ - **Traceable**: Complete history in `history/` and `changes.log`
181
+ - **Fast**: Agent reads current version quickly (no history parsing needed)
182
+ - **Auditable**: NDJSON changes.log fully traces every change
183
+ - **Self-Enhancing**: RA agent proactively extends requirements
184
+ - **Debug-Ready**: CD agent supports hypothesis-driven debugging
185
+
186
+ ## Reference Documents
187
+
188
+ | Document | Purpose |
189
+ |----------|---------|
190
+ | [phases/orchestrator.md](phases/orchestrator.md) | Orchestrator logic |
191
+ | [phases/state-schema.md](phases/state-schema.md) | State structure definition |
192
+ | [phases/agents/](phases/agents/) | Four agent role definitions |
193
+ | [specs/coordination-protocol.md](specs/coordination-protocol.md) | Communication protocol |
194
+ | [specs/versioning-strategy.md](specs/versioning-strategy.md) | Version management |