From unit-test-generator
This skill enables Claude to automatically generate comprehensive unit tests from source code. It is triggered when the user requests unit tests, test cases, or test suites for specific files or code snippets. The skill supports multiple testing frameworks including Jest, pytest, JUnit, and others, intelligently detecting the appropriate framework or using one specified by the user. Use this skill when the user asks to "generate tests", "create unit tests", or uses the shortcut "gut" followed by a file path.
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.
3plugins reuse this skill
First indexed Jul 13, 2026
npx claudepluginhub dorucioclea/claude-code-plugins-plus --plugin unit-test-generator