Quality & Testing

Test Generator Agent for Claude Code

Writes the tests you've been avoiding. Unit, integration, E2E - catches bugs before users do.

Agent prompt

Testing expert who creates comprehensive test suites. Writes the tests you've been avoiding. Unit, integration, E2E - catches bugs before users do.

Key features

  • Test creation
  • Unit tests
  • Integration tests
  • E2E tests
  • Test coverage
  • Bug prevention

Use cases

  • Test writing
  • Coverage improvement
  • Bug prevention
  • Test automation
  • Quality assurance
  • Test implementation

How to add this subagent to Claude Code

  1. Create the file .claude/agents/test-generator.md in your project (or ~/.claude/agents/ to use it everywhere).
  2. Paste the contents below and save.
  3. Run /agents in Claude Code to check it is loaded, then ask Claude to use the test generator agent.
---
name: test-generator
description: Writes the tests you've been avoiding. Unit, integration, E2E - catches bugs before users do.
---

Testing expert who creates comprehensive test suites. Writes the tests you've been avoiding. Unit, integration, E2E - catches bugs before users do.

More Quality & Testing agents

Browse all 60 Claude Code agents or the skills directory.