Test-Driven Development

addyosmani/agent-skills

Implement behavior with red-green-refactor and reproduce bugs in failing tests before applying fixes.

Contenido actualizado:

Ver en GitHub
npx skills add addyosmani/agent-skills --skill test-driven-development
116.280Estrellas12.180ForksÚltimo push del repositorio

Acerca de este Skill

Implement behavior with red-green-refactor and reproduce bugs in failing tests before applying fixes. Discover the repository's language and test runner, write a meaningful failure, implement the smallest fix and refactor with checks.

Por qué lo elegimos

A task workflow in Addy's Agent Skills. Follow the upstream instructions and retain referenced shared files; host capabilities and project configuration determine which steps can run.

Para qué sirve

  • Logic is changing or a reported bug needs a reproducible guard.

Workflow and deliverables

Discover the repository's language and test runner, write a meaningful failure, implement the smallest fix and refactor with checks.

Behavior-focused tests, implementation and evidence that the regression test failed before the fix and passed afterward.

Test-Driven Development instructions

Install with the required references

Install the complete pack through a documented repository integration when shared references are needed. A per-skill skills CLI install copies only skills/<name>/ and can omit the repository-level references/ checklists; keep the needed shared files with the workflow.

Upstream overview and integrations

Antes de usarlo

  • An Agent that can load Skill Markdown and access your project. File edits, shell commands, builds and checks depend on the selected workflow and its environment.
  • Use your project's own runtimes, dependencies and verification commands. The Skill files provide instructions and do not install those project tools.
  • Install the complete pack through a documented repository integration when shared references are needed. A per-skill skills CLI install copies only skills/<name>/ and can omit the repository-level references/ checklists; keep the needed shared files with the workflow.

Agentes compatibles

Claude CodeCodex CLICursorGitHub CopilotGemini CLIOpenCodeKiroGoogle Antigravity

Fuentes y referencias

Las fuentes originales se enlazan a continuación. Los puntos de partida prácticos son sugerencias editoriales de SkillHey.