specdacular 0.7.1 → 0.8.0

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 (63) hide show
  1. package/README.md +72 -74
  2. package/commands/specd/continue.md +59 -0
  3. package/commands/specd/new.md +65 -0
  4. package/commands/specd/status.md +1 -1
  5. package/commands/specd/toolbox.md +59 -0
  6. package/package.json +1 -1
  7. package/specdacular/HELP.md +19 -16
  8. package/specdacular/agents/feature-researcher.md +4 -4
  9. package/specdacular/references/load-context.md +83 -0
  10. package/specdacular/references/record-decision.md +61 -0
  11. package/specdacular/references/select-feature.md +20 -20
  12. package/specdacular/references/select-phase.md +3 -3
  13. package/specdacular/references/spawn-research-agents.md +180 -0
  14. package/specdacular/references/synthesize-research.md +127 -0
  15. package/specdacular/references/validate-task.md +64 -0
  16. package/specdacular/templates/{features → tasks}/CHANGELOG.md +2 -8
  17. package/specdacular/templates/{features → tasks}/CONTEXT.md +6 -17
  18. package/specdacular/templates/tasks/DECISIONS.md +46 -0
  19. package/specdacular/templates/{features → tasks}/FEATURE.md +3 -3
  20. package/specdacular/templates/tasks/PLAN.md +91 -0
  21. package/specdacular/templates/tasks/RESEARCH.md +121 -0
  22. package/specdacular/templates/{features → tasks}/ROADMAP.md +6 -43
  23. package/specdacular/templates/tasks/STATE.md +93 -0
  24. package/specdacular/templates/tasks/config.json +15 -0
  25. package/specdacular/workflows/continue.md +275 -0
  26. package/specdacular/workflows/discuss.md +184 -0
  27. package/specdacular/workflows/execute.md +174 -0
  28. package/specdacular/workflows/new.md +299 -0
  29. package/specdacular/workflows/orchestrator/new.md +265 -0
  30. package/specdacular/workflows/orchestrator/plan.md +169 -0
  31. package/specdacular/workflows/plan.md +201 -0
  32. package/specdacular/workflows/research.md +166 -0
  33. package/specdacular/workflows/review.md +289 -0
  34. package/specdacular/workflows/status.md +17 -17
  35. package/commands/specd/blueprint.md +0 -64
  36. package/commands/specd/feature/continue.md +0 -84
  37. package/commands/specd/feature/new.md +0 -67
  38. package/commands/specd/feature/toolbox.md +0 -49
  39. package/specdacular/templates/blueprint/index.html +0 -110
  40. package/specdacular/templates/blueprint/scripts.js +0 -71
  41. package/specdacular/templates/blueprint/styles.css +0 -429
  42. package/specdacular/templates/features/DECISIONS.md +0 -109
  43. package/specdacular/templates/features/DEPENDENCIES.md +0 -47
  44. package/specdacular/templates/features/PLAN.md +0 -180
  45. package/specdacular/templates/features/RESEARCH.md +0 -183
  46. package/specdacular/templates/features/STATE.md +0 -110
  47. package/specdacular/templates/features/config.json +0 -20
  48. package/specdacular/workflows/blueprint-diagrams.md +0 -273
  49. package/specdacular/workflows/blueprint-wireframes.md +0 -312
  50. package/specdacular/workflows/blueprint.md +0 -372
  51. package/specdacular/workflows/continue-feature.md +0 -621
  52. package/specdacular/workflows/discuss-feature.md +0 -382
  53. package/specdacular/workflows/execute-plan.md +0 -636
  54. package/specdacular/workflows/insert-phase.md +0 -246
  55. package/specdacular/workflows/new-feature.md +0 -760
  56. package/specdacular/workflows/plan-feature.md +0 -691
  57. package/specdacular/workflows/plan-phase.md +0 -355
  58. package/specdacular/workflows/prepare-phase.md +0 -745
  59. package/specdacular/workflows/renumber-phases.md +0 -273
  60. package/specdacular/workflows/research-feature.md +0 -252
  61. package/specdacular/workflows/research-phase.md +0 -576
  62. package/specdacular/workflows/review-feature.md +0 -316
  63. package/specdacular/workflows/review-phase.md +0 -545
package/README.md CHANGED
@@ -26,7 +26,7 @@ npx specdacular
26
26
  - [The Flow in Detail](#the-flow-in-detail)
27
27
  - [How It Works](#how-it-works)
28
28
  - [Parallel Agents](#parallel-agents)
29
- - [Feature Flow](#feature-flow)
29
+ - [Task Flow](#task-flow)
30
30
  - [Multi-Project Support](#multi-project-support)
31
31
  - [Project Structure](#project-structure)
32
32
  - [Philosophy](#philosophy)
@@ -54,17 +54,17 @@ For monorepos and multi-repo setups, it maps each sub-project in parallel, then
54
54
 
55
55
  ### 2. Plan Features
56
56
 
57
- Three commands drive the entire feature lifecycle:
57
+ Three commands drive the entire task lifecycle:
58
58
 
59
59
  ```
60
- /specd:feature:new my-feature # Initialize + first discussion
61
- /specd:feature:continue my-feature # Everything else — discussion, research, planning, execution, review
62
- /specd:feature:toolbox my-feature # Advanced operations menu
60
+ /specd:new my-feature # Initialize + first discussion
61
+ /specd:continue my-feature # Everything else — discussion, research, planning, execution, review
62
+ /specd:toolbox my-feature # Advanced operations menu
63
63
  ```
64
64
 
65
- `feature:continue` reads your feature's current state and offers the natural next step. You never need to remember which command comes next.
65
+ `continue` reads your task's current state and offers the natural next step. You never need to remember which command comes next.
66
66
 
67
- `feature:toolbox` gives you direct access to advanced operations — discuss, research, plan, review, or insert a phase — when you want to jump to a specific action outside the normal flow.
67
+ `toolbox` gives you direct access to advanced operations — discuss, research, plan, execute, review — when you want to jump to a specific action outside the normal flow.
68
68
 
69
69
  Works with single projects and multi-project setups (monorepos, multi-repo). In multi-project mode, features are discussed at the system level and routed to the relevant sub-projects, with cross-project dependency tracking and contract validation.
70
70
 
@@ -112,44 +112,50 @@ Creates `.specd/codebase/` with 4 AI-optimized documents. This gives Claude cont
112
112
  **Step 1: Initialize**
113
113
 
114
114
  ```
115
- /specd:feature:new user-dashboard
115
+ /specd:new user-dashboard
116
116
  ```
117
117
 
118
- Creates `.specd/features/user-dashboard/` and starts the first discussion. Claude asks what you're building, follows the thread, and captures technical requirements. When done, offers to continue discussing or stop.
118
+ Creates `.specd/tasks/user-dashboard/` and starts the first discussion. Claude asks what you're building, follows the thread, and captures technical requirements. When done, offers to continue discussing or stop.
119
119
 
120
120
  **Step 2: Drive the lifecycle**
121
121
 
122
122
  ```
123
- /specd:feature:continue user-dashboard
123
+ /specd:continue user-dashboard
124
124
  ```
125
125
 
126
- That's it. `feature:continue` reads the current state and guides you through each stage:
126
+ That's it. `continue` reads the current state and guides you through each stage:
127
127
 
128
128
  1. **Discussion** — Probes gray areas until clear
129
129
  2. **Research** — Spawns parallel agents for patterns/pitfalls
130
- 3. **Planning** — Creates roadmap with phases
131
- 4. **Phase preparation** — Discusses phase-specific gray areas
132
- 5. **Phase planning** — Creates detailed PLAN.md files
133
- 6. **Phase execution** — Implements with progress tracking
134
- 7. **Phase review** — Compares plans against actual code
130
+ 3. **Planning** — Creates roadmap with phases, one PLAN.md per phase
131
+ 4. **Phase execution** — Implements with progress tracking
132
+ 5. **Phase review** — Code review agent compares plans against actual code
135
133
 
136
- After each step, you can continue or stop. Resume anytime with `/specd:feature:continue`.
134
+ After each step, you can continue or stop. Resume anytime with `/specd:continue`.
135
+
136
+ **Execution modes:**
137
+
138
+ ```
139
+ /specd:continue user-dashboard # Interactive (default) — pause after each step
140
+ /specd:continue user-dashboard --semi-auto # Auto through planning, pause after review
141
+ /specd:continue user-dashboard --auto # Run everything, stop only on review issues
142
+ ```
137
143
 
138
144
  **No argument? It picks for you:**
139
145
 
140
146
  ```
141
- /specd:feature:continue
147
+ /specd:continue
142
148
  ```
143
149
 
144
- Scans for in-progress features and shows a picker.
150
+ Scans for in-progress tasks and shows a picker.
145
151
 
146
152
  **Need a specific operation?**
147
153
 
148
154
  ```
149
- /specd:feature:toolbox user-dashboard
155
+ /specd:toolbox user-dashboard
150
156
  ```
151
157
 
152
- Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when you want to jump to a specific action like running research mid-execution or inserting a phase between existing ones.
158
+ Opens a menu with: Discuss, Research, Plan, Execute, Review. Useful when you want to jump to a specific action outside the normal flow.
153
159
 
154
160
  ---
155
161
 
@@ -159,9 +165,9 @@ Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when yo
159
165
 
160
166
  | Command | Description |
161
167
  |---------|-------------|
162
- | `/specd:feature:new [name]` | Initialize a feature, start first discussion |
163
- | `/specd:feature:continue [name]` | **Drive the entire lifecycle** — picks up where you left off |
164
- | `/specd:feature:toolbox [name]` | Advanced operations: discuss, research, plan, review, insert |
168
+ | `/specd:new [name]` | Initialize a task, start first discussion |
169
+ | `/specd:continue [name] [--semi-auto\|--auto]` | **Drive the entire lifecycle** — picks up where you left off |
170
+ | `/specd:toolbox [name]` | Advanced operations: discuss, research, plan, execute, review |
165
171
 
166
172
  ### Codebase Documentation
167
173
 
@@ -173,7 +179,8 @@ Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when yo
173
179
 
174
180
  | Command | Description |
175
181
  |---------|-------------|
176
- | `/specd:status [--all]` | Show feature status dashboard |
182
+ | `/specd:config` | Configure auto-commit settings for docs and code |
183
+ | `/specd:status [--all]` | Show task status dashboard |
177
184
  | `/specd:help` | Show available commands |
178
185
  | `/specd:update` | Update to latest version |
179
186
 
@@ -181,30 +188,28 @@ Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when yo
181
188
 
182
189
  ## The Flow in Detail
183
190
 
184
- **`feature:new`** creates the feature folder and starts the first discussion. After initialization, offers to continue discussing or come back later with `feature:continue`. Output:
191
+ **`new`** creates the task folder and starts the first discussion. After initialization, offers to continue discussing or come back later with `continue`. Output:
185
192
  - `FEATURE.md` — Technical requirements from the conversation
186
193
  - `CONTEXT.md` — Discussion context (accumulates over time)
187
194
  - `DECISIONS.md` — Decisions with dates, rationale, and implications
188
195
  - `STATE.md` — Progress tracking
189
- - `config.json` — Feature configuration
196
+ - `config.json` — Task configuration
190
197
 
191
- **`feature:continue`** is the smart state machine. It reads `config.json` and `STATE.md` to determine where the feature is, shows a status summary, and offers the natural next step. After each action it loops back — you keep going until you choose to stop. Under the hood it delegates to these stages:
198
+ **`continue`** is the smart state machine. It reads `config.json` and `STATE.md` to determine where the task is, shows a status summary, and offers the natural next step. After each action it loops back — you keep going until you choose to stop. Under the hood it delegates to these stages:
192
199
 
193
200
  - **Discussion** — Probes gray areas, records decisions. Context accumulates across sessions.
194
201
  - **Research** — Spawns 3 parallel agents: codebase integration, external patterns, and pitfalls. Output: `RESEARCH.md`.
195
- - **Planning** — Creates `ROADMAP.md` with phases derived from dependency analysis, plus empty `plans/phase-{NN}/` directories.
196
- - **Phase preparation** — Discusses phase-specific gray areas, records resolutions to phase `CONTEXT.md` and `DECISIONS.md`. Optionally spawns research agents focused on the phase.
197
- - **Phase planning** — Creates detailed PLAN.md files. Each plan is a self-contained prompt for an implementing agent with exact file paths, code patterns, verification commands, and completion criteria. Plans are created just-in-time so they incorporate all context from preparation and earlier phases.
198
- - **Phase execution** — Implements plans with auto-fix for bugs/blockers, user confirmation for architectural changes, verification after each task, commits, and progress tracking in `STATE.md`.
199
- - **Phase review** — Reviews executed plans against actual code using git diff. Generates corrective plans if needed (fed back into execution). Review cycle tracked in `STATE.md`.
202
+ - **Planning** — Creates `ROADMAP.md` with phases derived from dependency analysis, plus one `phases/phase-NN/PLAN.md` per phase. Plans are self-contained prompts for an implementing agent.
203
+ - **Phase execution** — Implements plans with verification after each task, commits per task, and progress tracking in `STATE.md`.
204
+ - **Phase review** — Code review agent inspects executed code against plan intent using semantic analysis and git diff. Generates fix plans (decimal phases like `phase-01.1`) if needed.
200
205
 
201
- **`feature:toolbox`** provides direct access to advanced operations outside the normal flow:
206
+ **`toolbox`** provides direct access to advanced operations outside the normal flow:
202
207
 
203
- - **Discuss** — Explore open questions at the feature or phase level
208
+ - **Discuss** — Explore open questions, record decisions
204
209
  - **Research** — Spawn parallel agents for patterns/pitfalls
205
- - **Plan** — Create implementation plans for a specific phase
206
- - **Review** — Review executed work and report issues
207
- - **Insert phase** — Add a phase mid-development using decimal numbering (e.g., Phase 3.1 after Phase 3)
210
+ - **Plan** — Create execution phases from task context
211
+ - **Execute** — Execute the next phase's plan
212
+ - **Review** — Review executed phase, approve or request fixes
208
213
 
209
214
  ---
210
215
 
@@ -235,26 +240,26 @@ Specdacular spawns specialized agents that run simultaneously:
235
240
  - Faster execution (parallel, not sequential)
236
241
  - Agents write directly to files
237
242
 
238
- ### Feature Flow
243
+ ### Task Flow
239
244
 
240
245
  ```
241
- /specd:feature:new /specd:feature:continue
246
+ /specd:new /specd:continue
242
247
  │ │
243
248
  ▼ ▼
244
- Create feature ┌─── Read state ◀──────────────┐
249
+ Create task ┌─── Read state ◀──────────────┐
245
250
  First discussion │ Show status │
246
251
  Offer to continue │ Offer next step │
247
252
  │ │ │ │
248
253
  ▼ │ ▼ │
249
254
  "Keep discussing?" │ ┌──────────────┐ │
250
255
  Yes → discuss loop │ │ Execute the │ │
251
- No → feature:continue │ │ next action │ │
256
+ No → continue │ │ next action │ │
252
257
  │ └──────────────┘ │
253
258
  │ │ │
254
259
  │ ┌────┴────┐ │
255
260
  │ │ Discuss │ Research │
256
- │ │ Plan │ Prepare phase
257
- │ │ Execute │ Review phase
261
+ │ │ Plan │ Execute
262
+ │ │ Review
258
263
  │ └────┬────┘ │
259
264
  │ │ │
260
265
  │ ▼ │
@@ -262,19 +267,17 @@ Specdacular spawns specialized agents that run simultaneously:
262
267
  │ Continue ──────────────────┘
263
268
  │ Stop → clean exit
264
269
 
265
- └─── No features? → feature:new
270
+ └─── No tasks? → /specd:new
266
271
  ```
267
272
 
268
- **Under the hood,** `feature:continue` delegates to the same workflows as the toolbox operations:
273
+ **Under the hood,** `continue` delegates to specialized workflows:
269
274
 
270
275
  ```
271
- discussion → discuss-feature workflow
272
- research → research-feature workflow (3 parallel agents)
273
- planning → plan-feature workflow
274
- phase prep prepare-phase workflow
275
- phase plan plan-phase workflow
276
- execution → execute-plan workflow
277
- review → review-feature workflow
276
+ discussion → discuss workflow
277
+ research → research workflow (3 parallel agents)
278
+ planning → plan workflow
279
+ execution execute workflow
280
+ review review workflow (code review agent)
278
281
  ```
279
282
 
280
283
  ---
@@ -304,17 +307,17 @@ When it detects multiple projects (via `package.json`, `go.mod`, `Cargo.toml`, e
304
307
 
305
308
  ### Feature Planning
306
309
 
307
- `feature:new` conducts a system-level discussion, identifies which projects are involved, and creates per-project features with self-contained requirements. Each sub-project's `.specd/` works identically whether standalone or part of a multi-project setup.
310
+ `new` conducts a system-level discussion, identifies which projects are involved, and creates per-project tasks with self-contained requirements. Each sub-project's `.specd/` works identically whether standalone or part of a multi-project setup.
308
311
 
309
312
  Planning creates per-project roadmaps plus a cross-project dependency graph (`DEPENDENCIES.md`) with cycle validation.
310
313
 
311
314
  ### Execution & Scheduling
312
315
 
313
- `feature:continue` schedules across projects, respecting cross-project dependencies. After each phase, it performs contract review — comparing what was implemented against system-level expectations and flagging deviations before they cascade to downstream projects.
316
+ `continue` schedules across projects, respecting cross-project dependencies. After each phase, it performs contract review — comparing what was implemented against system-level expectations and flagging deviations before they cascade to downstream projects.
314
317
 
315
318
  ```
316
- /specd:feature:continue auth-system # Auto-picks next unblocked phase across projects
317
- /specd:feature:continue auth-system api # Target a specific sub-project
319
+ /specd:continue auth-system # Auto-picks next unblocked phase across projects
320
+ /specd:continue auth-system api # Target a specific sub-project
318
321
  ```
319
322
 
320
323
  ---
@@ -332,24 +335,19 @@ your-project/
332
335
  │ │ ├── STRUCTURE.md
333
336
  │ │ └── CONCERNS.md
334
337
  │ │
335
- │ └── features/ # From feature commands
338
+ │ └── tasks/ # From task commands
336
339
  │ └── user-dashboard/
337
340
  │ ├── FEATURE.md # Technical requirements
338
- │ ├── CONTEXT.md # Feature-level discussion
339
- │ ├── DECISIONS.md # Decision log (feature + phase)
341
+ │ ├── CONTEXT.md # Discussion context
342
+ │ ├── DECISIONS.md # Decision log
340
343
  │ ├── STATE.md # Progress tracking
341
- │ ├── RESEARCH.md # Feature-level research
342
- │ ├── ROADMAP.md # Phase overview (from feature:plan)
343
- │ └── plans/
344
+ │ ├── RESEARCH.md # Research findings
345
+ │ ├── ROADMAP.md # Phase overview
346
+ │ └── phases/
344
347
  │ ├── phase-01/
345
- │ │ ├── CONTEXT.md # Phase discussion
346
- │ │ ├── RESEARCH.md # Phase research
347
- │ │ ├── 01-PLAN.md # Detailed plans
348
- │ │ └── 02-PLAN.md
348
+ │ │ └── PLAN.md
349
349
  │ └── phase-02/
350
- ├── CONTEXT.md
351
- │ ├── RESEARCH.md
352
- │ └── 01-PLAN.md
350
+ └── PLAN.md
353
351
  └── ...
354
352
  ```
355
353
 
@@ -364,7 +362,7 @@ monorepo/
364
362
  │ │ ├── TOPOLOGY.md
365
363
  │ │ ├── CONTRACTS.md
366
364
  │ │ └── CONCERNS.md
367
- │ └── features/
365
+ │ └── tasks/
368
366
  │ └── auth-system/
369
367
  │ ├── FEATURE.md # System-level requirements
370
368
  │ ├── DEPENDENCIES.md # Cross-project dependency graph
@@ -378,17 +376,17 @@ monorepo/
378
376
  │ │ ├── PATTERNS.md
379
377
  │ │ ├── STRUCTURE.md
380
378
  │ │ └── CONCERNS.md
381
- │ └── features/
379
+ │ └── tasks/
382
380
  │ └── auth-system/
383
381
  │ ├── FEATURE.md # Project-specific requirements
384
382
  │ ├── ROADMAP.md # Per-project phases
385
- │ └── plans/...
383
+ │ └── phases/...
386
384
 
387
385
  └── web/
388
386
  └── .specd/ # Another sub-project
389
387
  ├── config.json
390
388
  ├── codebase/...
391
- └── features/...
389
+ └── tasks/...
392
390
  ```
393
391
 
394
392
  ---
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: specd:continue
3
+ description: Continue task lifecycle — picks up where you left off
4
+ argument-hint: "[task-name] [--semi-auto|--auto]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+
16
+ <objective>
17
+ Smart state machine that reads current task state and drives the entire lifecycle. One command from discussion through execution and review.
18
+
19
+ **Modes:**
20
+ - **Default (interactive):** Prompts at each stage transition
21
+ - **--semi-auto:** Auto-runs discuss→research→plan, pauses after each phase execution + review
22
+ - **--auto:** Runs everything, only stops on review issues or task completion
23
+
24
+ **How it works:**
25
+ 1. Select task (from argument or picker)
26
+ 2. Read current state
27
+ 3. Determine natural next step
28
+ 4. Execute it (delegating to workflows)
29
+ 5. Loop back — offer the next step or stop
30
+
31
+ **Covers the full lifecycle:**
32
+ - Discussion → Research → Planning → Execution → Review → Next phase
33
+ </objective>
34
+
35
+ <execution_context>
36
+ @~/.claude/specdacular/workflows/continue.md
37
+ </execution_context>
38
+
39
+ <context>
40
+ Task name and flags: $ARGUMENTS
41
+
42
+ **Scans for tasks:**
43
+ @.specd/tasks/*/config.json
44
+
45
+ **Delegates to workflows:**
46
+ @~/.claude/specdacular/workflows/discuss.md
47
+ @~/.claude/specdacular/workflows/research.md
48
+ @~/.claude/specdacular/workflows/plan.md
49
+ @~/.claude/specdacular/workflows/execute.md
50
+ @~/.claude/specdacular/workflows/review.md
51
+ </context>
52
+
53
+ <success_criteria>
54
+ - [ ] Task selected (from argument or picker)
55
+ - [ ] Current state accurately assessed
56
+ - [ ] Correct next action offered/executed
57
+ - [ ] Mode flags (--semi-auto, --auto) respected
58
+ - [ ] User can stop at any natural boundary
59
+ </success_criteria>
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: specd:new
3
+ description: Initialize a new task and start the first discussion
4
+ argument-hint: "[task-name]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - Write
11
+ - AskUserQuestion
12
+ ---
13
+
14
+ <objective>
15
+ Initialize a task folder and start the first discussion. Creates structure, asks initial questions about what's being built, and writes technical requirements. After initialization, offers to continue discussing or stop.
16
+
17
+ **Creates:**
18
+ - `.specd/tasks/{name}/FEATURE.md` — Technical requirements from discussion
19
+ - `.specd/tasks/{name}/CONTEXT.md` — Discussion context (accumulates over time)
20
+ - `.specd/tasks/{name}/DECISIONS.md` — Memory file for decisions with rationale
21
+ - `.specd/tasks/{name}/CHANGELOG.md` — Implementation log
22
+ - `.specd/tasks/{name}/STATE.md` — Progress tracking
23
+ - `.specd/tasks/{name}/config.json` — Task configuration
24
+
25
+ **This is the entry point.** After this, continue with `/specd:continue` to drive the entire lifecycle.
26
+ </objective>
27
+
28
+ <execution_context>
29
+ @~/.claude/specdacular/workflows/new.md
30
+ </execution_context>
31
+
32
+ <context>
33
+ Task name: $ARGUMENTS
34
+
35
+ **Codebase context discovery:**
36
+ 1. Check for `.specd/config.json` — if exists, read `codebase_docs` path
37
+ 2. If no config, check for `.specd/codebase/` (default location)
38
+ 3. If neither found, offer `/specd:map-codebase`
39
+
40
+ **Referenced docs (when available):**
41
+ - `MAP.md` — System structure
42
+ - `PATTERNS.md` — Code patterns
43
+ - `STRUCTURE.md` — Directory layout
44
+ </context>
45
+
46
+ <process>
47
+ 1. **Validate** — Check name, check if exists
48
+ 2. **Codebase Context** — Look for codebase docs (offer map-codebase if missing)
49
+ 3. **First Discussion** — "What are you building?"
50
+ 4. **Follow the Thread** — Collaborative, not interrogative
51
+ 5. **Probe Until Clear** — What creates, what integrates with, constraints
52
+ 6. **Write Documents** — FEATURE.md, CONTEXT.md, DECISIONS.md, CHANGELOG.md, STATE.md, config.json
53
+ 7. **Commit and Present Options**
54
+ </process>
55
+
56
+ <success_criteria>
57
+ - [ ] Task folder created at `.specd/tasks/{name}/`
58
+ - [ ] FEATURE.md captures technical requirements
59
+ - [ ] CONTEXT.md initialized with discussion context
60
+ - [ ] DECISIONS.md initialized (possibly with initial decisions)
61
+ - [ ] STATE.md tracks current position
62
+ - [ ] config.json created
63
+ - [ ] Committed to git
64
+ - [ ] User offered to continue with `/specd:continue`
65
+ </success_criteria>
@@ -9,7 +9,7 @@ allowed-tools:
9
9
  ---
10
10
 
11
11
  <objective>
12
- Display a dashboard showing all features and their current status, stage, plan progress, and recommended next action.
12
+ Display a dashboard showing all tasks and their current status, stage, plan progress, and recommended next action.
13
13
 
14
14
  - By default, hide completed features
15
15
  - With `--all` flag, show completed features in a separate section
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: specd:toolbox
3
+ description: "Advanced task operations — discuss, research, plan, execute, review"
4
+ argument-hint: "[task-name]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ - WebSearch
15
+ - WebFetch
16
+ ---
17
+
18
+ <objective>
19
+ Menu of advanced task operations. Presents options and dispatches to the appropriate workflow.
20
+
21
+ **Operations:**
22
+ - **Discuss** — Explore open questions, record decisions
23
+ - **Research** — Spawn parallel research agents
24
+ - **Plan** — Create execution phases from task context
25
+ - **Execute** — Execute the next phase's plan
26
+ - **Review** — Review executed phase, approve or request fixes
27
+ </objective>
28
+
29
+ <execution_context>
30
+ First, select the task using:
31
+ @~/.claude/specdacular/references/validate-task.md
32
+
33
+ Then present the menu using AskUserQuestion:
34
+ - header: "Operation"
35
+ - question: "What would you like to do with {task-name}?"
36
+ - options:
37
+ - "Discuss" — Explore gray areas and record decisions
38
+ - "Research" — Spawn parallel agents for patterns/pitfalls
39
+ - "Plan" — Create execution phases
40
+ - "Execute" — Execute the next phase
41
+ - "Review" — Review executed phase
42
+
43
+ Based on selection, delegate to the appropriate workflow:
44
+ - Discuss → @~/.claude/specdacular/workflows/discuss.md
45
+ - Research → @~/.claude/specdacular/workflows/research.md
46
+ - Plan → @~/.claude/specdacular/workflows/plan.md
47
+ - Execute → @~/.claude/specdacular/workflows/execute.md
48
+ - Review → @~/.claude/specdacular/workflows/review.md
49
+ </execution_context>
50
+
51
+ <context>
52
+ Task name: $ARGUMENTS
53
+ </context>
54
+
55
+ <success_criteria>
56
+ - [ ] Task selected (from argument or picker)
57
+ - [ ] Menu presented with operations
58
+ - [ ] Selected operation executed via correct workflow
59
+ </success_criteria>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specdacular",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Feature planning system for existing codebases. Map, understand, and plan features in large projects.",
5
5
  "bin": {
6
6
  "specdacular": "bin/install.js"
@@ -8,46 +8,49 @@
8
8
 
9
9
  | Command | Description |
10
10
  |---------|-------------|
11
- | `/specd:feature:new [name]` | Initialize a feature, start first discussion |
12
- | `/specd:feature:continue [name]` | Continue feature lifecycle — picks up where you left off |
13
- | `/specd:feature:toolbox [name]` | Advanced operations: discuss, research, plan, review, insert |
11
+ | `/specd:new [name]` | Initialize a task, start first discussion |
12
+ | `/specd:continue [name] [--semi-auto\|--auto]` | Continue task lifecycle — picks up where you left off |
13
+
14
+ | `/specd:toolbox [name]` | Advanced operations: discuss, research, plan, execute, review |
14
15
 
15
16
  ### Utilities
16
17
 
17
18
  | Command | Description |
18
19
  |---------|-------------|
19
20
  | `/specd:map-codebase` | Analyze codebase with parallel agents → AI-optimized docs |
20
- | `/specd:status [--all]` | Show feature status dashboard |
21
+ | `/specd:config` | Configure auto-commit settings for docs and code |
22
+ | `/specd:status [--all]` | Show task status dashboard |
21
23
  | `/specd:help` | Show this help |
22
24
  | `/specd:update` | Update Specdacular to the latest version |
23
25
 
24
26
  ---
25
27
 
26
- ## Feature Flow
28
+ ## Task Flow
27
29
 
28
30
  ```
29
- /specd:feature:new → /specd:feature:continue → continue → continue → done
31
+ /specd:new → /specd:continue → continue → continue → done
30
32
  ```
31
33
 
32
34
  **You only need three commands:**
33
35
 
34
- 1. **`/specd:feature:new [name]`** — Start here. Creates feature folder, asks initial questions.
35
- 2. **`/specd:feature:continue [name]`** — Picks up where you left off. Drives the entire lifecycle:
36
+ 1. **`/specd:new [name]`** — Start here. Creates task folder, asks initial questions.
37
+ 2. **`/specd:continue [name]`** — Picks up where you left off. Drives the entire lifecycle:
36
38
  - Discussion → Research → Planning → Phase Execution → Review
37
39
  - After each step, offers the next step or "stop for now"
38
40
  - Works across context windows — reads state fresh each time
39
- 3. **`/specd:feature:toolbox [name]`** Advanced operations menu:
40
- - **Discuss**Explore open questions (feature or phase level)
41
+ - Modes: interactive (default), `--semi-auto` (auto through planning, pause after review), `--auto` (run everything)
42
+ 3. **`/specd:toolbox [name]`** Advanced operations menu:
43
+ - **Discuss** — Explore open questions, record decisions
41
44
  - **Research** — Spawn parallel agents for patterns/pitfalls
42
- - **Plan** — Create implementation plans
43
- - **Review** — Review executed work, report issues
44
- - **Insert phase** — Add a phase mid-development (decimal numbering)
45
+ - **Plan** — Create execution phases
46
+ - **Execute** — Execute the next phase
47
+ - **Review** — Review executed phase, approve or request fixes
45
48
 
46
49
  ### Quick Start
47
50
 
48
51
  ```
49
- /specd:feature:new user-dashboard
50
- /specd:feature:continue user-dashboard
52
+ /specd:new user-dashboard
53
+ /specd:continue user-dashboard
51
54
  ```
52
55
 
53
56
  After initialization, just keep running `continue`. It figures out what's next.
@@ -81,4 +84,4 @@ Or manually: `npx specdacular@latest`
81
84
 
82
85
  ---
83
86
 
84
- GitHub: https://github.com/vlad-ds/specdacular
87
+ GitHub: https://github.com/victorbalan/specdacular
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: feature-researcher
3
- description: Researches implementation patterns, libraries, and pitfalls for features. Spawned by /specd:feature:research and /specd:phase:prepare.
3
+ description: Researches implementation patterns, libraries, and pitfalls for features. Spawned by /specd:research and /specd:research (phase-level).
4
4
  tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch
5
5
  ---
6
6
 
@@ -8,9 +8,9 @@ tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch
8
8
  You are a feature researcher. You investigate how to implement a specific feature well, producing findings that directly inform planning.
9
9
 
10
10
  You are spawned by:
11
- - `/specd:feature:research` orchestrator (parallel research)
12
- - `/specd:phase:prepare` (when user opts into research)
13
- - `/specd:phase:research` (standalone phase research)
11
+ - `/specd:research` orchestrator (parallel research)
12
+ - `/specd:research (phase-level)` (when user opts into research)
13
+ - `/specd:research` (standalone phase research)
14
14
 
15
15
  Your job: Answer "What do I need to know to IMPLEMENT this feature well?" Produce structured findings that the synthesizer combines into RESEARCH.md.
16
16