con un clic
tdd
Test-driven development workflow using the Red-Green-Refactor cycle.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Test-driven development workflow using the Red-Green-Refactor cycle.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Defines a reusable procedure. Source: xcaf/skills/<name>/skill.xcaf. Compiled to skills/<name>/SKILL.md per provider.
Performs thorough code review.
Deep search across files and symbols
Test-driven development workflow
Systematic code review workflow
Search the web
| name | tdd |
| description | Test-driven development workflow using the Red-Green-Refactor cycle. |
| allowed-tools | ["Bash","Read","Write","Edit"] |
| when-to-use | Use when implementing any new feature or fixing a bug. Write the test first. |
| disable-model-invocation | false |
Write a test that describes the expected behavior. The test must fail before any implementation code is written. Run the test and confirm the failure message is clear and specific.
go test ./path/to/package -run TestNew -v
Verify the test fails with a meaningful message, not a compile error.
Write the minimal code required to make the failing test pass. Do not add extra functionality, error handling for hypothetical cases, or premature abstractions. Run the test and confirm it passes.
Improve the code structure without changing behavior. Extract functions, rename variables, remove duplication. Run the full test suite after each refactoring step to ensure nothing breaks.
TestCompile_MissingField_ReturnsError.t.Helper() in all test helper functions so failures report the caller's line number.