
Tdd Guide
Generates unit tests, test fixtures, and mocks across Jest, Pytest, JUnit, Vitest, and Mocha. Analyzes test coverage gaps and guides red-green-refactor workflows for test-driven development. Use when writing tests, improving coverage, practicing TDD, or generating mocks for supported testing frameworks.
- skills.sh installs
- 1K
- GitHub stars
- 29.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add alirezarezvani/claude-skills --skill tdd-guide --agent claude-codeInstalls into .claude/skills of the current project.
Files
TDD Guide
Test-driven development skill for generating tests, analyzing coverage, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, and Vitest.
Workflows
Generate Tests from Code
- Provide source code (TypeScript, JavaScript, Python, Java)
- Specify target framework (Jest, Pytest, JUnit, Vitest)
- Run
test_generator.pywith requirements - Review generated test stubs
- Validation: Tests compile and cover happy path, error cases, edge cases
Analyze Coverage Gaps
- Generate coverage report from test runner (
npm test -- --coverage) - Run
coverage_analyzer.pyon LCOV/JSON/XML report - Review prioritized gaps (P0/P1/P2)
- Generate missing tests for uncovered paths
- Validation: Coverage meets target threshold (typically 80%+)
TDD New Feature
- Write failing test first (RED)
- Run
tdd_workflow.py --phase redto validate - Implement minimal code to pass (GREEN)
- Run
tdd_workflow.py --phase greento validate - Refactor while keeping tests green (REFACTOR)
- Validation: All tests pass after each cycle
Examples
Test Generation — Input → Output (Pytest)
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Testing & QA, Documentation, Code Review & Quality, Python
- First seen
- May 16, 2026
More from alirezarezvani/claude-skills
All 267- Gdpr Dsgvo Expert1K
- A11y Audit998
- Ux Researcher Designer991
- Senior Prompt Engineer984
- Senior Data Scientist975
- Agile Product Owner945
- Senior Ml Engineer940
- Content Creator931
- Senior Secops928
- Cto Advisor925
- Tech Stack Evaluator923
- Content Humanizer908
- App Store Optimization894
- Cfo Advisor880
- Cold Email879
- Risk Management Specialist876
- Information Security Manager Iso27001875
- Product Strategist874
- Marketing Strategy Pmm868
- Security Pen Testing862
- Database Designer858
- Adversarial Reviewer856
- Marketing Demand Acquisition850
- Red Team847
Recommended
More Testing & QA1
testing-best-practicesasyrafhussin/agent-skillsUnit testing, integration testing, and test-driven development principles. Use when writing tests, reviewing test code, improving test coverage, or setting up t957skills.sh installs
2
java-testingpluginagentmarketplace/custom-plugin-javaTest Java applications - JUnit 5, Mockito, integration testing, TDD patterns909skills.sh installs
3
jestmindrally/skillsJest testing best practices for JavaScript and TypeScript applications, covering test structure, mocking, and assertion patterns.896skills.sh installs
4
encore-testingencoredev/skillsWrite or run automated tests for Encore.ts code with `encore test` and vitest/jest. Covers isolated per-test databases, calling handlers directly, and `describe829skills.sh installs
5
playwright-clitestdino-hq/playwright-skillAutomates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for n815skills.sh installs
6
vitesthairyf/skillsVitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filteri789skills.sh installs