bug-investigator
Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes.…
Create or refine spec-superflow planning artifacts. Invoke when the change is understood well enough to write proposal.md, specs/, design.md, and tasks.md.
Claude Code
$ npx -y skills add MageByte-Zero/spec-superflow --skill spec-writer --agent claude-code
Codex
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a codex -y
Cursor
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a cursor -y
Gemini CLI
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a gemini-cli -y
GitHub Copilot
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a github-copilot -y
OpenCode
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a opencode -y
Windsurf
$ npx skills add MageByte-Zero/spec-superflow --skill spec-writer -a windsurf -y
name: spec-writer description: Create or refine spec-superflow planning artifacts. Invoke when the change is understood well enough to write proposal.md, specs/, design.md, and tasks.md.
Before executing a CLI line below, replace its leading `SSF` with `node "<plugin-root>/scripts/spec-superflow.mjs"`; `<plugin-root>` is the absolute directory two levels above this file. Never run `SSF` literally or call an `ssf` from `PATH`.
A new request follows this file without loading legacy instructions. For an existing change, inspect the recorded state and receipt/plan (available through `SSF workflow show <change-dir> --json` and `SSF execution show <dir> --json` when needed). Current paths are `workflow_variant: direct` with a valid workflow-selection receipt `schema_version: 3`, or `workflow_variant: planned` with an execution plan `schema_version: 2`. Older receipts (schema 1/2), legacy plans and other recorded variants use the matching section of `SSF runtime asset read docs/legacy-workflow.md`; follow that section for this change. A direct variant alone is insufficient: legacy Quick/Hotfix/Lightweight can also record it. The internal `workflow: full` value alone is not a legacy signal. Missing or corrupt state, receipt or a required plan is a recovery problem; preserve evidence rather than reinitialize or downgrade the change.
Create or refine planning artifacts when the change has moved beyond exploration.
For a new request, an expanding direct change, or workflow_variant planned, write proposal.md and tasks.md together without pausing between individual artifacts. Proposal holds the goal, in/out scope, acceptance and risks; tasks holds ordered deliverables and proof commands. Add specs only for behavior needing durable scenarios and design only for unresolved architectural decisions. Do not create execution-contract.md or duplicate the task list in another plan.
Check shared interfaces against the real source once, then self-check the problem, scope, dependencies and proof. Present one approval request only if this concrete plan lacks approval. After approval run `SSF workflow start <dir> --path planned --confirm --reason "<user decision>"` and continue implementation. No intermediate planning/bridging transitions or independent reader agent. A semantic revision uses the same command after approval; a nonsemantic correction uses execution resync and retains failed-review history.
Self-check five questions once: problem, command boundary, invalidation boundary, continuation boundary and document flow. Fix contradictions and missing acceptance evidence before presenting the one concrete plan for approval. Keep existing approval when it still covers that exact plan. After workflow-start records approval, continue to build-executor.
源码级融合 OpenSpec 规划引擎 + Superpowers 执行纪律的 AI 编程工作流插件。17 平台支持,9 skills,Spec-first,契约驱动。
Use when encountering any bug, test failure, or unexpected behavior during spec-superflow execution, before proposing fixes.…
Execute an active direct request or approved planned change. Native continuous implementation is the default; existing legacy…
Review completed implementation batches for spec compliance and code quality. Invoke after execution batches complete, before…
Maintain an execution contract only for an existing legacy change that requires one. New direct/planned changes do not invoke…
Clarify intent, scope, constraints, and success criteria before artifact creation. Invoke when the request is fuzzy, the user is…
Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.