Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thomashendrickx-test-driven-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/test-driven-development
What's inside
- Skill name
test-driven-development- Description
- Use for every code change. Red-green-refactor with commit evidence, test layers, and what makes a test worth keeping.
- License
- Apache-2.0
- Instructions
- 26 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Test-driven development
No production code without a failing test that demands it.
No code can be written before the test is clear and expected behaviour set. Strict red, green, refactor is the order of the work, not of the commits: a test written after the code is noted, not blocking; never rewrite git history to show the test first.
Loop per behaviour, one vertical slice at a time:
1. Red: one test at the public interface, run it, see it fail for the right reason. Commit `test(<scope>): <rule> (red)` with only the test.
2. Green: least code to pass, run it by name. Commit `feat(<scope>): <rule>` (or `fix`).
3. Refactor with tests green, in the green commit or as `refactor(<scope>): ...` right after it.
Push green heads only. One tiny rule may batch several tests.
Layers:
- Unit (beside the file): domain logic and use cases through their interface. Ports get hand-written in-memory fakes, no mocking library. Fake only system boundaries (database, network, clock, ids, vendors), never your own modules. Assert outcomes and stored state, not calls.
- Integration: every adapter that touches a database runs against a real database in a container.
- End to end (few, critical journeys): interact via `data-testid="{area}-{element}"`, assert via role or text.
Rules:
- Name tests as the rule, in domain language: `refuses a second claim while a lease is held`.
- One outcome per test; inputs from named factories (`aShip(...)`); inject clock and id generator.
- Expected values come from an independent source (a literal, a worked example, the spec), never recomputed the way the code computes them.
- A test that breaks on a refactor without a behaviour change is coupled to internals: rewrite it at the interface.
- Each rule: happy path, every failure, boundaries (exact limit and one over).
- Every invariant has a test that fails if the rule is removed. A guarantee without a test does not exist.
- Done: typecheck, lint and tests green; new tests appear by name in the output.From ThomasHendrickx/skills, Apache-2.0.
More from ThomasHendrickx/skills
- 0.570score
scenario-video
ThomasHendrickx
Use when making an Aeolus scenario video (the same story without and with Aeolus) or explainer video (how an Aeolus part works, when to use it and when not)…
SkillAFreshness: AClaude Code +9 - 0.565score
code-review
ThomasHendrickx
Use when reviewing a branch, pull request or diff.
SkillAFreshness: AClaude Code +9 - 0.564score
writing-for-agents
ThomasHendrickx
Use when creating or editing a skill, CLAUDE.md, AGENTS.md, or any doc agents reach through a pointer.
SkillAFreshness: AClaude Code +9 - 0.564score
performance
ThomasHendrickx
Use when designing or building an API, a query, a list or a page that reads data.
SkillAFreshness: AClaude Code +9 - 0.560score
pull-request
ThomasHendrickx
Use when writing a pull request body.
SkillAFreshness: AClaude Code +9 - 0.558score
web-frontend
ThomasHendrickx
Use for React and Next.js web app changes.
SkillAFreshness: AClaude Code +9 - 0.553score
typescript
ThomasHendrickx
Use for every .ts or .tsx change.
SkillAFreshness: AClaude Code +9 - 0.553score
domain-modelling
ThomasHendrickx
Use for server domain logic, use cases, ports and adapters, and data models.
SkillAFreshness: AClaude Code +9 - 0.547score
software-development
ThomasHendrickx
Use for every code change.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Oct 21, 2026 (7 days ago)
- Last release
- Oct 10, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/ThomasHendrickx/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ThomasHendrickx
- 0.570score
scenario-video
ThomasHendrickx
Use when making an Aeolus scenario video (the same story without and with Aeolus) or explainer video (how an Aeolus part works, when to use it and when not)…
SkillAFreshness: AClaude Code +9 - 0.565score
code-review
ThomasHendrickx
Use when reviewing a branch, pull request or diff.
SkillAFreshness: AClaude Code +9 - 0.564score
writing-for-agents
ThomasHendrickx
Use when creating or editing a skill, CLAUDE.md, AGENTS.md, or any doc agents reach through a pointer.
SkillAFreshness: AClaude Code +9 - 0.564score
performance
ThomasHendrickx
Use when designing or building an API, a query, a list or a page that reads data.
SkillAFreshness: AClaude Code +9 - 0.560score
pull-request
ThomasHendrickx
Use when writing a pull request body.
SkillAFreshness: AClaude Code +9 - 0.558score
web-frontend
ThomasHendrickx
Use for React and Next.js web app changes.
SkillAFreshness: AClaude Code +9
Cite this page
test-driven-development skill. Agent Mart. https://agentmart.dev/skills/thomashendrickx-test-driven-development (last updated 2026-10-24)