Agent skill

test-gen

Generate comprehensive unit tests for code files

Stars 4,435
Forks 482

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

  1. Structure: Arrange-Act-Assert pattern
  2. Coverage: Happy path, edge cases, error cases
  3. Quality: Independent, repeatable, fast, clear
  4. Naming: Descriptive test names

Test Categories

  • Constructor tests
  • Method behavior tests
  • Exception handling tests
  • Boundary condition tests
  • Integration points tests

Project: $PROJECT_NAME

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results