Agent

Test Generator

Analyzes code changes and writes test cases that match existing patterns.

Install

manual
cp test-generator.md ~/.claude/agents/

Add this to your Claude Code MCP settings or run via the CLI.

About

Reads existing tests to learn conventions before generating. Will not invent new test idioms when the codebase already has a pattern.

Common use cases

  • Cover a new repository method
  • Backfill missing tests
  • Generate edge-case scenarios

Tags

testinggenerationtdd