From unit-test-generator
Generates unit tests from source code with automatic framework detection (Jest, pytest, JUnit). Covers happy paths, edge cases, and error conditions with mock dependencies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/unit-test-generator:unit-test-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill empowers Claude to rapidly create robust unit tests, saving developers time and ensuring code quality. It analyzes source code, identifies key functionalities, and generates test cases covering various scenarios, including happy paths, edge cases, and error conditions.
This skill empowers Claude to rapidly create robust unit tests, saving developers time and ensuring code quality. It analyzes source code, identifies key functionalities, and generates test cases covering various scenarios, including happy paths, edge cases, and error conditions.
This skill activates when you need to:
User request: "generate tests src/utils/validator.js"
The skill will:
validator.js file to understand its functions and dependencies.validator.test.js file with test cases covering various validation scenarios.User request: "generate tests --framework pytest src/api/users.py"
The skill will:
users.py file to understand its API endpoints and dependencies.test_users.py file with test cases covering various API scenarios, including successful requests, error handling, and authentication.This skill can be used in conjunction with other code analysis and refactoring tools to improve code quality and maintainability. It also integrates with CI/CD pipelines to automatically run tests and prevent regressions.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub danielmiessler/claude-code-plugins-plus --plugin unit-test-generator