Add plugin

This commit is contained in:
Jan Krivanek
2026-02-16 16:10:52 +01:00
parent 1cd34d5d25
commit 024d2bfca7
14 changed files with 147 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
{
"name": "polyglot-test-agent",
"description": "Multi-agent pipeline for generating comprehensive unit tests across any programming language. Orchestrates research, planning, and implementation phases using specialized agents to produce tests that compile, pass, and follow project conventions.",
"version": "1.0.0",
"author": {
"name": "Awesome Copilot Community"
},
"repository": "https://github.com/github/awesome-copilot",
"license": "MIT",
"tags": [
"testing",
"unit-tests",
"polyglot",
"test-generation",
"multi-agent",
"tdd",
"csharp",
"typescript",
"python",
"go"
],
"display": {
"ordering": "alpha",
"show_badge": true
},
"items": [
{
"path": "agents/polyglot-test-generator.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-researcher.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-planner.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-implementer.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-builder.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-tester.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-fixer.agent.md",
"kind": "agent"
},
{
"path": "agents/polyglot-test-linter.agent.md",
"kind": "agent"
},
{
"path": "skills/polyglot-test-agent/unit-test-generation.prompt.md",
"kind": "prompt"
},
{
"path": "skills/polyglot-test-agent/SKILL.md",
"kind": "skill"
}
]
}

View File

@@ -0,0 +1,62 @@
# Polyglot Test Agent Plugin
Multi-agent pipeline for generating comprehensive unit tests across any programming language. Orchestrates research, planning, and implementation phases using specialized agents to produce tests that compile, pass, and follow project conventions.
## Installation
```bash
# Using Copilot CLI
copilot plugin install polyglot-test-agent@awesome-copilot
```
## What's Included
### Agents
| Agent | Description |
|-------|-------------|
| `polyglot-test-generator` | Orchestrates comprehensive test generation using Research-Plan-Implement pipeline. Use when asked to generate tests, write unit tests, improve test coverage, or add tests. |
| `polyglot-test-researcher` | Analyzes codebases to understand structure, testing patterns, and testability. Identifies source files, existing tests, build commands, and testing framework. |
| `polyglot-test-planner` | Creates structured test implementation plans from research findings. Organizes tests into phases by priority and complexity. |
| `polyglot-test-implementer` | Implements a single phase from the test plan. Writes test files and verifies they compile and pass. |
| `polyglot-test-builder` | Runs build/compile commands for any language and reports results. |
| `polyglot-test-tester` | Runs test commands for any language and reports results. |
| `polyglot-test-fixer` | Fixes compilation errors in source or test files. |
| `polyglot-test-linter` | Runs code formatting/linting for any language. |
### Commands (Slash Commands)
| Command | Description |
|---------|-------------|
| `/polyglot-test-agent:unit-test-generation` | Best practices and guidelines for generating comprehensive, parameterized unit tests with 80% code coverage across any programming language |
### Skills
| Skill | Description |
|-------|-------------|
| `polyglot-test-agent` | Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Supports C#, TypeScript, JavaScript, Python, Go, Rust, Java, and more. |
## Supported Languages
- C# / .NET (MSTest, xUnit, NUnit)
- TypeScript / JavaScript (Jest, Vitest, Mocha)
- Python (pytest, unittest)
- Go (testing)
- Rust (cargo test)
- Java (JUnit, Maven, Gradle)
## How It Works
The plugin coordinates specialized agents in a **Research → Plan → Implement** pipeline:
1. **Research** — Analyzes the codebase to detect language, framework, testing patterns, and build commands
2. **Plan** — Creates a phased implementation plan organized by priority and complexity
3. **Implement** — Writes test files phase by phase, verifying compilation and test passage at each step
## Source
This plugin is part of [Awesome Copilot](https://github.com/github/awesome-copilot), a community-driven collection of GitHub Copilot extensions.
## License
MIT

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-builder.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-fixer.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-generator.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-implementer.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-linter.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-planner.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-researcher.agent.md

View File

@@ -0,0 +1 @@
../../../agents/polyglot-test-tester.agent.md

View File

@@ -0,0 +1 @@
../../../skills/polyglot-test-agent/unit-test-generation.prompt.md

View File

@@ -0,0 +1 @@
../../../skills/polyglot-test-agent