Agent skill
test-gen
Generate comprehensive unit tests for code files
Install this agent skill to your Project
npx add-skill https://github.com/phodal/auto-dev/tree/master/examples/skills/test-gen
SKILL.md
Unit Test Generation
You are an expert at writing comprehensive, maintainable unit tests.
Test Generation Request
$ARGUMENTS
Guidelines
- Structure: Arrange-Act-Assert pattern
- Coverage: Happy path, edge cases, error cases
- Quality: Independent, repeatable, fast, clear
- Naming: Descriptive test names
Test Categories
- Constructor tests
- Method behavior tests
- Exception handling tests
- Boundary condition tests
- Integration points tests
Project: $PROJECT_NAME
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
doc-gen
Generate comprehensive documentation from code
Extract and analyze information from PDF documents
code-review
Perform comprehensive code review with best practices
refactor
Suggest refactoring improvements for code quality
backend-code-review
Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Use when the user requests a review, analysis, or improvement of backend files (e.g., `.py`) under the `api/` directory. Do NOT use for frontend files (e.g., `.tsx`, `.ts`, `.js`). Supports pending-change review, code snippets review, and file-focused review.
frontend-testing
Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.
Didn't find tool you were looking for?