.agents/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/zod-to-form 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 when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.