test-driven-development
Skill3 starsChanged 5 days agoMITView on GitHub
Guía la implementación estricta mediante Test-Driven Development (Red-Green-Refactor) escribiendo pruebas verificables antes del código de producción. Úsala al implementar nuevas funcionalidades, corregir bugs reproducibles o blindar contratos críticos.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
- karanmrn/kstacktheir own version, first seen Nov 29, 2026
- Dannykkh/skill-olympustheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
steven123397Skillaccessibility-engineering
Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.
Also in 4 projects that use this
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 46 projects that use this
MrCipherSmithSkillconstraint-driven-development
Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.
Also in 21 projects that use this
LLl0k0laDSkillgit-workflow-and-versioning
Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
Also in 54 projects that use this
- +3 more from Leodorareluctant259
- +2 more from LLl0k0laD
Other versions191 projects use a version of this.
Word for word · 1
- Blandskron/KronForge★ 3100% same
Edited · 0
None found.
Wrote their own version · 190
- obra/superpowers★ 314ksame name
- NousResearch/hermes-agent★ 267ksame name
- addyosmani/agent-skills★ 121ksame name
- cloudflare/computer★ 10ksame name
- mdiri-ai/SoduWork★ 9.1ksame name
- jnMetaCode/superpowers-zh★ 8.6ksame name
- openai/plugins★ 8.4ksame name
- farm-fe/farm★ 5.6ksame name
- microsoft/FluidFramework★ 5ksame name
- mikeyobrien/ralph-orchestrator★ 3.2ksame name
180 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- documentation-auditSkill
- github-pages-releaseSkill
- prompt-updateSkill
- safe-refactoringSkill
- structured-code-reviewSkill
- systematic-debuggingSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 181 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
No modifiques ni debiliten aserciones existentes para forzar un paso en verde.
- Distinctive: line 35
No uses mocks que oculten el comportamiento real bajo prueba cuando existe un fixture liviano reproducible.
- Very specific: line 42
No edites este archivo: modifica la fuente en library/ y ejecuta npm run build:skills.
“Common” is measured: kept by at least 6 in 10 of the 181 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Test-Driven Development (Red → Green → Refactor)
Aplica esta skill para construir cambios verificables con evidencia real de fallo previo y solución mínima.
Regla de oro
Ningún código de producción se escribe antes de tener una prueba automatizada que reproduzca el requisito y falle por la razón esperada.
Procedimiento
- Detectar el comando real de pruebas: verifica en el repositorio qué runner existe (
npm test,pytest,go test,cargo test, etc.). Nunca inventes comandos. - Fase RED: escribe la prueba más pequeña que expresa el comportamiento esperado o reproduce el bug. Ejecútala y confirma que falla por el motivo correcto (no por error de sintaxis o import).
- Fase GREEN: escribe el código mínimo y claro necesario para que la nueva prueba y la suite existente pasen.
- Fase REFACTOR: limpia duplicación, nombres y estructura manteniendo todas las pruebas en verde sin cambiar comportamiento externo.
- Evidencia: reporta el comando exacto ejecutado, el fallo observado en RED y el resultado final en GREEN/REFACTOR.
Restricciones
- No modifiques ni debiliten aserciones existentes para forzar un paso en verde.
- No uses mocks que oculten el comportamiento real bajo prueba cuando existe un fixture liviano reproducible.
- Si una prueba no puede ejecutarse en el entorno actual, repórtala explícitamente como
NOT_RUN.
Procedencia
Proyección generada del activo canónico library/domains/quality-engineering/skills/test-driven-development/SKILL.md.
No edites este archivo: modifica la fuente en library/ y ejecuta npm run build:skills.
La puerta de calidad falla si esta proyección queda desactualizada.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

