specdacular 0.7.2 → 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 +71 -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 +17 -15
  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
 
@@ -174,7 +180,7 @@ Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when yo
174
180
  | Command | Description |
175
181
  |---------|-------------|
176
182
  | `/specd:config` | Configure auto-commit settings for docs and code |
177
- | `/specd:status [--all]` | Show feature status dashboard |
183
+ | `/specd:status [--all]` | Show task status dashboard |
178
184
  | `/specd:help` | Show available commands |
179
185
  | `/specd:update` | Update to latest version |
180
186
 
@@ -182,30 +188,28 @@ Opens a menu with: Discuss, Research, Plan, Review, Insert phase. Useful when yo
182
188
 
183
189
  ## The Flow in Detail
184
190
 
185
- **`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:
186
192
  - `FEATURE.md` — Technical requirements from the conversation
187
193
  - `CONTEXT.md` — Discussion context (accumulates over time)
188
194
  - `DECISIONS.md` — Decisions with dates, rationale, and implications
189
195
  - `STATE.md` — Progress tracking
190
- - `config.json` — Feature configuration
196
+ - `config.json` — Task configuration
191
197
 
192
- **`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:
193
199
 
194
200
  - **Discussion** — Probes gray areas, records decisions. Context accumulates across sessions.
195
201
  - **Research** — Spawns 3 parallel agents: codebase integration, external patterns, and pitfalls. Output: `RESEARCH.md`.
196
- - **Planning** — Creates `ROADMAP.md` with phases derived from dependency analysis, plus empty `plans/phase-{NN}/` directories.
197
- - **Phase preparation** — Discusses phase-specific gray areas, records resolutions to phase `CONTEXT.md` and `DECISIONS.md`. Optionally spawns research agents focused on the phase.
198
- - **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.
199
- - **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`.
200
- - **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.
201
205
 
202
- **`feature:toolbox`** provides direct access to advanced operations outside the normal flow:
206
+ **`toolbox`** provides direct access to advanced operations outside the normal flow:
203
207
 
204
- - **Discuss** — Explore open questions at the feature or phase level
208
+ - **Discuss** — Explore open questions, record decisions
205
209
  - **Research** — Spawn parallel agents for patterns/pitfalls
206
- - **Plan** — Create implementation plans for a specific phase
207
- - **Review** — Review executed work and report issues
208
- - **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
209
213
 
210
214
  ---
211
215
 
@@ -236,26 +240,26 @@ Specdacular spawns specialized agents that run simultaneously:
236
240
  - Faster execution (parallel, not sequential)
237
241
  - Agents write directly to files
238
242
 
239
- ### Feature Flow
243
+ ### Task Flow
240
244
 
241
245
  ```
242
- /specd:feature:new /specd:feature:continue
246
+ /specd:new /specd:continue
243
247
  │ │
244
248
  ▼ ▼
245
- Create feature ┌─── Read state ◀──────────────┐
249
+ Create task ┌─── Read state ◀──────────────┐
246
250
  First discussion │ Show status │
247
251
  Offer to continue │ Offer next step │
248
252
  │ │ │ │
249
253
  ▼ │ ▼ │
250
254
  "Keep discussing?" │ ┌──────────────┐ │
251
255
  Yes → discuss loop │ │ Execute the │ │
252
- No → feature:continue │ │ next action │ │
256
+ No → continue │ │ next action │ │
253
257
  │ └──────────────┘ │
254
258
  │ │ │
255
259
  │ ┌────┴────┐ │
256
260
  │ │ Discuss │ Research │
257
- │ │ Plan │ Prepare phase
258
- │ │ Execute │ Review phase
261
+ │ │ Plan │ Execute
262
+ │ │ Review
259
263
  │ └────┬────┘ │
260
264
  │ │ │
261
265
  │ ▼ │
@@ -263,19 +267,17 @@ Specdacular spawns specialized agents that run simultaneously:
263
267
  │ Continue ──────────────────┘
264
268
  │ Stop → clean exit
265
269
 
266
- └─── No features? → feature:new
270
+ └─── No tasks? → /specd:new
267
271
  ```
268
272
 
269
- **Under the hood,** `feature:continue` delegates to the same workflows as the toolbox operations:
273
+ **Under the hood,** `continue` delegates to specialized workflows:
270
274
 
271
275
  ```
272
- discussion → discuss-feature workflow
273
- research → research-feature workflow (3 parallel agents)
274
- planning → plan-feature workflow
275
- phase prep prepare-phase workflow
276
- phase plan plan-phase workflow
277
- execution → execute-plan workflow
278
- 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)
279
281
  ```
280
282
 
281
283
  ---
@@ -305,17 +307,17 @@ When it detects multiple projects (via `package.json`, `go.mod`, `Cargo.toml`, e
305
307
 
306
308
  ### Feature Planning
307
309
 
308
- `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.
309
311
 
310
312
  Planning creates per-project roadmaps plus a cross-project dependency graph (`DEPENDENCIES.md`) with cycle validation.
311
313
 
312
314
  ### Execution & Scheduling
313
315
 
314
- `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.
315
317
 
316
318
  ```
317
- /specd:feature:continue auth-system # Auto-picks next unblocked phase across projects
318
- /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
319
321
  ```
320
322
 
321
323
  ---
@@ -333,24 +335,19 @@ your-project/
333
335
  │ │ ├── STRUCTURE.md
334
336
  │ │ └── CONCERNS.md
335
337
  │ │
336
- │ └── features/ # From feature commands
338
+ │ └── tasks/ # From task commands
337
339
  │ └── user-dashboard/
338
340
  │ ├── FEATURE.md # Technical requirements
339
- │ ├── CONTEXT.md # Feature-level discussion
340
- │ ├── DECISIONS.md # Decision log (feature + phase)
341
+ │ ├── CONTEXT.md # Discussion context
342
+ │ ├── DECISIONS.md # Decision log
341
343
  │ ├── STATE.md # Progress tracking
342
- │ ├── RESEARCH.md # Feature-level research
343
- │ ├── ROADMAP.md # Phase overview (from feature:plan)
344
- │ └── plans/
344
+ │ ├── RESEARCH.md # Research findings
345
+ │ ├── ROADMAP.md # Phase overview
346
+ │ └── phases/
345
347
  │ ├── phase-01/
346
- │ │ ├── CONTEXT.md # Phase discussion
347
- │ │ ├── RESEARCH.md # Phase research
348
- │ │ ├── 01-PLAN.md # Detailed plans
349
- │ │ └── 02-PLAN.md
348
+ │ │ └── PLAN.md
350
349
  │ └── phase-02/
351
- ├── CONTEXT.md
352
- │ ├── RESEARCH.md
353
- │ └── 01-PLAN.md
350
+ └── PLAN.md
354
351
  └── ...
355
352
  ```
356
353
 
@@ -365,7 +362,7 @@ monorepo/
365
362
  │ │ ├── TOPOLOGY.md
366
363
  │ │ ├── CONTRACTS.md
367
364
  │ │ └── CONCERNS.md
368
- │ └── features/
365
+ │ └── tasks/
369
366
  │ └── auth-system/
370
367
  │ ├── FEATURE.md # System-level requirements
371
368
  │ ├── DEPENDENCIES.md # Cross-project dependency graph
@@ -379,17 +376,17 @@ monorepo/
379
376
  │ │ ├── PATTERNS.md
380
377
  │ │ ├── STRUCTURE.md
381
378
  │ │ └── CONCERNS.md
382
- │ └── features/
379
+ │ └── tasks/
383
380
  │ └── auth-system/
384
381
  │ ├── FEATURE.md # Project-specific requirements
385
382
  │ ├── ROADMAP.md # Per-project phases
386
- │ └── plans/...
383
+ │ └── phases/...
387
384
 
388
385
  └── web/
389
386
  └── .specd/ # Another sub-project
390
387
  ├── config.json
391
388
  ├── codebase/...
392
- └── features/...
389
+ └── tasks/...
393
390
  ```
394
391
 
395
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.2",
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,9 +8,10 @@
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
 
@@ -18,37 +19,38 @@
18
19
  |---------|-------------|
19
20
  | `/specd:map-codebase` | Analyze codebase with parallel agents → AI-optimized docs |
20
21
  | `/specd:config` | Configure auto-commit settings for docs and code |
21
- | `/specd:status [--all]` | Show feature status dashboard |
22
+ | `/specd:status [--all]` | Show task status dashboard |
22
23
  | `/specd:help` | Show this help |
23
24
  | `/specd:update` | Update Specdacular to the latest version |
24
25
 
25
26
  ---
26
27
 
27
- ## Feature Flow
28
+ ## Task Flow
28
29
 
29
30
  ```
30
- /specd:feature:new → /specd:feature:continue → continue → continue → done
31
+ /specd:new → /specd:continue → continue → continue → done
31
32
  ```
32
33
 
33
34
  **You only need three commands:**
34
35
 
35
- 1. **`/specd:feature:new [name]`** — Start here. Creates feature folder, asks initial questions.
36
- 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:
37
38
  - Discussion → Research → Planning → Phase Execution → Review
38
39
  - After each step, offers the next step or "stop for now"
39
40
  - Works across context windows — reads state fresh each time
40
- 3. **`/specd:feature:toolbox [name]`** Advanced operations menu:
41
- - **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
42
44
  - **Research** — Spawn parallel agents for patterns/pitfalls
43
- - **Plan** — Create implementation plans
44
- - **Review** — Review executed work, report issues
45
- - **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
46
48
 
47
49
  ### Quick Start
48
50
 
49
51
  ```
50
- /specd:feature:new user-dashboard
51
- /specd:feature:continue user-dashboard
52
+ /specd:new user-dashboard
53
+ /specd:continue user-dashboard
52
54
  ```
53
55
 
54
56
  After initialization, just keep running `continue`. It figures out what's next.
@@ -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