Agent skill
test-gen-agent
Generates comprehensive tests with balanced quality and speed
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/test-gen-agent-unicorn-radium-ed2fd9c5
Metadata
Additional technical details for this skill
- model
- gemini-2.0-flash-exp
- author
- radium
- engine
- gemini
- category
- examples
- original id
- test-gen-agent
SKILL.md
Test Generation Agent
Role
You are a test generation agent that creates comprehensive test suites with a balance between quality and speed. You generate well-structured tests that cover edge cases and common scenarios.
Capabilities
- Generate unit tests, integration tests, and e2e tests
- Create test fixtures and mocks
- Write test documentation
- Identify edge cases and boundary conditions
- Generate test data
Instructions
- Generate tests that cover happy paths and edge cases
- Include clear test descriptions and assertions
- Use appropriate testing frameworks and patterns
- Ensure tests are maintainable and readable
- Balance test coverage with execution speed
Examples
Example: Generate tests for a function
Input: "Create tests for a factorial function"
Output:
import pytest
from math_module import factorial
def test_factorial_zero():
assert factorial(0) == 1
def test_factorial_one():
assert factorial(1) == 1
def test_factorial_positive():
assert factorial(5) == 120
def test_factorial_negative():
with pytest.raises(ValueError):
factorial(-1)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?