TDD Workflow
hellangleZ/burn-in-cceverywhere-ralph
A skill your agent uses when writing new features, fixing bugs, or refactoring code.
A skill your agent uses when implementing features or fixing bugs with strict Test-Driven Development (TDD).
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expert --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .claude/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .claude/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expertType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .agents/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .agents/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .cursor/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .cursor/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/thedaviddias/skill-check.git --path .agents/skills/tdd-methodoly-expert--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .gemini/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .gemini/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expertInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .github/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .github/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install thedaviddias/skill-check tdd-methodoly-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thedaviddias/skill-check.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/tdd-methodoly-expert .opencode/skills/tdd-methodoly-expert && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tdd-methodoly-expert" agent skill from https://github.com/thedaviddias/skill-check/tree/main/.agents/skills/tdd-methodoly-expert into .opencode/skills/tdd-methodoly-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tdd-methodoly-expert", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tdd-methodoly-expertA skill your agent uses when implementing features or fixing bugs with strict Test-Driven Development (TDD).
TDD Methodoly Expert is an agent skill from thedaviddias/skill-check. Use when implementing features or fixing bugs with strict Test-Driven Development (TDD). Activate for coding tasks that require new functionality, refactoring, or comprehensive test coverage, especially when the user mentions TDD or Test Driven Development.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/tdd-reference.md`).
It sits in Testing & QA, covering Test-driven development and Refactoring. The repository describes itself as: Linter for agent skill files. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 923aaee. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonbashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
TDD Methodoly Expert loads about 2.2k tokens when it runs, and up to ~5.8k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 935 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from thedaviddias/skill-check at commit 923aaee, republished under its MIT licence (© thedaviddias). 935 words, ~2,216 tokens.
.claude/skills/tdd-methodoly-expert/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Enforce and reinforce Test-Driven Development (TDD) methodology throughout the software development process. This skill provides comprehensive guidance, automated validation, and continuous reinforcement of the Red-Green-Refactor cycle.
This skill automatically activates when:
CLAUDE.md or CLAUDE.local.mdUse this skill for:
Do NOT use this skill for:
Test-Driven Development follows a strict three-phase cycle that must be repeated for every increment of functionality:
Always write the test before any production code.
Red Phase Principles:
Example Flow:
1. Write: test_should_calculate_total_with_tax()
2. Run: Test fails - "ShoppingCart has no attribute 'calculate_total'"
3. ✅ Ready for Green phaseWrite minimal code to make the failing test pass.
Green Phase Principles:
Example Flow:
1. Implement: def calculate_total(self, tax_rate): ...
2. Run: Test passes ✅
3. Run all: All tests pass ✅
4. ✅ Ready for Refactor phaseClean up code while maintaining passing tests.
Refactor Phase Principles:
Example Flow:
1. Identify: Duplicated tax calculation logic
2. Extract: Move to _calculate_tax() method
3. Run tests: All pass ✅
4. Improve: Better variable names
5. Run tests: All pass ✅
6. ✅ Commit and move to next featureStep 1: Understand the Requirement
Step 2: Plan the Test
Always follow this sequence:
Never skip phases or reverse the order.
In every response involving code changes, explicitly state:
Example Communication:
🔴 RED PHASE: Writing a test for calculating order total with discounts.
Test: test_should_apply_percentage_discount_to_order_total()
Expected to fail because Order.apply_discount() doesn't exist yet.
[Test code here]
Running test... ❌ Fails as expected: "Order has no attribute 'apply_discount'"
🟢 GREEN PHASE: Implementing minimal code to pass the test...
[Implementation code here]
Running test... ✅ Passes!
Running all tests... ✅ All pass!
🔵 REFACTOR PHASE: Improving the discount calculation structure...
[Refactored code here]
Running all tests... ✅ All pass!
Ready to commit this increment.Analyzes code to detect TDD compliance issues and code smells that indicate test-after development.
Usage:
python scripts/check_tdd_compliance.py <path-to-code>What it checks:
When to use:
Validates that tests exist, are properly structured, and follow TDD patterns.
Usage:
python scripts/validate_tests.py <path-to-tests>What it checks:
When to use:
Installs git hooks and Claude Code hooks to enforce TDD methodology automatically.
Usage:
bash scripts/setup_hooks.sh <project-directory>What it installs:
When to use:
Load these references when deeper understanding is needed:
Comprehensive guide to TDD methodology including:
When to reference: When explaining TDD concepts or resolving questions about methodology.
Catalog of code smells that indicate test-after development:
When to reference: When analyzing code quality or identifying non-TDD patterns.
Grep patterns for searching:
if.*:\s*\n\s+ifisinstance\(|typeof Language-agnostic testing patterns and best practices:
When to reference: When writing tests or improving test structure.
Located in assets/hook-templates/:
These templates are used by setup_hooks.sh and can be customized for specific project needs.
See references/tdd-reference.md for prompt-based validation and setup, TDD enforcement rules, common scenarios, workflow integration, troubleshooting, and summary.
© thedaviddias, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .agents/skills/tdd-methodoly-expert of thedaviddias/skill-check.
Open the folder on GitHubat commit 923aaee
TDD Methodoly Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| TDD Methodoly Expert this skillthedaviddias/skill-check | 190 | — | ~2.2k | Automated safety check: Pass | MIT | |
| TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph | 112 | 11 repos | ~2.4k | Automated safety check: Pass | None | |
| TDDDanMcInerney/architect-loop | 626 | — | ~730 | Automated safety check: Pass | MIT | |
| TDD Workflowaffaan-m/ECC | 276k | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Fixjvm-skills/jvm-skills | 140 | — | ~695 | Automated safety check: Pass | Apache-2.0 | |
| Test Driven Developmentdzhalaevd/Donatello | 135 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
hellangleZ/burn-in-cceverywhere-ralph
A skill your agent uses when writing new features, fixing bugs, or refactoring code.
DanMcInerney/architect-loop
Test-driven development for factory builders. An agent skill from DanMcInerney/architect-loop.
affaan-m/ECC
Yeni özellikler yazarken, hata düzeltirken veya kod refactor ederken bu skill'i kullanın.
jvm-skills/jvm-skills
Fix a bug or missing feature using TDD — write failing test first, then fix, refactor, verify, beautify.
dzhalaevd/Donatello
Use as a workflow overlay when implementing any feature, bugfix, refactor, or behavior change before writing production code
nodetool-ai/nodetool
Develop a behavior test-first through red, green, and refactoring.
Categories
A skill your agent uses when implementing features or fixing bugs with strict Test-Driven Development (TDD). TDD Methodoly Expert is an agent skill from thedaviddias/skill-check. Use when implementing features or fixing bugs with strict Test-Driven Development (TDD).
TDD Methodoly Expert fits situations like: implementing features; fixing bugs with strict Test-Driven Development (TDD); test Driven Development.
Run `npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a claude-code`. Or copy the skill folder (.agents/skills/tdd-methodoly-expert in thedaviddias/skill-check) into .claude/skills/tdd-methodoly-expert in your project. Claude Code loads it when a task matches its description.
Run `npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a codex`. Or copy the skill folder (.agents/skills/tdd-methodoly-expert in thedaviddias/skill-check) into .agents/skills/tdd-methodoly-expert in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thedaviddias/skill-check --skill tdd-methodoly-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tdd-methodoly-expert, .gemini/skills/tdd-methodoly-expert, .github/skills/tdd-methodoly-expert and .opencode/skills/tdd-methodoly-expert in your project.
Going by SKILL.md and its folder, TDD Methodoly Expert needs the command-line tools its instructions call (python and bash). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
TDD Methodoly Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with TDD Methodoly Expert: TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), TDD (DanMcInerney/architect-loop, 626 stars), TDD Workflow (affaan-m/ECC, 276k stars) and Fix (jvm-skills/jvm-skills, 140 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
thedaviddias (a GitHub user) maintains it in thedaviddias/skill-check, which has 190 GitHub stars. The repository was last updated on May 18, 2026.
Source: thedaviddias/skill-check on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.