mcpField
S
spec-first-superpowers

spec-first-superpowers

github.com/zxzvsdcjAgent workflows1941 installsUpdated 28w ago
Repository

About spec-first-superpowers

A spec-first workflow skill for feature work, bug fixes, and refactors. It selects Spec-Kit or OpenSpec based on project signals, then coordinates persistent planning, TDD, and gated implementation phases.

Key features

  1. 01Selects Spec-Kit or OpenSpec from project signals
  2. 02Routes work by complexity level
  3. 03Requires spec confirmation before implementation
  4. 04Creates persistent plans and progress records
  5. 05Uses quality gates and TDD

Use cases

  1. 01Specify and confirm a new feature before coding
  2. 02Plan cross-module changes and refactors
  3. 03Run bug fixes through gated stages

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/zxzvsdcj/spec-first-superpowers --skill spec-first-superpowers

After installing, type/spec-first-superpowersin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/constitutions/
openspec-constitution.md
spec-kit-constitution.md
references/
integration-guide.md
mempalace-integration.md
openspec-workflow.md
quality-gates.md
spec-kit-workflow.md
synergy-patterns.md
upgrade-protocol.md

Details

From the project README

Spec-First + Superpowers Orchestrator v5

Stop the AI from jumping straight to code. Every feature, bugfix, and refactor goes through a specification phase first — because unexamined code is expensive code.

Commands

CommandEffect
/super-specFull workflow (auto mode + auto complexity)
/super-spec force-spec-kitForce Spec-Kit mode
/super-spec force-openspecForce OpenSpec mode
/super-spec resetReset mode selection
/super-spec upgradeCheck all integrated projects for updates and execute upgrade

How It Works

Step 1: Pick a Mode

Check for existing signals, then fall back to heuristics:

SignalMode
.spec-mode file existsUse whatever it says
.specify/ directorySpec-Kit
openspec/ directoryOpenSpec
Brand new project, < 30 filesSpec-Kit
Everything elseOpenSpec (default)

Save the choice to .spec-mode so future sessions remember it.

For detailed mode workflows, read:

Step 2: Triage Complexity

The AI suggests a level; the user confirms or overrides.

LevelWhenWhat happens
QuickSingle-file bugfix, typo, configSimplified spec (/opsx:propose or /opsx:ff) → TDD → archive
StandardSingle feature, clear scopeAll phases (Phase 3 only if UI)
ThoroughMulti-module, architecture decisionsAll phases + Agent Teams evaluation
Step 3: Execute the Pipeline

Phase 0 — Session Recovery (automatic) If task_plan.md exists from a previous session, read all planning files, query MemPalace for relevant history (if configured), run the 5-Question Reboot Test (Where am I? / Where am I going? / What's the goal? / What did I learn? / What did I do?), then resume from the last checkpoint.

Phase 1 — Specification Write the spec using the selected mode. Quick tasks use /opsx:propose; standard/thorough use the full flow with /opsx:explore or /speckit.specify. The user must explicitly confirm the spec before moving on. Gate G1: User confirmed + spec aligns with constitution + inline spec review passed + scope check done.

Phase 2 — Persistent Planning Generate task_plan.md (numbered checklist with file structure mapping + test points), findings.md, and progress.md using planning-with-files + writing-plans. Gate G2: Every task has file paths + acceptance criteria + test strategy + inline plan review passed.

Phase 3 — UI/UX Design (conditional) Triggered only when UI keywords are detected. Invoke ui-ux-pro-max --design-system --persist to generate and persist the design system (v2.5.0: 67 styles, 161 palettes, 57 fonts, 14 tech stacks, 6 specialist skills). Gate G3: Pre-delivery checklist passed + user confirmed design.

Phase 4 — Implementation Execute via one of two strategies (AI recommends, user picks):

  • Subagent-Driven: Fresh subagent per task + two-stage review (spec conformance → code quality) + model selection per task role + implementer status handling (DONE/DONE_WITH_CONCERNS/NEEDS_CONTEXT/BLOCKED)
  • Executing-Plans: Batch execution + checkpoint reviews

TDD throughout. Errors escalate through the 3-Strike protocol → systematic-debugging. Gate G4: All tests pass + review passed + verification evidence written to progress.md + /opsx:verify passed (if available) + MemPalace archived (if configured).

Phase 5 — Archive finishing-a-development-branch → update all checkboxes → archive spec artifacts → final progress.md entry → MemPalace diary entry (if configured).

Quality Gates

Each gate is a hard stop — nothing moves forward until all checks pass. If a gate fails, fix the issue and re-evaluate. Full gate criteria: references/quality-gates.md

Anti-Rush Protection

If the user asks to skip the spec phase, politely decline and redirect to /super-spec. The whole point of this skill is preventing premature implementation.

Reference Files

Read these as needed — they contain detailed procedures that would bloat this file:

FileWhen to read
references/quality-gates.mdEvaluating any gate (G0-G4)
references/synergy-patterns.mdUnderstanding cross-tool integration (6 chains)
references/integration-guide.mdSetup, troubleshooting, dependency list
references/spec-kit-workflow.mdRunning the Spec-Kit flow
references/openspec-workflow.mdRunning the OpenSpec flow
references/mempalace-integration.mdMemPalace memory system setup + 5 integration points
references/upgrade-protocol.md/super-spec upgrade — standardized version sync procedure
assets/constitutions/openspec-constitution.mdOpenSpec constitution template
assets/constitutions/spec-kit-constitution.mdSpec-Kit constitution template

Comments

Markdown supported