@lbruton/specflow 3.5.13 → 3.5.14
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.
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ Each agent reads the current spec state, advances the workflow, and writes the r
|
|
|
152
152
|
|
|
153
153
|
### Claude Code
|
|
154
154
|
|
|
155
|
-
**Step 1 — Install the MCP server** (provides tools and
|
|
155
|
+
**Step 1 — Install the MCP server** (provides tools, prompts, and templates):
|
|
156
156
|
|
|
157
157
|
Add to your user-level settings (`~/.claude/settings.json`):
|
|
158
158
|
|
|
@@ -167,16 +167,25 @@ Add to your user-level settings (`~/.claude/settings.json`):
|
|
|
167
167
|
}
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
The npm package contains the MCP server, dashboard, and the 9 spec templates (requirements, design, tasks, implementer-prompt, spec-reviewer, code-quality-reviewer, product, tech, structure). Templates auto-populate `DocVault/specflow/templates/` on first run.
|
|
171
|
+
|
|
172
|
+
**Step 2 — Install the skills and slash commands** (recommended — provides `/spec`, `/prime`, `/wrap`, etc.):
|
|
171
173
|
|
|
172
174
|
```bash
|
|
173
|
-
git clone https://github.com/lbruton/specflow.git
|
|
174
|
-
cp -r specflow/
|
|
175
|
+
git clone https://github.com/lbruton/specflow.git ~/specflow-source
|
|
176
|
+
cp -r ~/specflow-source/skills/* ~/.claude/skills/
|
|
177
|
+
cp -r ~/specflow-source/commands/* ~/.claude/commands/
|
|
175
178
|
```
|
|
176
179
|
|
|
177
|
-
|
|
180
|
+
Or, if you prefer not to clone the repo, [download the latest ZIP](https://github.com/lbruton/specflow/archive/refs/heads/main.zip), unpack it, and copy the `skills/` and `commands/` directories into your `~/.claude/` directory.
|
|
181
|
+
|
|
182
|
+
After restarting Claude Code, the new skills (`/prime`, `/wrap`, `/spec`, `/audit`, `/publish-templates`, `/migrate-skill`) and the slash commands they invoke will be available.
|
|
178
183
|
|
|
179
|
-
> **
|
|
184
|
+
> **Architecture:** The two install steps are independent and serve different purposes:
|
|
185
|
+
> - **The npm package** (`@lbruton/specflow`) ships the MCP server, dashboard, and bundled spec templates. It is the engine.
|
|
186
|
+
> - **The GitHub repo** (`specflow/skills/` and `specflow/commands/`) ships the markdown skills and slash commands that Claude reads directly. They are the user-facing workflows.
|
|
187
|
+
>
|
|
188
|
+
> Skills are NEVER bundled into the npm package — they are plain markdown installed by copying. See [`CLAUDE.md`](./CLAUDE.md) § "Architecture & Distribution Model" for the full pipeline diagram.
|
|
180
189
|
|
|
181
190
|
### Gemini CLI — Manual Install
|
|
182
191
|
|
|
@@ -214,7 +214,7 @@ After ALL tasks are [x] and implementation logs are recorded:
|
|
|
214
214
|
- Purpose: Cross-model peer review catches blind spots a single AI might miss; using a different model architecture surfaces different classes of bugs
|
|
215
215
|
- _Leverage: `/codex:review` skill, `codex:codex-rescue` subagent, branch git diff_
|
|
216
216
|
- _Requirements: All_
|
|
217
|
-
- _Prompt: Implement the task for spec {{spec-name}}, first run spec-workflow-guide to get the workflow guide then implement the task: Role: Code Review Coordinator | Task: First, check if this task should be skipped: (a) if running from Codex (check $CODEX_SESSION or session origin), skip and note "skipped: running from codex". (b) if Codex CLI not installed and codex:codex-rescue agent type unavailable, skip and note "skipped: codex not available". Otherwise, dispatch /codex:review
|
|
217
|
+
- _Prompt: Implement the task for spec {{spec-name}}, first run spec-workflow-guide to get the workflow guide then implement the task: Role: Code Review Coordinator | Task: First, check if this task should be skipped: (a) if running from Codex (check $CODEX_SESSION or session origin), skip and note "skipped: running from codex". (b) if Codex CLI not installed and codex:codex-rescue agent type unavailable, skip and note "skipped: codex not available". Otherwise, choose the Codex invocation path based on the current dispatch context: PREFERRED — if executing in main context (not inside a Claude Agent subagent dispatch), invoke /codex:review --base <main-or-dev> --background directly (purpose-built tool, review prompt baked in). AGENT-DISPATCH CONTEXT — if executing inside a Claude Agent subagent dispatch (slash commands are unreachable from there), pause the orchestration loop, surface the exact command /codex:review --base <ref> --background for the user to run manually in main context, and resume the loop only when the user reports results. DO NOT substitute codex:codex-rescue for a branch-diff review — that subagent is reserved for delegating investigation, bug-fix, or continuation tasks, not code review; substituting it reproduces the PAPiTA PAP-1 hang. If codex:codex-rescue must be dispatched for a legitimate delegation reason, use fully-qualified subagent_type: "codex:codex-rescue" with run_in_background: true per global CLAUDE.md rules. After dispatching /codex:review, poll progress via /codex:status <task-id> — do NOT tail the JSONL output file directly (opaque and lags behind). IF the task remains in phase: starting with no progress for more than ~3 minutes, cancel via /codex:cancel <task-id> and re-dispatch from main context via the slash-command path; NEVER fall back to codex:codex-rescue on retry. Review the findings. Fix any Critical or Important issues. Minor issues are advisory. Record the review results (or skip reason) in the implementation log. | Restrictions: Do not skip this step without invoking the guards above. Do not dismiss findings without investigating. If skipped due to guards, the skip reason MUST be logged. | Success: Codex review completed with Critical/Important issues addressed, OR task is skipped with documented reason. Results logged in implementation log. BLOCKING: After review (or skip), you MUST call the log-implementation tool with review findings (or skip reason) before marking [x]. Do NOT mark [x] until the log-implementation tool call succeeds._
|
|
218
218
|
|
|
219
219
|
- [ ] C7. Loop or complete
|
|
220
220
|
- **Recommended Agent:** Claude
|