.claude/skills/speckit-superb-tdd/SKILL.md
Mandatory pre-implement TDD gate. Loads the obra/superpowers test-driven-development SKILL.md at runtime and binds it to spec-kit's tasks.md task structure. Enforces RED-GREEN-REFACTOR for every task.
npx skillsauth add pradeepmouli/lspeasy speckit-superb-tddInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skill origin: obra/superpowers
test-driven-developmentInvocation: Mandatory pre-hook forspeckit.implement. Cannot be skipped.
Locate and internalize the superpowers TDD skill using this priority chain:
skills/test-driven-development/SKILL.md from the
workspace root (present when superpowers is installed as a plugin).https://raw.githubusercontent.com/obra/superpowers/main/skills/test-driven-development/SKILL.mdNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST. For every task: RED (write failing test) → GREEN (minimal code to pass) → REFACTOR (clean up, tests still green) → COMMIT. If you wrote code before seeing a test fail, delete that code and restart.
You must internalize the full SKILL.md content before proceeding. Its rules are non-negotiable for this implementation session.
$ARGUMENTS
tasks.md in the current feature directory to understand the task plan.Baseline: [N] tests, [M] passing, [K] failing
If the baseline has unexpected failures, STOP and report them before proceeding.
tasks.md. These are your RED-phase targets — do not invent
new test locations unless the plan specifies a reason.Apply the loaded TDD skill to every task in tasks.md:
If you have attempted 2 or more fixes for the same failing test without success, STOP the TDD cycle and escalate:
Invoke
/speckit.superb.debugto switch to the systematic debugging protocol. It will enforce root-cause investigation before any further fix attempts. Return to this TDD gate after the root cause is resolved.
Do not attempt fix #3 without completing the debugging protocol first.
Before starting:
tasks.mdAfter completing:
Cannot check all boxes? Stop. Restart the task from RED.
tools
Use for ANY rename, file-move, or move-symbol refactor — especially rename-heavy work across multiple files. Claude Code's built-in LSP tool is READ-ONLY (find references, but no rename / file-move / move-symbol). Hand-editing those refactors silently misses re-exports, aliased imports, type-only imports, and {@link} doc references. This skill drives a real language server via the `lspeasy` CLI to apply a correct WorkspaceEdit that catches every reference. Trigger when the user asks to rename a function/class/variable/type project-wide, move a file and fix its importers, or pull a symbol out into another module.
tools
Documentation site for lspeasy Use when: You are building a browser-based LSP client, a WebSocket-backed language....
tools
Documentation site for lspeasy Use when: You are implementing a custom client layer and need the same validation....
tools
Use when working with lspeasy (client, core, server). Covers: lsp, language-server-protocol, lsp-client, language-client, jsonrpc, transport, lsp-server, language-server.