๐Ÿงช
QualityTypeScript

TDD

by codeaholicguy

TDD is a Quality skill for Claude Code, published by codeaholicguy in ai-devkit.

1.6K stars242 forkson codeaholicguy/ai-devkitAdded 2026/08/19Repository updated 2026/08/18
agent-frameworkagent-skillsaiai-agentsai-codingantigravityclaude-codeclicodex-clicoding-agentscursor-aideveloper-toolsgemini-climcpmemoryopencodepisoftware-engineeringworkflow-automation
Install in seconds
Install TDD
Copy TDD into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/codeaholicguy/ai-devkit/tree/main/skills/tdd ~/.claude/skills/tdd

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/codeaholicguy/ai-devkit.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/tdd/SKILL.md in codeaholicguy/ai-devkit
Installs to
~/.claude/skills/tdd
Collection
One of 25 skills cataloged from this repository
Category
Quality โ€” 1354 skills

What TDD does

TDD enforces a red-green-refactor cycle: write a failing test before any production code. Use it when implementing new functionality, adding behavior, or fixing bugs.

TDD is cataloged under Quality on DirSkills. TDD comes from a repository tagged agent-framework, agent-skills, ai, ai-agents and ai-coding.

Documentation

README

TDD

Red. Green. Refactor. In that order, every time.

Hard Rules

  • No production code without a failing test first.
  • If production code was written before its test, delete it and start over with a failing test.
  • Never skip the red step. A test that has never failed proves nothing.

Cycle

For each unit of behavior:

  1. Red โ€” Write a test for the next behavior. Run it. It must fail. Read the failure message โ€” it should describe the missing behavior.
  2. Green โ€” Write the minimum production code to make the test pass. Nothing more. Run the test. Apply the verify skill.
  3. Refactor โ€” Clean up both test and production code. Run the test again. Still green? Done. Apply the verify skill.

Then pick the next behavior and repeat.

Rules for Each Step

This is the opening of the README. Read the full README on GitHub.

Frequently asked about TDD

  • What else does codeaholicguy publish alongside TDD?

    TDD is one of 25 skills that DirSkills catalogs from codeaholicguy/ai-devkit, the repository it ships in. Its siblings there include Agent Communication, Agent Management and Agent Orchestration. Each one is a separate skill with its own page in this directory, installs the same way TDD does, and is maintained by codeaholicguy in that same repository. The rest of the collection is listed on the codeaholicguy/ai-devkit page.

  • How does TDD compare to other Quality skills?

    TDD ranks #635 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of TDD against them. Open each page to compare what they document and how they install.

More from codeaholicguy/ai-devkit

TDD is one of 25 skills cataloged on DirSkills from codeaholicguy/ai-devkit.

See all 25 skills โ†’
๐Ÿ’ฌ
2w ago

Agent Communication

Agent Communication lets an AI agent discover active AI coding agents, read their recent context, and send them messages or request information using the ai-devkit CLI. Use it when one agent needs to coordinate with another or hand off work.
AI Engineering
1.6K242
๐Ÿค–
2w ago

Agent Management

Agent Management uses ai-devkit agent commands to list, start, inspect, assign work to, and stop AI agents. Use it when an agent needs to identify itself, manage other agents, or delegate tasks.
AI Engineering
1.6K242
๐Ÿงญ
2w ago

Agent Orchestration

Agent Orchestration coordinates dependencies between multiple AI agents, polls their progress, unblocks waiting agents, relays outputs, resolves conflicts, and verifies completion. Use it for ongoing multi-agent supervision rather than one-off agent actions.
AI Engineering
1.6K242
๐Ÿ’ก
2w ago

Brainstorm

Brainstorm runs a compact diverge-to-converge loop that helps users generate, challenge, compare, and narrow ideas. Use it for ideation, evaluating options, naming, technical approaches, content angles, or strategic decisions.
AI Engineering
1.6K242
๐Ÿ“
2w ago

Changelog

Changelog updates the Unreleased section of CHANGELOG.md from commits after the latest release. Use it when asked to update changelog or release notes from recent git commits.
Automation
1.6K242
โœ…
2w ago

Dev Commit

Dev Commit stages and commits only the files that belong to a requested change, avoiding unrelated user edits and generated artifacts. Use it when an agent needs to make an intentional, verified conventional commit or prepare a PR-ready checkpoint.
Automation
1.6K242