drafael/coding-harness / skills/tdd
tdd
VerifiedFix a bug by proving a focused regression check fails before the fix and passes after it. Manual invocation only; use when the user explicitly invokes tdd or requests this test-first bug-fix workflow. Do not force broad test infrastructure or claim unobserved red/green evidence.
README.md
View on GitHub# TDD bug fix
Fixes a bug with a focused regression check that fails before the fix and passes afterward.
## Usage
```text
/tdd Fix this parser bug: a quoted comma must stay inside its field.
```
In Claude Code, use `/tdd`; in Pi, use `/skill:tdd`. In OpenCode, ask “Use the tdd skill”; `/tdd` is available only when the skill's `opencode/slash` metadata is enabled.
## Credits
Adapted from [Cursor pstack `tdd`](https://github.com/cursor/plugins/blob/eb4db2b55b2b7dec3d9282754cddf0a56bf4ff10/pstack/skills/tdd/SKILL.md) by Lauren Tan. [MIT License](LICENSE).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |