# Claude Code Agent: Test Generator > Analyzes code changes and generates comprehensive test cases by understanding existing test patterns, edge cases, and testing conventions in the codebase ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx claude-code-templates@latest --agent development-team/test-generator --yes ``` Inspect before activation: ```bash npx claude-code-templates@latest --agent development-team/test-generator --yes --dry-run ``` --- ## What This Agent Covers Analyzes code changes and generates comprehensive test cases by understanding existing test patterns, edge cases, and testing conventions in the codebase This TokRepo page is an original install wrapper for the upstream Claude Code agent. It records the install path, source SHA, operational profile, and verification command without republishing the full upstream prompt body. --- ## Operating Profile - Category: Development Team - Claude Code Templates path: `development-team/test-generator` - Tools declared upstream: Glob, Grep, LS, Read, NotebookRead, WebFetch, TodoWrite, WebSearch, KillShell, BashOutput - Best fit: Claude Code projects that need a focused specialist agent and reproducible install command. - Codex usage: stage and inspect generated files before activation when project-global behavior is sensitive. --- ## Verification ```bash npx claude-code-templates@latest --agent development-team/test-generator --yes --dry-run ``` Expected installed file: ```text .claude/agents/test-generator.md ``` --- ## Source & License - Source: [davila7/claude-code-templates development-team/test-generator.md](https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/agents/development-team/test-generator.md) - Source SHA: `43d58bff25b8ac8c07c5454c26045a8bbf8d69ea` - Wrapper content hash is stored in TokRepo metadata. - License: MIT --- Source: https://tokrepo.com/en/workflows/claude-code-agent-test-generator-ba86d832 Author: TokRepo精选