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.
- package/.claude/agents/tdd-developer.md +530 -0
- package/.claude/commands/issue/discover-by-prompt.md +5 -1
- package/.claude/commands/issue/discover.md +472 -468
- package/.claude/commands/issue/execute.md +580 -581
- package/.claude/commands/issue/new.md +417 -413
- package/.claude/commands/issue/plan.md +11 -13
- package/.claude/commands/issue/queue.md +445 -441
- package/.claude/commands/task/breakdown.md +207 -203
- package/.claude/commands/task/replan.md +440 -436
- package/.claude/commands/workflow/action-plan-verify.md +485 -447
- package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
- package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
- package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
- package/.claude/commands/workflow/clean.md +67 -35
- package/.claude/commands/workflow/debug-with-file.md +670 -666
- package/.claude/commands/workflow/debug.md +331 -327
- package/.claude/commands/workflow/develop-with-file.md +5 -1
- package/.claude/commands/workflow/execute.md +546 -498
- package/.claude/commands/workflow/lite-execute.md +44 -26
- package/.claude/commands/workflow/lite-fix.md +780 -730
- package/.claude/commands/workflow/lite-lite-lite.md +5 -1
- package/.claude/commands/workflow/lite-plan.md +87 -39
- package/.claude/commands/workflow/multi-cli-plan.md +572 -568
- package/.claude/commands/workflow/plan-verify.md +527 -0
- package/.claude/commands/workflow/plan.md +555 -551
- package/.claude/commands/workflow/replan.md +572 -515
- package/.claude/commands/workflow/review-fix.md +608 -610
- package/.claude/commands/workflow/session/complete.md +37 -14
- package/.claude/commands/workflow/session/solidify.md +303 -299
- package/.claude/commands/workflow/tdd-plan.md +630 -597
- package/.claude/commands/workflow/tdd-verify.md +391 -206
- package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
- package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
- package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
- package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
- package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
- package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
- package/.claude/skills/ccw/command.json +4 -4
- package/.claude/skills/ccw-coordinator/README.md +45 -0
- package/.claude/skills/ccw-coordinator/SKILL.md +320 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-abort.md +9 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-command-build.md +40 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-command-execute.md +124 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-command-selection.md +48 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-complete.md +25 -0
- package/.claude/skills/ccw-coordinator/phases/actions/action-init.md +26 -0
- package/.claude/skills/ccw-coordinator/phases/orchestrator.md +59 -0
- package/.claude/skills/ccw-coordinator/phases/state-schema.md +66 -0
- package/.claude/skills/ccw-coordinator/skill-config.json +66 -0
- package/.claude/skills/ccw-coordinator/specs/command-library.md +169 -0
- package/.claude/skills/ccw-coordinator/specs/specs.md +362 -0
- package/.claude/skills/ccw-coordinator/tools/README.md +95 -0
- package/.claude/skills/ccw-coordinator/tools/chain-validate.cjs +320 -0
- package/.claude/skills/ccw-coordinator/tools/command-registry.cjs +255 -0
- package/.claude/skills/ccw-help/command.json +5 -5
- package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
- package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
- package/.codex/skills/parallel-dev-cycle/README.md +19 -16
- package/.codex/skills/parallel-dev-cycle/phases/agents/code-developer.md +90 -5
- package/.codex/skills/parallel-dev-cycle/phases/agents/requirements-analyst.md +89 -4
- package/.codex/skills/parallel-dev-cycle/phases/orchestrator.md +696 -696
- package/.codex/skills/parallel-dev-cycle/phases/state-schema.md +436 -436
- package/.codex/skills/parallel-dev-cycle/skill.md +194 -0
- package/.codex/skills/parallel-dev-cycle/specs/communication-optimization.md +423 -423
- package/.codex/skills/parallel-dev-cycle/specs/coordination-protocol.md +31 -16
- package/.codex/skills/parallel-dev-cycle/specs/versioning-strategy.md +74 -73
- package/ccw/dist/commands/issue.d.ts +4 -0
- package/ccw/dist/commands/issue.d.ts.map +1 -1
- package/ccw/dist/commands/issue.js +73 -6
- package/ccw/dist/commands/issue.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js +32 -28
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
- package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.js +45 -0
- package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
- package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
- package/ccw/dist/tools/codex-lens.js +38 -11
- package/ccw/dist/tools/codex-lens.js.map +1 -1
- package/ccw/src/commands/issue.ts +84 -6
- package/ccw/src/core/routes/cli-routes.ts +30 -25
- package/ccw/src/templates/dashboard-js/views/help.js +1 -1
- package/ccw/src/tools/claude-cli-tools.ts +50 -0
- package/ccw/src/tools/codex-lens.ts +40 -11
- package/package.json +1 -1
- 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 |
|