bug-investigator
Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes. Invoked automatically when…
Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up.
$ npx -y skills add MageByte-Zero/spec-superflow --skill release-archivist --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/release-archivistContext preview
The summary Claude sees to decide when to auto-load this skill.
Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up.
name: release-archivist description: Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up.
Finish a spec-superflow change cleanly with verification evidence. This skill operates while the change state is `executing`; it is not an active skill after the final transition to `closing`.
Before verification, `ssf audit`, any DP state write, or delta-spec merge, run `ssf state get <change-dir> state`. Continue only when the persisted state is exactly `executing`. If it is `closing` → STOP: "Closing is terminal; release, audit, and archival work were completed before this transition." For any other state, or if the state cannot be read → STOP and route through `workflow-start`; do not perform side effects.
For Quick, Tweak, or a valid direct incident Hotfix receipt, skip the Full verification, audit, delta merge, DP-6, and DP-7 sections below. Record changed files, the focused verification command and result, then persist `test_result: pass` and transition to closing. Quick requires a targeted test or syntax/static check; direct Hotfix requires an original-symptom regression. A legacy Hotfix stays on the Full checklist.
The Full checklist below applies only to Full and legacy Hotfix. Direct Short-Path Closure above takes precedence for Quick, Tweak, and valid direct Hotfix.
Claiming work is complete without verification is dishonesty, not efficiency. Before claiming any status: 1. IDENTIFY the command that proves the claim 2. RUN the full command fresh 3. READ output, check exit code 4. VERIFY output confirms the claim 5. Only THEN make the claim
**Forbidden before evidence**: "should", "probably", "seems to", expressions of satisfaction without output.
| Claim | Requires | Not Sufficient | |-------|----------|----------------| | Tests pass | Test output: 0 failures | Previous run, "should pass" | | Linter clean | Linter output: 0 errors | Partial check | | Build succeeds | Build exit 0 | Linter passing | | Bug fixed | Original symptom passes | Code changed | | Requirements met | Line-by-line checklist | Tests passing |
Run full test suite. Record total/passed/failed/skipped. Zero failures = PASS.
Compare contract batches against actual diff. Every SHALL/MUST must have implementation evidence. Missing = Critical severity.
Compare design decisions against code. Check naming consistency. Inconsistencies = IMPORTANT.
Check for files modified outside scope fence, new dependencies not in design. Unplanned = WARN.
| Dimension | Status | Findings | |-----------|--------|----------| | Completeness | PASS/FAIL/WARN | [list] | | Correctness | PASS/FAIL/WARN | [list] | | Coherence | PASS/FAIL/WARN | [list] |
**Verdict**: PASS (all PASS) / CONDITIONAL (WARN only) / FAIL (any FAIL).
ssf state set <change-dir> dp_6_result "<pass|conditional|fail>: <summary>" ssf state set <change-dir> dp_6_timestamp $(date -u +%Y-%m-%dT%H:%M:%SZ)
If FAIL, do NOT proceed to DP-7. Route back or ask about abandonment.
After recording a PASS outcome, also record it as the verification gate so the `executing → closing` transition is allowed (the guard accepts either `test_result: pass` or a `dp_6_result` starting with `pass`):
ssf state set <change-dir> test_result pass
ssf state set <change-dir> dp_7_result "confirmed: <archive summary>" ssf state set <change-dir> dp_7_timestamp $(date -u +%Y-%m-%dT%H:%M:%SZ)
Verify DP-0 through DP-6 are recorded before DP-7.
If implementation diverged from the contract, return to `bridging` before closure.
Complete every release, delta-spec synchronization, and audit action while the state remains `executing`. If delta specs exist, invoke `spec-merger` and resolve its outcome before the final `executing → closing` transition. Then run `ssf state transition <change-dir> closing`. `executing → closing` is the final action: once it succeeds, select no next skill and run no recovery scans.
After the `executing → closing` transition succeeds, complete the physical archive with:
ssf finish <change-dir> [--test-cmd <command>]
`ssf finish` merges the isolation branch back to the trunk (`--no-ff`), verifies the trunk (default `npm test`, `--test-cmd` override, 10-minute timeout), then removes the worktree and the isolation branch. For submodule projects it auto-falls-back to `--force` worktree removal; if that also fails it prints the merge commit and manual cleanup commands. Quick / direct Hotfix / tweak / lightweight skip this step — their `closing` is already the physical terminal.
Quick and direct Hotfix use a concise verification summary: changed files, focused command, result, and persisted `test_result: pass`. Quick runs targeted tests or syntax/static checks; direct Hotfix proves the original symptom regression. Do not require a contract, execu
源码级融合 OpenSpec 规划引擎 + Superpowers 执行纪律的 AI 编程工作流插件。17 平台支持,9 skills,Spec-first,契约驱动。
Repo: MageByte-Zero/spec-superflow
Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes. Invoked automatically when…
Govern implementation from an approved execution contract. Invoke when execution-contract.md is approved and the user wants disciplined build work, TDD…
Review completed implementation batches for spec compliance and code quality. Invoke after execution batches complete, before merging, or when a review gate is…
Convert approved planning artifacts into an execution contract. Invoke when the user wants to start building, asks to move from planning to implementation, or…
Clarify intent, scope, constraints, and success criteria before artifact creation. Invoke when the request is fuzzy, the user is comparing options, or the…
Sync delta specs to main specs before closure. Invoke while an executing change has delta specs to merge into the main spec base, or when detecting spec drift…