Skip to content

Commit 003e005

Browse files
committed
feat!: remove ClaudeKit dependency, become standalone
BREAKING CHANGE: Removed ClaudeKit and STM dependencies. Ideate commands migrated to brainstorm:* commands. Spec:feedback command migrated to feedback:* commands.Task tracking now via 03-tasks.md. Node.js requirement lowered to 20+. Specs directory changed from specs/ to doc/specs/.
1 parent d01755a commit 003e005

17 files changed

Lines changed: 1189 additions & 2569 deletions

.claude/README.md

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,58 +11,69 @@ This directory contains custom commands and settings distributed via the **claud
1111

1212
claudeflow provides a complete feature development workflow:
1313

14-
1. **Ideation** - Structured investigation before coding
15-
2. **Specification** - Transform ideation into validated specs
14+
1. **Brainstorm** - Structured investigation before coding
15+
2. **Clarify & Specify** - Transform brainstorm into validated specs
1616
3. **Decomposition** - Break specs into actionable tasks
1717
4. **Implementation** - Execute tasks with session continuity
18-
5. **Feedback** - Process post-implementation feedback
18+
5. **Feedback** - Add and resolve post-implementation feedback
1919
6. **Documentation** - Update docs based on changes
2020

2121
## Available Custom Commands
2222

23-
### /ideate
24-
Structured ideation workflow that enforces complete investigation for any code-change task (bug fix or feature). Creates comprehensive ideation documentation.
23+
### /brainstorm:start
24+
Structured brainstorming workflow that enforces complete investigation for any code-change task (bug fix or feature). Creates comprehensive brainstorm documentation.
2525

26-
**Usage**: `/ideate Fix chat UI auto-scroll bug when messages exceed viewport height`
26+
**Usage**: `/brainstorm:start Fix chat UI auto-scroll bug when messages exceed viewport height`
2727

28-
### /ideate-to-spec
29-
Transform an ideation document into a validated, implementation-ready specification. Bridges the gap between ideation and implementation with automatic open questions resolution.
28+
### /brainstorm:clarify
29+
Interactive clarification phase for brainstorm documents. Extracts decisions from brainstorm clarifications and prepares for specification creation.
3030

3131
**Features:**
32-
- Extracts decisions from ideation clarifications
33-
- Builds detailed spec via `/spec:create`
32+
- Extracts decisions from brainstorm clarifications
3433
- **Automatically resolves open questions interactively**
35-
- Validates completeness via `/spec:validate`
36-
- Loops until all questions answered
37-
- Preserves audit trail in spec file
38-
39-
**Usage**: `/ideate-to-spec doc/specs/<slug>/01-ideation.md`
40-
41-
**Interactive Question Resolution:**
42-
When the generated specification contains open questions, the system:
43-
- Parses the "Open Questions" section
4434
- Presents questions one at a time with progress ("Question 3 of 12")
4535
- Shows context and available options for each question
4636
- Supports multi-select questions (e.g., "Which package managers?")
47-
- Updates spec with strikethrough answers (preserves original context)
48-
- Re-validates after answering questions
49-
- Loops until all questions resolved
37+
- Updates brainstorm doc with strikethrough answers (preserves original context)
5038
- Skips already-answered questions (re-entrant support)
5139

52-
### /spec:feedback
53-
Process ONE specific piece of post-implementation feedback with a structured workflow. After manual testing reveals issues or improvement opportunities, this command:
40+
**Usage**: `/brainstorm:clarify doc/specs/<slug>/01-brainstorm.md`
41+
42+
### /brainstorm:spec
43+
Transform a brainstorm document into a validated, implementation-ready specification. Bridges the gap between brainstorming and implementation.
44+
45+
**Features:**
46+
- Builds detailed spec via `/spec:create`
47+
- Validates completeness via `/spec:validate`
48+
- Loops until all validation issues resolved
49+
- Preserves audit trail in spec file
50+
51+
**Usage**: `/brainstorm:spec doc/specs/<slug>/01-brainstorm.md`
52+
53+
**Note:** For a complete workflow, run `/brainstorm:clarify` first to resolve open questions, then `/brainstorm:spec` to generate the specification.
54+
55+
### /feedback:add
56+
Add ONE specific piece of post-implementation feedback. After manual testing reveals issues or improvement opportunities, this command:
5457

5558
1. Validates prerequisites (implementation must exist)
5659
2. Collects detailed feedback description
5760
3. Explores relevant code with targeted investigation
5861
4. Optionally consults research-expert for solution approaches
59-
5. Guides through interactive decisions (implement now/defer/out-of-scope)
60-
6. Updates spec changelog for "implement now" decisions
61-
7. Logs all decisions in `05-feedback.md`
62+
5. Logs feedback in `05-feedback.md`
63+
64+
**Usage**: `/feedback:add doc/specs/add-user-auth/02-specification.md`
65+
66+
### /feedback:resolve
67+
Resolve pending feedback items with structured decisions. For each unresolved feedback item:
68+
69+
1. Presents feedback with context
70+
2. Guides through interactive decisions (implement now/defer/out-of-scope)
71+
3. Updates spec changelog for "implement now" decisions
72+
4. Updates feedback status in `05-feedback.md`
6273

6374
Seamlessly integrates with incremental `/spec:decompose` and resume `/spec:execute` for feedback iteration cycles.
6475

65-
**Usage**: `/spec:feedback doc/specs/add-user-auth/02-specification.md`
76+
**Usage**: `/feedback:resolve doc/specs/add-user-auth/02-specification.md`
6677

6778
### /spec:doc-update
6879
Review all documentation to identify what needs to be updated based on a new specification file. Launches parallel documentation expert agents.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 22.14.0
24+
node-version: '20'
2525

2626
- name: Install dependencies
2727
run: npm install
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup Node.js
6363
uses: actions/setup-node@v4
6464
with:
65-
node-version: 22.14.0
65+
node-version: '20'
6666

6767
- name: Update npm to latest
6868
run: npm install -g npm@latest

CLAUDE.md

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -24,58 +24,67 @@ See [docs/INSTALLATION_GUIDE.md](docs/INSTALLATION_GUIDE.md) for detailed prereq
2424
Complete feature lifecycle in 6 phases:
2525

2626
```
27-
IDEATION → SPECIFICATION → DECOMPOSITION → IMPLEMENTATION → FEEDBACK → COMPLETION
27+
BRAINSTORM → CLARIFY → SPECIFICATION → DECOMPOSITION → IMPLEMENTATION → FEEDBACK → COMPLETION
2828
```
2929

30-
### Phase 1: Ideation
31-
- **Command:** `/ideate <task-brief>`
32-
- **Output:** `doc/specs/<slug>/01-ideation.md`
30+
### Phase 1: Brainstorm
31+
- **Command:** `/brainstorm:start <task-brief>`
32+
- **Output:** `doc/specs/<slug>/01-brainstorm.md`
3333
- **Purpose:** Enforce complete investigation before code changes
3434
- **Includes:** Intent, pre-reading, codebase mapping, root cause analysis, research, clarifications
3535

36-
### Phase 2: Specification
37-
- **Command:** `/ideate-to-spec <path-to-ideation>`
36+
### Phase 2: Clarify
37+
- **Command:** `/brainstorm:clarify <path-to-brainstorm>`
38+
- **Output:** Updates `doc/specs/<slug>/01-brainstorm.md` with resolved questions
39+
- **Purpose:** Resolve open questions interactively before creating specification
40+
- **Process:** Detect questions → present with context → record answers → re-validate
41+
42+
### Phase 3: Specification
43+
- **Command:** `/brainstorm:spec <path-to-brainstorm>`
3844
- **Output:** `doc/specs/<slug>/02-specification.md`
39-
- **Purpose:** Transform ideation into validated technical specification
40-
- **Process:** Extract decisions → build spec → validate → resolve open questions → re-validate
41-
- **Interactive:** Automatically detects and resolves open questions before completion
45+
- **Purpose:** Transform brainstorm into validated technical specification
46+
- **Process:** Extract decisions → build spec → validate
4247

43-
### Phase 3: Decomposition
48+
### Phase 4: Decomposition
4449
- **Command:** `/spec:decompose <path-to-spec>`
4550
- **Output:** `doc/specs/<slug>/03-tasks.md`
4651
- **Purpose:** Break specification into actionable tasks
4752
- **Pattern:** Full implementation details copied into tasks (NOT summaries)
4853

49-
### Phase 4: Implementation
54+
### Phase 5: Implementation
5055
- **Command:** `/spec:execute <path-to-spec>`
5156
- **Output:** `doc/specs/<slug>/04-implementation.md`
5257
- **Purpose:** Implement tasks incrementally with session continuity
5358
- **Process:** For each task: implement → test → code review → fix → commit
5459
- **Tracks:** Progress, files modified, tests added, known issues, next steps
5560

56-
### Phase 5: Feedback
57-
- **Command:** `/spec:feedback <path-to-spec>`
61+
### Phase 6: Feedback
62+
- **Commands:** `/feedback:add` then `/feedback:resolve`
5863
- **Output:** `doc/specs/<slug>/05-feedback.md`
59-
- **Purpose:** Process post-implementation feedback with structured decisions
60-
- **Process:** One feedback item at a time → explore code → interactive decisions → take action based on outcome
64+
- **Purpose:** Capture and process post-implementation feedback with structured decisions
65+
- **Two-Step Process:**
66+
1. **Capture:** `/feedback:add` - Loop to capture multiple feedback items (save-as-you-go)
67+
2. **Resolve:** `/feedback:resolve` - Batch analyze and resolve all pending items
6168
- **Decision Outcomes:**
6269
- **Implement Now:** Update spec changelog → incremental `/spec:decompose` → resume `/spec:execute`
6370
- **Defer:** Log for future consideration in feedback file
6471
- **Out of Scope:** Log decision with rationale → no further action
6572
- **Integration:** Works with incremental `/spec:decompose` and resume `/spec:execute`
6673

67-
### Phase 6: Completion
74+
### Phase 7: Completion
6875
- **Commands:** `/spec:doc-update`, git commit & push
6976
- **Purpose:** Finalize changes, update documentation, push to remote
7077

7178
## Key Commands
7279

73-
### Custom Commands (4)
80+
### Custom Commands (6)
7481
| Command | Purpose |
7582
|---------|---------|
76-
| `/ideate <task-brief>` | Structured investigation workflow |
77-
| `/ideate-to-spec <path>` | Transform ideation → validated spec |
78-
| `/spec:feedback <path>` | Post-implementation feedback processing |
83+
| `/brainstorm:start <task-brief>` | Structured investigation workflow |
84+
| `/brainstorm:clarify <path>` | Resolve open questions interactively |
85+
| `/brainstorm:spec <path>` | Transform brainstorm → validated spec |
86+
| `/feedback:add [path]` | Quick capture of feedback items |
87+
| `/feedback:resolve [path]` | Batch analyze and resolve pending feedback |
7988
| `/spec:doc-update <path>` | Review docs with parallel agents |
8089

8190
### Command Overrides (4)
@@ -94,7 +103,7 @@ Enhanced versions of spec commands:
94103

95104
```
96105
doc/specs/<feature-slug>/
97-
├── 01-ideation.md # Investigation & research
106+
├── 01-brainstorm.md # Investigation & research
98107
├── 02-specification.md # Technical specification
99108
├── 03-tasks.md # Task breakdown
100109
├── 04-implementation.md # Progress tracking
@@ -111,13 +120,13 @@ doc/specs/<feature-slug>/
111120

112121
### Interactive Question Resolution
113122

114-
The `/ideate-to-spec` command includes automatic open questions resolution to ensure specifications are implementation-ready:
123+
The `/brainstorm:clarify` command provides automatic open questions resolution to ensure brainstorm documents are ready for specification creation:
115124

116125
**How It Works:**
117-
1. After spec creation, system detects "Open Questions" section
126+
1. System detects "Open Questions" section in brainstorm document
118127
2. Presents each unanswered question interactively with context
119128
3. Records answers with audit trail (strikethrough format)
120-
4. Updates spec file incrementally (save-as-you-go)
129+
4. Updates document incrementally (save-as-you-go)
121130
5. Re-validates and loops until all questions resolved
122131
6. Summary shows all resolved questions
123132

@@ -130,25 +139,24 @@ The `/ideate-to-spec` command includes automatic open questions resolution to en
130139
- External edit detection prevents data loss
131140

132141
**Backward Compatibility:**
133-
- Specs without "Open Questions" section skip resolution steps entirely
142+
- Documents without "Open Questions" section skip resolution steps entirely
134143
- Already-answered questions (containing "Answer:") are skipped automatically
135144
- Re-entrant: Can run multiple times, only processes unanswered questions
136145

137146
**Error Handling:**
138-
- Edit failures automatically retry after re-reading spec
147+
- Edit failures automatically retry after re-reading document
139148
- External edits detected via re-parsing on each loop iteration
140149
- Validation failures for non-question issues prompt user interactively
141150
- Manual intervention requested only when automated recovery fails
142151

143152
**Example Workflow:**
144153
```bash
145-
/ideate-to-spec doc/specs/my-feature/01-ideation.md
146-
# → System creates spec via /spec:create
154+
/brainstorm:clarify doc/specs/my-feature/01-brainstorm.md
147155
# → Detects 5 open questions
148156
# → Presents questions interactively
149157
# → Question 1 of 5: Package Manager Support?
150158
# → User answers each question
151-
#Spec updated with strikethrough answers
159+
#Document updated with strikethrough answers
152160
# → Re-validates until complete
153161
# → Summary shows 5 questions resolved
154162
```
@@ -218,8 +226,10 @@ claudeflow/ # npm package (@33strategies/claudeflow)
218226
│ └── utils/ # Cross-platform utilities
219227
├── .claude/ # Distributed in package
220228
│ ├── commands/ # Custom slash commands
221-
│ │ ├── ideate.md
222-
│ │ ├── ideate-to-spec.md
229+
│ │ ├── brainstorm/ # Brainstorming workflow commands
230+
│ │ │ ├── start.md # Structured brainstorming workflow
231+
│ │ │ ├── clarify.md # Resolve open questions
232+
│ │ │ └── spec.md # Transform brainstorm to spec
223233
│ │ └── spec/ # Spec command overrides
224234
│ ├── settings.json.example # Configuration template
225235
│ └── README.md
@@ -270,23 +280,25 @@ claudeflow doctor # Verify installation
270280

271281
### Standard Workflow
272282
```bash
273-
/ideate <task-brief>
274-
/ideate-to-spec doc/specs/<slug>/01-ideation.md
283+
/brainstorm:start <task-brief>
284+
/brainstorm:clarify doc/specs/<slug>/01-brainstorm.md
285+
/brainstorm:spec doc/specs/<slug>/01-brainstorm.md
275286
/spec:decompose doc/specs/<slug>/02-specification.md
276287
/spec:execute doc/specs/<slug>/02-specification.md
277288

278-
# After manual testing, process feedback
279-
/spec:feedback doc/specs/<slug>/02-specification.md # One item at a time
280-
# (Choose: implement/defer/out-of-scope)
281-
# If "implement": spec updated, then run:
289+
# After manual testing, capture and resolve feedback
290+
/feedback:add doc/specs/<slug>/02-specification.md # Capture multiple items
291+
/feedback:resolve doc/specs/<slug>/05-feedback.md # Batch analyze & decide
292+
# (For each item: implement/defer/out-of-scope)
293+
# If any "implement": spec updated, then run:
282294
/spec:decompose doc/specs/<slug>/02-specification.md # Incremental mode
283295
/spec:execute doc/specs/<slug>/02-specification.md # Resume mode
284296

285297
# Final steps
286298
/spec:doc-update doc/specs/<slug>/02-specification.md
287299
```
288300

289-
### Quick Start (Skip Ideation)
301+
### Quick Start (Skip Brainstorming)
290302
```bash
291303
/spec:create <description>
292304
/spec:decompose doc/specs/<slug>/02-specification.md

0 commit comments

Comments
 (0)