test-driven-development
Skill4 starsChanged 2 months agoMITView on GitHub
Use when adding or changing program behavior, fixing a bug, or refactoring behavior that needs regression protection.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- Blandskron/agents-first-repo-docstheir own version, first seen Nov 29, 2026
- 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
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 · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- 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
181 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 repository15 other files it gives its agents.
- brainstormingSkill
- diagnosing-orchestraSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- orchestratorSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- using-git-worktreesSkill
- using-orchestraSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
Files
Behavior-first verification
For a new behavior or bug fix, write a minimal regression test before implementation. Name the production behavior that would make it fail. Run it and confirm RED is the expected assertion failure, not a syntax, import or environment error. Then implement the smallest correct change, observe GREEN, and refactor only while checks remain green.
Tests exercise observable behavior and meaningful boundaries, not mocks or implementation wording. Reuse the project's test setup. Prefer real dependencies where practical; understand side effects before mocking. Keep test-only behavior out of production code. Read writing good tests when designing new or changed tests.
For a behavior-preserving refactor, establish passing coverage before the change and verify it afterwards; do not invent an artificial failure. For docs, formatting and non-behavioral config edits, use relevant diff, parser/schema, render or link checks instead of synthetic unit tests. A config change that affects runtime behavior still needs a behavioral check. Throwaway probes must not be described as production-ready without appropriate verification.
Preserve existing user code. If implementation already exists, add the missing regression and demonstrate it against the original behavior in an isolated copy or a safely reversible task-owned change. Never delete or reset user work to recreate test order. If RED cannot be demonstrated, report that evidence gap; do not claim test-first evidence.
During development run focused checks. Before completion run the project's required checks, including its normal full test command for production code changes, or reuse matching evidence under orchestra:verification-before-completion. A focused pass does not prove a green suite. Report every observed failure and its scope, including pre-existing failures; never imply checks passed when blocked.
Diagnose unexpected failures with orchestra:systematic-debugging. Preserve security, data-loss prevention, accessibility and hardware safety. Do not lower acceptance criteria to save tokens. Record command, state, environment, exit code and log before claiming success.
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.

