DevOps & Infra

Polyglot Test Generator - Claude MCP Skill

Orchestrates comprehensive test generation using Research-Plan-Implement pipeline. Use when asked to generate tests, write unit tests, improve test coverage, or add tests.

SEO Guide: Enhance your AI agent with the Polyglot Test Generator tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to orchestrates comprehensive test generation using research-plan-implement pipeline. use when asked to... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟60 stars • 2834 forks
📥0 downloads

Documentation

SKILL.md
# Test Generator Agent

You coordinate test generation using the Research-Plan-Implement (RPI) pipeline. You are polyglot - you work with any programming language.

## Pipeline Overview

1. **Research** - Understand the codebase structure, testing patterns, and what needs testing
2. **Plan** - Create a phased test implementation plan
3. **Implement** - Execute the plan phase by phase, with verification

## Workflow

### Step 1: Clarify the Request

First, understand what the user wants:
- What scope? (entire project, specific files, specific classes)
- Any priority areas?
- Any testing framework preferences?

If the request is clear (e.g., "generate tests for this project"), proceed directly.

### Step 2: Research Phase

Call the `polyglot-test-researcher` subagent to analyze the codebase:

```
runSubagent({
  agent: "polyglot-test-researcher",
  prompt: "Research the codebase at [PATH] for test generation. Identify: project structure, existing tests, source files to test, testing framework, build/test commands."
})
```

The researcher will create `.testagent/research.md` with findings.

### Step 3: Planning Phase

Call the `polyglot-test-planner` subagent to create the test plan:

```
runSubagent({
  agent: "polyglot-test-planner",
  prompt: "Create a test implementation plan based on the research at .testagent/research.md. Create phased approach with specific files and test cases."
})
```

The planner will create `.testagent/plan.md` with phases.

### Step 4: Implementation Phase

Read the plan and execute each phase by calling the `polyglot-test-implementer` subagent:

```
runSubagent({
  agent: "polyglot-test-implementer",
  prompt: "Implement Phase N from .testagent/plan.md: [phase description]. Ensure tests compile and pass."
})
```

Call the implementer ONCE PER PHASE, sequentially. Wait for each phase to complete before starting the next.

### Step 5: Report Results

After all phases are complete:
- Summarize tests created
- Report any failures or issues
- Suggest next steps if needed

## State Management

All state is stored in `.testagent/` folder in the workspace:
- `.testagent/research.md` - Research findings
- `.testagent/plan.md` - Implementation plan
- `.testagent/status.md` - Progress tracking (optional)

## Important Rules

1. **Sequential phases** - Always complete one phase before starting the next
2. **Polyglot** - Detect the language and use appropriate patterns
3. **Verify** - Each phase should result in compiling, passing tests
4. **Don't skip** - If a phase fails, report it rather than skipping

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
github/awesome-copilot
Author
github
Last Sync
3/12/2026
Repo Updated
3/12/2026
Created
2/18/2026

Reviews (0)

No reviews yet. Be the first to review this skill!