specflow-cc 1.1.0 → 1.2.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.
@@ -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
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -133,7 +133,38 @@ The agent will:
133
133
 
134
134
  ## Next Step
135
135
 
136
- `/sf done` — finalize and archive specification
136
+ `/sf:done` — finalize and archive specification
137
+ ```
138
+
139
+ ### If APPROVED (with minor suggestions):
140
+
141
+ ```
142
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
143
+ REVIEW PASSED
144
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
145
+
146
+ **Specification:** SPEC-XXX
147
+ **Result:** APPROVED
148
+
149
+ ### Verified
150
+
151
+ - [✓] All acceptance criteria met
152
+ - [✓] All files created
153
+ - [✓] All deletions performed
154
+ - [✓] Code quality acceptable
155
+
156
+ ### Minor Suggestions (Optional)
157
+
158
+ 1. {Suggestion 1}
159
+ 2. {Suggestion 2}
160
+
161
+ ---
162
+
163
+ ## Next Steps
164
+
165
+ Choose one:
166
+ • `/sf:done` — finalize and archive as-is
167
+ • `/sf:fix` — apply minor suggestions first ({N} items)
137
168
  ```
138
169
 
139
170
  ### If CHANGES_REQUESTED:
@@ -171,12 +202,12 @@ The agent will:
171
202
 
172
203
  ## Next Step
173
204
 
174
- `/sf fix` — address the issues
205
+ `/sf:fix` — address the issues
175
206
 
176
207
  Options:
177
- - `/sf fix all` — apply all fixes
178
- - `/sf fix 1,2` — fix specific issues
179
- - `/sf fix [instructions]` — custom fixes
208
+ - `/sf:fix all` — apply all fixes
209
+ - `/sf:fix 1,2` — fix specific issues
210
+ - `/sf:fix [instructions]` — custom fixes
180
211
  ```
181
212
 
182
213
  </workflow>
@@ -239,8 +270,8 @@ Append Review History to spec.
239
270
 
240
271
  ### Update STATE.md
241
272
 
242
- - If APPROVED: Status → "done", Next Step → "/sf done"
243
- - If CHANGES_REQUESTED: Status → "review", Next Step → "/sf fix"
273
+ - If APPROVED: Status → "done", Next Step → "/sf:done"
274
+ - If CHANGES_REQUESTED: Status → "review", Next Step → "/sf:fix"
244
275
 
245
276
  </fallback>
246
277
 
@@ -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
 
@@ -167,7 +167,7 @@ The agent will:
167
167
 
168
168
  ## Next Step
169
169
 
170
- `/sf audit` — re-audit revised specification
170
+ `/sf:audit` — re-audit revised specification
171
171
  ```
172
172
 
173
173
  </workflow>
@@ -216,7 +216,7 @@ In spec frontmatter: `status: auditing`
216
216
 
217
217
  In STATE.md:
218
218
  - Status → "auditing"
219
- - Next Step → "/sf audit"
219
+ - Next Step → "/sf:audit"
220
220
 
221
221
  </fallback>
222
222
 
@@ -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:
@@ -200,7 +200,7 @@ The agent will:
200
200
 
201
201
  ## Next Step
202
202
 
203
- `/sf review` — audit the implementation
203
+ `/sf:review` — audit the implementation
204
204
  ```
205
205
 
206
206
  </workflow>
@@ -248,7 +248,7 @@ Append Execution Summary to spec.
248
248
  ### Update STATE.md
249
249
 
250
250
  - Status → "review"
251
- - Next Step → "/sf review"
251
+ - Next Step → "/sf:review"
252
252
 
253
253
  </fallback>
254
254
 
@@ -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.2.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