specflow-cc 1.1.0 → 1.3.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.
@@ -29,7 +29,7 @@ Restore the work context from the last pause. Reads the pause file, displays ful
29
29
  ```
30
30
  SpecFlow not initialized.
31
31
 
32
- Run `/sf init` to start.
32
+ Run `/sf:init` to start.
33
33
  ```
34
34
  Exit.
35
35
 
@@ -48,9 +48,9 @@ ls -1 .specflow/sessions/PAUSE-*.md 2>/dev/null | sort -r | head -1
48
48
  No paused session found.
49
49
 
50
50
  **Options:**
51
- - `/sf status` — view current state
52
- - `/sf next` — find next task to work on
53
- - `/sf list` — see all specifications
51
+ - `/sf:status` — view current state
52
+ - `/sf:next` — find next task to work on
53
+ - `/sf:list` — see all specifications
54
54
  ```
55
55
  Exit.
56
56
 
@@ -228,7 +228,7 @@ Based on your notes and progress:
228
228
  If more than 5 pause files exist, suggest cleanup:
229
229
 
230
230
  ```
231
- **Note:** {N} old pause files in sessions/. Run `/sf history` to review or clean up.
231
+ **Note:** {N} old pause files in sessions/. Run `/sf:history` to review or clean up.
232
232
  ```
233
233
 
234
234
  </workflow>
@@ -32,7 +32,7 @@ Review the implementation of the active specification in a fresh context. The re
32
32
  ```
33
33
  SpecFlow not initialized.
34
34
 
35
- Run `/sf init` first.
35
+ Run `/sf:init` first.
36
36
  ```
37
37
  Exit.
38
38
 
@@ -44,7 +44,7 @@ Read `.specflow/STATE.md` and extract Active Specification.
44
44
  ```
45
45
  No active specification to review.
46
46
 
47
- Run `/sf new "task description"` to create one.
47
+ Run `/sf:new "task description"` to create one.
48
48
  ```
49
49
  Exit.
50
50
 
@@ -57,10 +57,10 @@ Read the active spec file: `.specflow/specs/SPEC-XXX.md`
57
57
  Specification SPEC-XXX is not ready for review (status: {status}).
58
58
 
59
59
  {If status is draft/auditing/revision_requested:}
60
- Run `/sf run` first to implement the specification.
60
+ Run `/sf:run` first to implement the specification.
61
61
 
62
62
  {If status is done:}
63
- Specification already completed. Use `/sf history` to view archived specs.
63
+ Specification already completed. Use `/sf:history` to view archived specs.
64
64
  ```
65
65
  Exit.
66
66
 
@@ -72,7 +72,7 @@ Check that Execution Summary exists in spec:
72
72
  ```
73
73
  No implementation found for SPEC-XXX.
74
74
 
75
- Run `/sf run` to execute the specification first.
75
+ Run `/sf:run` to execute the specification first.
76
76
  ```
77
77
  Exit.
78
78
 
@@ -108,7 +108,7 @@ The agent will:
108
108
 
109
109
  ## Step 7: Display Result
110
110
 
111
- ### If APPROVED:
111
+ ### If APPROVED (no minor issues):
112
112
 
113
113
  ```
114
114
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -131,9 +131,48 @@ The agent will:
131
131
 
132
132
  ---
133
133
 
134
+ 📄 File: .specflow/specs/SPEC-XXX.md
135
+
136
+ ---
137
+
134
138
  ## Next Step
135
139
 
136
- `/sf done` — finalize and archive specification
140
+ `/sf:done` — finalize and archive specification
141
+ ```
142
+
143
+ ### If APPROVED (with minor suggestions):
144
+
145
+ ```
146
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
147
+ REVIEW PASSED
148
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
149
+
150
+ **Specification:** SPEC-XXX
151
+ **Result:** APPROVED
152
+
153
+ ### Verified
154
+
155
+ - [✓] All acceptance criteria met
156
+ - [✓] All files created
157
+ - [✓] All deletions performed
158
+ - [✓] Code quality acceptable
159
+
160
+ ### Minor Suggestions (Optional)
161
+
162
+ 1. {Suggestion 1}
163
+ 2. {Suggestion 2}
164
+
165
+ ---
166
+
167
+ 📄 File: .specflow/specs/SPEC-XXX.md
168
+
169
+ ---
170
+
171
+ ## Next Steps
172
+
173
+ Choose one:
174
+ • `/sf:done` — finalize and archive as-is
175
+ • `/sf:fix` — apply minor suggestions first ({N} items)
137
176
  ```
138
177
 
139
178
  ### If CHANGES_REQUESTED:
@@ -169,14 +208,18 @@ The agent will:
169
208
 
170
209
  ---
171
210
 
211
+ 📄 File: .specflow/specs/SPEC-XXX.md
212
+
213
+ ---
214
+
172
215
  ## Next Step
173
216
 
174
- `/sf fix` — address the issues
217
+ `/sf:fix` — address the issues
175
218
 
176
219
  Options:
177
- - `/sf fix all` — apply all fixes
178
- - `/sf fix 1,2` — fix specific issues
179
- - `/sf fix [instructions]` — custom fixes
220
+ - `/sf:fix all` — apply all fixes
221
+ - `/sf:fix 1,2` — fix specific issues
222
+ - `/sf:fix [instructions]` — custom fixes
180
223
  ```
181
224
 
182
225
  </workflow>
@@ -239,8 +282,8 @@ Append Review History to spec.
239
282
 
240
283
  ### Update STATE.md
241
284
 
242
- - If APPROVED: Status → "done", Next Step → "/sf done"
243
- - If CHANGES_REQUESTED: Status → "review", Next Step → "/sf fix"
285
+ - If APPROVED: Status → "done", Next Step → "/sf:done"
286
+ - If CHANGES_REQUESTED: Status → "review", Next Step → "/sf:fix"
244
287
 
245
288
  </fallback>
246
289
 
@@ -33,7 +33,7 @@ Revise the active specification based on audit feedback. Can apply all comments,
33
33
  ```
34
34
  SpecFlow not initialized.
35
35
 
36
- Run `/sf init` first.
36
+ Run `/sf:init` first.
37
37
  ```
38
38
  Exit.
39
39
 
@@ -45,7 +45,7 @@ Read `.specflow/STATE.md` and extract Active Specification.
45
45
  ```
46
46
  No active specification to revise.
47
47
 
48
- Run `/sf new "task description"` to create one.
48
+ Run `/sf:new "task description"` to create one.
49
49
  ```
50
50
  Exit.
51
51
 
@@ -57,7 +57,7 @@ Read the active spec file: `.specflow/specs/SPEC-XXX.md`
57
57
  ```
58
58
  Specification SPEC-XXX cannot be revised (status: {status}).
59
59
 
60
- Use `/sf status` to see current state.
60
+ Use `/sf:status` to see current state.
61
61
  ```
62
62
  Exit.
63
63
 
@@ -69,7 +69,7 @@ Find the most recent "Audit v[N]" section in Audit History.
69
69
  ```
70
70
  Specification SPEC-XXX has no audit history.
71
71
 
72
- Run `/sf audit` first to get feedback.
72
+ Run `/sf:audit` first to get feedback.
73
73
  ```
74
74
  Exit.
75
75
 
@@ -165,9 +165,15 @@ The agent will:
165
165
 
166
166
  ---
167
167
 
168
+ 📄 File: .specflow/specs/SPEC-XXX.md
169
+
170
+ ---
171
+
168
172
  ## Next Step
169
173
 
170
- `/sf audit` — re-audit revised specification
174
+ `/sf:audit` — re-audit revised specification
175
+
176
+ <sub>/clear recommended → auditor needs fresh context</sub>
171
177
  ```
172
178
 
173
179
  </workflow>
@@ -216,7 +222,7 @@ In spec frontmatter: `status: auditing`
216
222
 
217
223
  In STATE.md:
218
224
  - Status → "auditing"
219
- - Next Step → "/sf audit"
225
+ - Next Step → "/sf:audit"
220
226
 
221
227
  </fallback>
222
228
 
@@ -34,7 +34,7 @@ Execute the active specification by implementing all requirements. Creates atomi
34
34
  ```
35
35
  SpecFlow not initialized.
36
36
 
37
- Run `/sf init` first.
37
+ Run `/sf:init` first.
38
38
  ```
39
39
  Exit.
40
40
 
@@ -46,7 +46,7 @@ Read `.specflow/STATE.md` and extract Active Specification.
46
46
  ```
47
47
  No active specification to execute.
48
48
 
49
- Run `/sf new "task description"` to create one.
49
+ Run `/sf:new "task description"` to create one.
50
50
  ```
51
51
  Exit.
52
52
 
@@ -93,7 +93,7 @@ Continue anyway?
93
93
 
94
94
  Use AskUserQuestion with options:
95
95
  - "Yes, proceed anyway" → continue, log warning
96
- - "No, run audit first" → exit with `/sf audit` suggestion
96
+ - "No, run audit first" → exit with `/sf:audit` suggestion
97
97
 
98
98
  **If user proceeds anyway:**
99
99
  Log in STATE.md Warnings table:
@@ -198,9 +198,15 @@ The agent will:
198
198
 
199
199
  ---
200
200
 
201
+ 📄 File: .specflow/specs/SPEC-XXX.md
202
+
203
+ ---
204
+
201
205
  ## Next Step
202
206
 
203
- `/sf review` — audit the implementation
207
+ `/sf:review` — audit the implementation
208
+
209
+ <sub>/clear recommended → reviewer needs fresh context</sub>
204
210
  ```
205
211
 
206
212
  </workflow>
@@ -248,7 +254,7 @@ Append Execution Summary to spec.
248
254
  ### Update STATE.md
249
255
 
250
256
  - Status → "review"
251
- - Next Step → "/sf review"
257
+ - Next Step → "/sf:review"
252
258
 
253
259
  </fallback>
254
260
 
@@ -39,7 +39,7 @@ Valid focus areas:
39
39
  ```
40
40
  ⚠️ Project not initialized
41
41
 
42
- Run /sf init first to set up SpecFlow.
42
+ Run /sf:init first to set up SpecFlow.
43
43
  ```
44
44
  STOP.
45
45
 
@@ -113,8 +113,8 @@ Top Priority Issues:
113
113
  📁 Full report: .specflow/SCAN.md
114
114
 
115
115
  Next steps:
116
- • /sf new "Fix: {top concern}" — Create spec for top issue
117
- • /sf todo {concern} — Add to backlog for later
116
+ • /sf:new "Fix: {top concern}" — Create spec for top issue
117
+ • /sf:todo {concern} — Add to backlog for later
118
118
  ```
119
119
 
120
120
  </workflow>
@@ -31,7 +31,7 @@ Display the full content of a specification including context, task, requirement
31
31
  ```
32
32
  SpecFlow not initialized.
33
33
 
34
- Run `/sf init` to start.
34
+ Run `/sf:init` to start.
35
35
  ```
36
36
  Exit.
37
37
 
@@ -47,8 +47,8 @@ Read `.specflow/STATE.md` and get Active Specification.
47
47
  ```
48
48
  No specification specified and no active specification.
49
49
 
50
- Use `/sf show SPEC-XXX` to view a specific spec
51
- or `/sf list` to see all specifications.
50
+ Use `/sf:show SPEC-XXX` to view a specific spec
51
+ or `/sf:list` to see all specifications.
52
52
  ```
53
53
  Exit.
54
54
 
@@ -66,7 +66,7 @@ Exit.
66
66
  ```
67
67
  Specification {ID} not found.
68
68
 
69
- Use `/sf list` to see available specifications.
69
+ Use `/sf:list` to see available specifications.
70
70
  ```
71
71
  Exit.
72
72
 
@@ -101,12 +101,12 @@ Based on current status:
101
101
 
102
102
  | Status | Recommended Action |
103
103
  |--------|-------------------|
104
- | draft | `/sf audit` — audit specification |
105
- | auditing | Complete audit or `/sf revise` |
106
- | revision_requested | `/sf revise` — address comments |
107
- | audited | `/sf run` — implement specification |
108
- | running | Continue implementation or `/sf review` |
109
- | review | `/sf fix` or `/sf done` |
104
+ | draft | `/sf:audit` — audit specification |
105
+ | auditing | Complete audit or `/sf:revise` |
106
+ | revision_requested | `/sf:revise` — address comments |
107
+ | audited | `/sf:run` — implement specification |
108
+ | running | Continue implementation or `/sf:review` |
109
+ | review | `/sf:fix` or `/sf:done` |
110
110
  | done | No action (archived) |
111
111
 
112
112
  ## Step 7: Display Specification
@@ -174,8 +174,8 @@ Based on current status:
174
174
  ```
175
175
  This specification is complete and archived.
176
176
 
177
- To view active specs: `/sf list`
178
- To see completed history: `/sf history`
177
+ To view active specs: `/sf:list`
178
+ To see completed history: `/sf:history`
179
179
  ```
180
180
 
181
181
  **If spec has outstanding issues:**
@@ -186,7 +186,7 @@ From {audit/review} v{N}:
186
186
  1. {issue}
187
187
  2. {issue}
188
188
 
189
- Address with `/sf revise` or `/sf fix`.
189
+ Address with `/sf:revise` or `/sf:fix`.
190
190
  ```
191
191
 
192
192
  </workflow>
@@ -37,7 +37,7 @@ Analyze a specification's complexity and split it into smaller, manageable sub-s
37
37
  ```
38
38
  SpecFlow not initialized.
39
39
 
40
- Run `/sf init` first.
40
+ Run `/sf:init` first.
41
41
  ```
42
42
  Exit.
43
43
 
@@ -52,7 +52,7 @@ Exit.
52
52
  ```
53
53
  Specification {ID} not found.
54
54
 
55
- Use `/sf list` to see available specifications.
55
+ Use `/sf:list` to see available specifications.
56
56
  ```
57
57
  Exit.
58
58
 
@@ -65,8 +65,8 @@ Read active specification from `.specflow/STATE.md`:
65
65
  ```
66
66
  No specification specified and no active specification.
67
67
 
68
- Usage: `/sf split SPEC-001`
69
- or: Set active spec with `/sf show SPEC-001`
68
+ Usage: `/sf:split SPEC-001`
69
+ or: Set active spec with `/sf:show SPEC-001`
70
70
  ```
71
71
  Exit.
72
72
 
@@ -88,7 +88,7 @@ Read the specification and assess complexity:
88
88
 
89
89
  This specification is small enough to implement directly.
90
90
 
91
- **Next Step:** `/sf audit {ID}` — audit before implementation
91
+ **Next Step:** `/sf:audit {ID}` — audit before implementation
92
92
  ```
93
93
  Exit.
94
94
 
@@ -241,9 +241,9 @@ Exit.
241
241
 
242
242
  ## Next Step
243
243
 
244
- `/sf audit {ID}a` — start with first sub-specification (no dependencies)
244
+ `/sf:audit {ID}a` — start with first sub-specification (no dependencies)
245
245
 
246
- **Tip:** Use `/sf deps` to see the full dependency graph.
246
+ **Tip:** Use `/sf:deps` to see the full dependency graph.
247
247
  ```
248
248
 
249
249
  </workflow>
@@ -28,7 +28,7 @@ Display the current SpecFlow state including active specification, queue, and re
28
28
  ```
29
29
  SpecFlow not initialized.
30
30
 
31
- Run `/sf init` to start.
31
+ Run `/sf:init` to start.
32
32
  ```
33
33
  Exit.
34
34
 
@@ -67,12 +67,12 @@ Based on current status:
67
67
 
68
68
  | Status | Next Action |
69
69
  |--------|-------------|
70
- | idle | `/sf new "task"` — create specification |
71
- | drafting | `/sf audit` — audit specification |
72
- | revision_requested | `/sf revise` — fix issues |
73
- | audited | `/sf run` — implement |
74
- | running | Continue implementation or `/sf review` |
75
- | reviewing | `/sf fix` or `/sf done` |
70
+ | idle | `/sf:new "task"` — create specification |
71
+ | drafting | `/sf:audit` — audit specification |
72
+ | revision_requested | `/sf:revise` — fix issues |
73
+ | audited | `/sf:run` — implement |
74
+ | running | Continue implementation or `/sf:review` |
75
+ | reviewing | `/sf:fix` or `/sf:done` |
76
76
 
77
77
  ## Step 6: Display Status
78
78
 
@@ -138,17 +138,17 @@ Based on state, provide additional guidance:
138
138
 
139
139
  **If idle for long time:**
140
140
  ```
141
- **Tip:** Have ideas? Use `/sf todo "idea"` to capture for later.
141
+ **Tip:** Have ideas? Use `/sf:todo "idea"` to capture for later.
142
142
  ```
143
143
 
144
144
  **If spec is large:**
145
145
  ```
146
- **Tip:** Consider `/sf split SPEC-XXX` to break into smaller specs.
146
+ **Tip:** Consider `/sf:split SPEC-XXX` to break into smaller specs.
147
147
  ```
148
148
 
149
149
  **If multiple specs in queue:**
150
150
  ```
151
- **Tip:** Use `/sf next` to work on highest priority item.
151
+ **Tip:** Use `/sf:next` to work on highest priority item.
152
152
  ```
153
153
 
154
154
  **If warnings present:**
@@ -9,7 +9,7 @@ allowed-tools:
9
9
  ---
10
10
 
11
11
  <purpose>
12
- Add a new to-do item to the backlog. To-dos are ideas or tasks that don't need immediate specification but should be captured for later. They can later be converted to specifications with `/sf plan`.
12
+ Add a new to-do item to the backlog. To-dos are ideas or tasks that don't need immediate specification but should be captured for later. They can later be converted to specifications with `/sf:plan`.
13
13
  </purpose>
14
14
 
15
15
  <context>
@@ -32,7 +32,7 @@ Add a new to-do item to the backlog. To-dos are ideas or tasks that don't need i
32
32
  ```
33
33
  SpecFlow not initialized.
34
34
 
35
- Run `/sf init` to start.
35
+ Run `/sf:init` to start.
36
36
  ```
37
37
  Exit.
38
38
 
@@ -111,9 +111,9 @@ Also update `*Last updated:` line at the bottom.
111
111
  ---
112
112
 
113
113
  **Actions:**
114
- - `/sf todos` — view all to-do items
115
- - `/sf plan TODO-{XXX}` — convert to specification
116
- - `/sf priority` — set priorities
114
+ - `/sf:todos` — view all to-do items
115
+ - `/sf:plan TODO-{XXX}` — convert to specification
116
+ - `/sf:priority` — set priorities
117
117
  ```
118
118
 
119
119
  </workflow>
@@ -26,7 +26,7 @@ Display all to-do items from the backlog, sorted by priority. Shows ID, descript
26
26
  ```
27
27
  SpecFlow not initialized.
28
28
 
29
- Run `/sf init` to start.
29
+ Run `/sf:init` to start.
30
30
  ```
31
31
  Exit.
32
32
 
@@ -45,7 +45,7 @@ Exit.
45
45
  No to-do items found.
46
46
 
47
47
  Add your first idea:
48
- `/sf todo "your idea here"`
48
+ `/sf:todo "your idea here"`
49
49
  ```
50
50
  Exit.
51
51
 
@@ -100,10 +100,10 @@ Within same priority, sort by date (oldest first).
100
100
  ---
101
101
 
102
102
  **Actions:**
103
- - `/sf plan 1` — convert first item to specification
104
- - `/sf plan TODO-001` — convert by ID
105
- - `/sf priority` — change priorities
106
- - `/sf todo "new idea"` — add new item
103
+ - `/sf:plan 1` — convert first item to specification
104
+ - `/sf:plan TODO-001` — convert by ID
105
+ - `/sf:priority` — change priorities
106
+ - `/sf:todo "new idea"` — add new item
107
107
  ```
108
108
 
109
109
  ## Step 7: Show Notes (if any have notes)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specflow-cc",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "Spec-driven development system for Claude Code — quality-first workflow with explicit audit cycles",
5
5
  "bin": {
6
6
  "specflow-cc": "bin/install.js"
@@ -58,4 +58,4 @@ verdict: pass | fail | conditional
58
58
 
59
59
  ## Response History
60
60
 
61
- <!-- Filled by /sf revise -->
61
+ <!-- Filled by /sf:revise -->
package/templates/scan.md CHANGED
@@ -85,7 +85,7 @@ Based on this scan, consider creating specs for:
85
85
  1. **[Spec title]** — [brief description]
86
86
  - Priority: high | medium | low
87
87
  - Complexity: small | medium | large
88
- - Command: `/sf new "[title]"`
88
+ - Command: `/sf:new "[title]"`
89
89
 
90
90
  2. **[Spec title]** — [brief description]
91
91
  - Priority: ...
package/templates/spec.md CHANGED
@@ -56,4 +56,4 @@ created: YYYY-MM-DD
56
56
 
57
57
  ## Audit History
58
58
 
59
- <!-- Filled by /sf audit -->
59
+ <!-- Filled by /sf:audit -->
@@ -4,7 +4,7 @@
4
4
 
5
5
  - **Active Specification:** [none | SPEC-XXX]
6
6
  - **Status:** [idle | drafting | auditing | running | reviewing]
7
- - **Next Step:** [/sf new | /sf audit | /sf run | /sf review | /sf done]
7
+ - **Next Step:** [/sf:new | /sf:audit | /sf:run | /sf:review | /sf:done]
8
8
 
9
9
  ## Queue
10
10