agentsclimarketplace

Openspec superpowers

Skill kxdds/sdd-tdd/skills/openspec-superpowers

One skill to bring Spec-Driven + Test-Driven Development (SDD+TDD) to any AI coding agent - OpenSpec x Superpowers bridge for Cursor, Claude Code, Codex, OpenCode, Gemini CLI and more

Install
npx -y skills add kxdds/sdd-tdd --skill openspec-superpowers

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Bridge between OpenSpec's SDD-TDD workflow and Superpowers skills. Provides plan, run, verify, and archive modes to drive spec-driven, test-driven development from proposal through to archived change.

SKILL.md

7.8 KB, as published. Nobody here has run it

OpenSpec <-> Superpowers Bridge

This skill orchestrates the SDD-TDD workflow by connecting OpenSpec's artifact pipeline to Superpowers' execution skills. It supports four modes: plan, run, verify, and archive.


Mode: plan

Purpose: Create implementation-plan.md from the sdd-tdd schema template.

Skill dependency: superpowers:writing-plans

Instructions

  1. Read the current change's tasks.md via openspec instructions implementation-plan --change <change>.
  2. Activate the superpowers:writing-plans skill.
  3. Investigate the codebase before writing anything. Read the modules the change touches, confirm build/test/lint commands, note conventions (naming, base classes, route prefixes, DTO patterns) and missing prerequisites (dependencies, config). Record these under "Key facts for implementers" in the plan. A plan written without reading the code is fiction.
  4. Generate implementation-plan.md in the change directory, following the schema template structure exactly -- including its embedded generation rules.
  5. Map every unchecked OpenSpec task ID from tasks.md to exactly one plan step. If any task is unmapped, the plan is incomplete -- do not proceed.
  6. Do NOT check off tasks.md checkboxes during planning. Task completion happens only in run mode.

Quality bar (from superpowers:writing-plans)

The plan must be executable by an engineer with zero context for this codebase who cannot ask questions. Concretely, every step contains:

  • Complete, copy-pasteable code -- the actual test and the actual implementation, with imports. Never a description of code.
  • Exact file paths from the repo root, marked (create) or (modify).
  • Exact commands with expected output -- the RED command with the exact expected failure (assertion message or error type), the GREEN command expecting pass, and a commit command.

Anti-patterns that mean the step must be rewritten, not patched:

  • Prose standing in for code: "add validation logic", "wire up the controller", "handle the error case"
  • Placeholders: // TODO, // implement here, ..., "similar to Step N"
  • Commands without expected outcomes: "run the tests" with no stated failure/pass criteria

Self-review gate (before declaring plan complete)

Re-read the finished plan and answer honestly:

  1. Could someone who has never seen this repo execute every step using only the plan and "Key facts"? If any step requires prior knowledge, add it.
  2. Does any step contain a code description instead of code? Rewrite it with the real code.
  3. Is any expected RED failure vague ("test fails")? State the exact error.

A plan meeting this bar is typically 5-10x larger than a summary plan. If the result looks like a skeleton (steps under ~30 lines), it does not meet the bar -- rewrite before reporting completion. If an implementation-plan.md already exists but fails this gate, rewrite it from scratch rather than patching it.

Completion criteria

  • implementation-plan.md exists in the change directory
  • Every unchecked task in tasks.md is traced to exactly one plan step
  • The self-review gate passes on all three questions
  • openspec status --change <change> --json shows implementation-plan as complete

Mode: run

Purpose: Execute the implementation plan using test-driven development.

Skill dependency: superpowers:test-driven-development

Instructions

  1. Read implementation-plan.md for the current change. Gate: if it fails the plan-mode quality bar (steps are code descriptions instead of code, missing RED/GREEN commands, placeholder text) -- common when the artifact was generated by /opsx:ff or /opsx:continue instead of plan mode -- stop and run plan mode to rewrite it first. Executing a skeleton plan produces untraceable improvisation.
  2. Activate the superpowers:test-driven-development skill.
  3. For each plan step, in order: a. Write the focused failing test from the plan step. b. RED: Run the test command. Confirm it fails with the expected failure. If it passes unexpectedly, investigate -- the test may not be focused enough. c. Implement: Make the minimal code change described in the plan step. d. GREEN: Run the test command. Confirm it passes. If it fails, fix the implementation (not the test) until green. e. Refactor while green -- clean up without changing behavior, keep tests passing. f. Mark the plan step complete (check off in implementation-plan.md). g. Mark the corresponding OpenSpec task(s) complete (check off in tasks.md). h. Run project verification (lint, typecheck, full test suite). Fix any failures before moving to the next step.
  4. After all steps are complete, run openspec status --change <change> --json to confirm all artifacts and tasks are done.
  5. Stop before archive. Do not archive automatically -- that is an explicit user action.

Completion criteria

  • All plan steps checked off in implementation-plan.md
  • All OpenSpec tasks checked off in tasks.md
  • Project verification passes (lint, typecheck, tests)
  • openspec status --change <change> --json shows all artifacts complete

Mode: verify

Purpose: Resolve any verification failures before reporting readiness.

Skill dependency: superpowers:verification-before-completion

Instructions

  1. Activate the superpowers:verification-before-completion skill.
  2. Run all project checks:
    • Lint (npm run lint, or project-appropriate equivalent)
    • Type checking (npm run typecheck, or project-appropriate equivalent)
    • Full test suite (npm test, or project-appropriate equivalent)
  3. Run openspec status --change <change> --json and check for incomplete artifacts or tasks.
  4. For each failure: a. Diagnose the root cause. b. Fix it (code fix, missing test, incomplete task). c. Re-run verification to confirm the fix.
  5. Do not report readiness until all checks pass. If a failure is unresolvable, report the blocker with context.

Completion criteria

  • All project checks pass
  • All OpenSpec artifacts are complete
  • All tasks in tasks.md are checked
  • No unresolved blockers reported

Mode: archive

Purpose: Archive the completed change using OpenSpec. This is always an explicit user action.

Instructions

  1. Confirm all prerequisites:
    • verify mode has been run and passed (all checks clean)
    • openspec status --change <change> --json shows everything complete
  2. Run openspec sync --change <change> to sync specs back to the canonical store.
  3. Run openspec archive --change <change> to archive the change.
  4. Confirm archive succeeded: the change directory should be moved to openspec/changes/archive/.

Completion criteria

  • Change is archived in openspec/changes/archive/
  • Specs are synced to the canonical store
  • No remaining open items

Usage

# Plan the implementation (from tasks.md -> implementation-plan.md)
openspec-superpowers plan <change>

# Execute with TDD (RED -> GREEN -> refactor for each step)
openspec-superpowers run <change>

# Verify everything is clean before archiving
openspec-superpowers verify <change>

# Archive (explicit user action)
openspec-superpowers archive <change>

Typical Full Loop

/opsx:propose <change>          # OpenSpec creates proposal -> specs -> design -> tasks
openspec-superpowers plan <change>   # Plan: tasks -> implementation-plan
openspec-superpowers run <change>    # Run: TDD execution of plan steps
openspec-superpowers verify <change> # Verify: resolve any failures
openspec-superpowers archive <change> # Archive: sync & archive (user action)

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.