generate-test-cases
✓Analyze code and generate a structured list of test cases following battle-tested INCLUDE/EXCLUDE rules. Outputs Given-When-Then format covering all code branches. Use before writing actual tests.
Installation
SKILL.md
You will analyze code and generate a list of test cases that should be written for a given method/class.
IMPORTANT: This command should be run BEFORE /generate-tests to ensure test cases follow the rules.
CRITICAL: You MUST read and apply all rules from the following files before generating test cases:
Analyze code and generate a structured list of test cases following battle-tested INCLUDE/EXCLUDE rules. Outputs Given-When-Then format covering all code branches. Use before writing actual tests. Source: clear-solutions/unit-tests-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/clear-solutions/unit-tests-skills --skill generate-test-cases- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is generate-test-cases?
Analyze code and generate a structured list of test cases following battle-tested INCLUDE/EXCLUDE rules. Outputs Given-When-Then format covering all code branches. Use before writing actual tests. Source: clear-solutions/unit-tests-skills.
How do I install generate-test-cases?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/clear-solutions/unit-tests-skills --skill generate-test-cases Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/clear-solutions/unit-tests-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01