name: test-generation description: Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.
Test Generation
Overview
Generate tests systematically by analyzing code paths, covering edge cases, and validating coverage targets.
When to Use
- Creating tests for new features
- Improving coverage in weak areas
- Building regression or integration test suites
Avoid when:
- The task is only running existing tests (use dev-workflows)
Quick Reference
| Task | Load reference |
|---|---|
| Test generation workflow | skills/test-generation/references/generate-tests.md |
Workflow
- Identify target scope and test type.
- Load the test generation reference.
- Analyze code paths and edge cases.
- Generate tests and validate coverage.
- Summarize results and gaps.
Output
- Generated tests
- Coverage report and follow-ups
Common Mistakes
- Writing tests without understanding code paths
- Ignoring edge cases or failure modes
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
12
GitHub Forks
5
Created
Mar 2026
Last Updated
3个月前
tools
tools automation tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!