AI Skills Catalog
Skills pack Tools

TDD Guide

Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and Mocha. Use when the user asks to write tests, improve test coverage, practice TDD, generate mocks or stubs, or mentions testing frameworks like Jest, pytest, or JUnit.
SKILL SCORE95How it is scored
VerifiedFreeMIT

Works with

Native format: Claude. Packaged from the source skill for Codex, GPT and 3 more.

What TDD Guide does

Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and Mocha. Use when the user asks to write tests, improve test coverage, practice TDD, generate mocks or stubs, or mentions testing frameworks like Jest, pytest, or JUnit.

What is inside the skill

Section headings from the original SKILL.md (about 1,158 words of instructions). Read the full text in the source repository before installing.

  1. Workflows
  2. Generate Tests from Code
  3. Analyze Coverage Gaps
  4. TDD New Feature
  5. Examples
  6. Test Generation — Input → Output (Pytest)
  7. Coverage Analysis — Sample P0/P1/P2 Output
  8. Key Tools
  9. Input Requirements
  10. Spec-First Workflow
  11. Spec Directory Convention
  12. Extracting Tests from Specs
  13. Red-Green-Refactor Examples Per Language
  14. TypeScript / Jest
  15. Python / Pytest (Advanced Patterns)
  16. Go — Table-Driven Tests
  17. Bounded Autonomy Rules
  18. Stop and Ask When
  19. Continue Autonomously When
  20. Property-Based Testing
  21. Python — Hypothesis
  22. TypeScript — fast-check
  23. When to Use Property-Based Over Example-Based
  24. Mutation Testing

Bundled files

  • HOW_TO_USE.md
  • README.md
  • assets/expected_output.json
  • assets/sample_input_python.json
  • assets/sample_input_typescript.json
  • references/ci-integration.md
  • references/framework-guide.md
  • references/tdd-best-practices.md

How to install TDD Guide

Claude Native
  1. Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files.
  2. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
  3. For Claude apps, upload the ZIP in the Skills section of the capabilities settings.
  4. Start a new session and describe the task in your own words. Claude picks the skill when the request matches its description.
More about skills for Claude
Codex Packaged
  1. Download the Codex package. The ZIP contains one folder named after the skill, with SKILL.md and bundled resources.
  2. Unpack the complete folder into .agents/skills/ inside your repository, or into ~/.agents/skills/ for personal use. Preserve its relative reference-file paths.
  3. Start a new Codex session and invoke the skill by name or with $skill-name, or describe a matching task.
  4. AGENTS.md is separate project guidance. The ZIP does not generate or modify that file.
More about skills for Codex
GPT Packaged
  1. Download the GPT package from the skill page.
  2. Create or edit a custom GPT (or a ChatGPT project) and paste the contents of SKILL.md into the instructions field.
  3. Upload the bundled reference files as knowledge so the GPT can consult them.
  4. Test with one of the example prompts from the skill page and adjust the instructions if your use case differs.
More about skills for GPT
Gemini Packaged
  1. Download the Gemini package from the skill page.
  2. For a project, unpack the complete folder into .gemini/skills/ or .agents/skills/. For personal use, use ~/.gemini/skills/ or ~/.agents/skills/.
  3. Run /skills reload in Gemini CLI, then /skills list to check discovery. There is no need to paste the skill into GEMINI.md.
  4. Test a matching task and verify the referenced tools and files are available.
More about skills for Gemini
Cursor Packaged
  1. Download the Cursor package from the skill page.
  2. Unpack the complete skill folder into .cursor/skills/ or .agents/skills/ in your project. For personal local use, ~/.cursor/skills/ and ~/.agents/skills/ are also supported.
  3. Start a new Cursor session. Type / in Agent chat and select the skill name, or describe a matching task.
  4. Commit the skill folder and resources for team use. Personal local skills are not automatically available to remote agents or automation runs.
More about skills for Cursor
OpenCode Packaged
  1. Download the OpenCode package from the skill page.
  2. Unpack the complete folder into .opencode/skills/ in your project, or ~/.config/opencode/skills/ for personal use. OpenCode also supports .agents/skills/ and .claude/skills/ compatibility locations.
  3. Keep supporting files at their original relative paths. AGENTS.md is separate project-wide guidance and is not generated by this ZIP.
  4. Start OpenCode in the project and test a matching task with the model and permissions you use.
More about skills for OpenCode

Permissions & security

Low risk

Inspect the source, license and declared permissions before use. Read the scripts before running them. Review method

Read project files
Write generated skill files

TDD Guide FAQ

What does the TDD Guide skill do?

Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and Mocha. Use when the user asks to write tests, improve test coverage, practice TDD, generate mocks or stubs, or mentions testing frameworks like Jest, pytest, or JUnit.

Which AI agents can use TDD Guide?

Claude uses the original format. Packages for Codex, GPT and 3 more are built from the same source instructions.

How do I install TDD Guide in Claude?

Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.

Who made TDD Guide and what is the license?

TDD Guide is published by Alireza Rezvani under the MIT license. The source is https://github.com/alirezarezvani/claude-skills/tree/main/engineering-team/skills/tdd-guide. The catalog keeps the original attribution.

What permissions does TDD Guide need?

Declared permissions: read project files, write generated skill files. Risk level: low. Check the scripts in the source before running them.

TDD Guide Skill — Alireza Rezvani | AI Skills Catalog