# Repository Briefing: MageByte-Zero/spec-superflow
> Source: https://repoforai.com/repo/MageByte-Zero/spec-superflow (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/MageByte-Zero/spec-superflow
- **Official Docs / Website**: https://www.npmjs.com/package/spec-superflow
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.1.0 (2026-10-26) — https://github.com/MageByte-Zero/spec-superflow/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI
- **Momentum**: 922 ★ total (+4 24h / +26 7d) · 101 forks
- **Topics**: `ai-coding`, `amazon-q`, `claude-code`, `cline`, `codex`, `copilot-cli`, `cursor`, `gemini-cli`, `opencode`, `opensource`, `openspec`, `skills`
- **When to Use**: Best for: Teams using supported coding assistants that want a light path for small fixes and explicit scope approval, resumable execution, and verifiable completion for larger changes. Skip if: You need a standalone MCP service or coding agent, already have equivalent workflow gates, or require CI provenance for v2.1.0 artifacts.

## Overview
```text
### Architecture & Core Mechanics
spec-superflow is a local workflow runtime packaged as the `ssf` and `spec-superflow` CLI entrypoints plus nine on-demand skills. It runs on Node.js 20+ using the standard library; TypeScript is used at build time. Host-specific plugin or extension packaging pairs the skills with the matching CLI, so skill invocations do not depend on which `ssf` is on `PATH`. The demonstrated architecture is CLI-and-plugin integration; no MCP transport or tool interface is established.

`direct` records the requested scope and final verification without generating a planning bundle. `planned` starts after explicit approval of `proposal.md` and `tasks.md`, with specs and design added only as needed. The approved schema v2 execution plan is the authority for planned execution, which defaults to inline work and final review. Legacy changes resume under their existing approvals and state rather than being reset or migrated automatically.

### Key Capabilities & Differentiators
`workflow complete` runs final verification and records the command and exit code. For planned work it also checks task completion, the final Git-range review, and synchronization of any delta specs. `ssf validate` checks planning artifacts and delta specs; `ssf sync` applies deltas atomically to the spec baseline and detects conflicts. Missing or corrupt approval and review records are reported rather than treated as passes.

Failed verification leaves the change in execution for repair. A user can explicitly record `accepted-risk` with a reason without erasing the failure or triggering an automatic merge. `ssf resume` and `ssf checkpoint` recover task context. `ssf isolate` defaults to a feature branch in the current checkout; `--worktree` opts into a separate checkout, and recovery checks the recorded repository, branch, and path.

### Trade-offs & Limitations
Claude Code and Cursor are hosts, not substitutes for the same layer: spec-superflow adds scope approval, resumable state, and completion evidence rather than replacing the coding environment. Compared with adopting OpenSpec for planning or Superpowers for execution discipline, it ties both concerns to one local plan and verification record without a runtime dependency on either. That is useful when handoffs and completion criteria are inconsistent, but adds process when a team's existing review and CI already cover the same ground.

The defaults avoid automatic delegation, per-wave review, and separate worktrees. Final-only review reduces interruptions but moves formal feedback later; choose earlier review explicitly when the risk warrants it. Completion evidence is only as strong as the verification command and reviewed Git range. Platform support counts differ across project metadata, so qualify the exact host and version rather than assuming feature parity.

### Hardware & Deployment Guide
Install with `npm install -g spec-superflow` on Node.js 20+, or use the host-specific installation path. Claude Code and Copilot CLI use plugin marketplaces, Codex supports a release-pinned marketplace reference, Cursor has an npm installer, and Gemini CLI uses an extension. `ssf doctor` checks installation, version, and resource consistency. The CLI needs no dedicated service or GPU; host connectivity and the dependencies of project-specific verification commands are separate concerns.

v2.0.0 addressed Codex and Windows workflow inconsistencies, and v2.0.1 kept skills bound to the bundled CLI. v2.1.0 fixed a Windows Qoder installer assumption about `/tmp`; the public npm package was verified with Qoder and WorkBuddy. That release was published manually after CI authentication failed and has no CI provenance attestation. Teams with artifact attestation requirements should treat that as an adoption check. CatPaw import packaging is a preview with no completed client acceptance test.
```

## Key Capabilities
```text
- Path selection: `direct` records scope and final verification; one explicit approval of `proposal.md` and `tasks.md` authorizes `planned` execution.
- Execution authority: The schema v2 plan governs new planned changes; handwritten `execution-contract.md` is retained only for legacy recovery.
- Completion evidence: `workflow complete` records the verification command and exit code; planned work also checks tasks, final Git-range review, and applicable spec sync.
- Risk disposition: `accepted-risk` requires explicit confirmation and a reason, preserves failed results, and does not auto-merge.
- Recovery and isolation: `resume` and checkpoints recover context; `isolate` uses a feature branch in the current checkout unless `--worktree` is selected.
- Runtime packaging: Nine on-demand skills ship with a matching Node.js 20+ CLI that has no third-party runtime dependencies.
```

## Quick Start / Clone
```bash
npm install -g spec-superflow
mkdir -p changes/fix-login-timeout
```
