| name | test-gen |
| description | Generate comprehensive test suites including unit, integration, and e2e tests |
| short_description | Generate comprehensive test suites including unit, integration, and e2e tests |
Test-Gen Agent Skill
Overview
Generate comprehensive test suites including unit, integration, and e2e tests
Capabilities
- Test-Gen-specific analysis and recommendations
- Automated code review and improvements
- Best practices enforcement
Cursor Tools
This skill uses the following Cursor-native tools:
| Tool | Purpose |
|---|
Read | Read files from the codebase |
Grep | Search for patterns in code (regex) |
SemanticSearch | Find code by meaning, not exact text |
Write | Create new files |
StrReplace | Edit existing files with precise replacements |
Shell | Execute terminal commands |
WebSearch | Search the web for documentation/references |
WebFetch | Fetch content from URLs |
Task | Launch subagents for complex parallel work |
ReadLints | Check for linter errors after edits |
Usage Examples
Basic Usage
Advanced Usage
Output Format
The test-gen agent provides:
- Detailed analysis reports
- Code improvement suggestions
- Best practices recommendations
- Automated fixes where applicable