Agent skill

Polyglot Test Agent

by boshi-xixixi in boshi-xixixi/TraeSkill

Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline.

MITAuto-check passedTesting & QA

Install Polyglot Test Agent

skills CLI
$ npx skills add boshi-xixixi/TraeSkill --skill polyglot-test-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boshi-xixixi/TraeSkill polyglot-test-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/Skills/.agents/skills/polyglot-test-agent .claude/skills/polyglot-test-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
polyglot-test-agent
GitHub stars
275
Token cost
~1.7k tokens
SKILL.md length
539 words
Files
2
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline.

  • Works in 5 steps: Determine the User Request → Invoke the Test Generator → Research Phase (Automatic) → …
  • Asked to generate tests
  • SKILL.md covers When to Use This Skill, How It Works, Step-by-Step Instructions and State Management, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Polyglot Test Agent is an agent skill from boshi-xixixi/TraeSkill. Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Use when asked to generate tests, write unit tests, improve test coverage, add test coverage, create test files, or test a codebase. Supports C, TypeScript, JavaScript, Python, Go, Rust, Java, and more. Orchestrates research, planning, and implementation phases to produce tests that compile, pass, and follow project conventions.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `unit-test-generation.prompt.md`).

It sits in Testing & QA, covering Unit testing, Test generation and Test coverage. It works with C#, Java, Python and Rust. The repository describes itself as: 为 Trae IDE 打造的全流程标准化 AI 开发技能库,内置调度分发与多角色研发技能,一键导入规范 AI 编码工作流 🚀. The licence is MIT.

When your agent uses it

  • Asked to generate tests
  • Write unit tests
  • Improve test coverage
  • Add test coverage

Example prompts

  • “Use the polyglot-test-agent skill to generate comprehensive, workable unit tests for any programming language using a multi-agent pipeline”
  • “/polyglot-test-agent”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Determine the User Request
  2. Invoke the Test Generator
  3. Research Phase (Automatic)
  4. Planning Phase (Automatic)
  5. Implementation Phase (Automatic)

What it can do on your machine

Read from SKILL.md and the folder at commit 9cf38e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Polyglot Test Agent loads about 1.7k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 539 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~114
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from boshi-xixixi/TraeSkill at commit 9cf38e6, republished under its MIT licence (© boshi-xixixi). 539 words, ~1,676 tokens.

Download SKILL.mdSave it as .claude/skills/polyglot-test-agent/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
polyglot-test-agent
description
Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Use when asked to generate tests, write unit tests, improve test coverage, add test coverage, create test files, or test a codebase. Supports C#, TypeScript, JavaScript, Python, Go, Rust, Java, and more. Orchestrates research, planning, and implementation phases to produce tests that compile, pass, and follow project conventions.

Polyglot Test Generation Skill

An AI-powered skill that generates comprehensive, workable unit tests for any programming language using a coordinated multi-agent pipeline.

When to Use This Skill

Use this skill when you need to:

  • Generate unit tests for an entire project or specific files
  • Improve test coverage for existing codebases
  • Create test files that follow project conventions
  • Write tests that actually compile and pass
  • Add tests for new features or untested code

How It Works

This skill coordinates multiple specialized agents in a Research → Plan → Implement pipeline:

Pipeline Overview
┌─────────────────────────────────────────────────────────────┐
│                     TEST GENERATOR                          │
│  Coordinates the full pipeline and manages state            │
└─────────────────────┬───────────────────────────────────────┘
                      │
        ┌─────────────┼─────────────┐
        ▼             ▼             ▼
┌───────────┐  ┌───────────┐  ┌───────────────┐
│ RESEARCHER│  │  PLANNER  │  │  IMPLEMENTER  │
│           │  │           │  │               │
│ Analyzes  │  │ Creates   │  │ Writes tests  │
│ codebase  │→ │ phased    │→ │ per phase     │
│           │  │ plan      │  │               │
└───────────┘  └───────────┘  └───────┬───────┘
                                      │
                    ┌─────────┬───────┼───────────┐
                    ▼         ▼       ▼           ▼
              ┌─────────┐ ┌───────┐ ┌───────┐ ┌───────┐
              │ BUILDER │ │TESTER │ │ FIXER │ │LINTER │
              │         │ │       │ │       │ │       │
              │ Compiles│ │ Runs  │ │ Fixes │ │Formats│
              │ code    │ │ tests │ │ errors│ │ code  │
              └─────────┘ └───────┘ └───────┘ └───────┘

Step-by-Step Instructions

Step 1: Determine the User Request

Make sure you understand what user is asking and for what scope. When the user does not express strong requirements for test style, coverage goals, or conventions, source the guidelines from unit-test-generation.prompt.md. This prompt provides best practices for discovering conventions, parameterization strategies, coverage goals (aim for 80%), and language-specific patterns.

Step 2: Invoke the Test Generator

Start by calling the polyglot-test-generator agent with your test generation request:

Generate unit tests for [path or description of what to test], following the [unit-test-generation.prompt.md](unit-test-generation.prompt.md) guidelines

The Test Generator will manage the entire pipeline automatically.

Step 3: Research Phase (Automatic)

The polyglot-test-researcher agent analyzes your codebase to understand:

  • Language & Framework: Detects C#, TypeScript, Python, Go, Rust, Java, etc.
  • Testing Framework: Identifies MSTest, xUnit, Jest, pytest, go test, etc.
  • Project Structure: Maps source files, existing tests, and dependencies
  • Build Commands: Discovers how to build and test the project

Output: .testagent/research.md

Step 4: Planning Phase (Automatic)

The polyglot-test-planner agent creates a structured implementation plan:

  • Groups files into logical phases (2-5 phases typical)
  • Prioritizes by complexity and dependencies
  • Specifies test cases for each file
  • Defines success criteria per phase

Output: .testagent/plan.md

Step 5: Implementation Phase (Automatic)

The polyglot-test-implementer agent executes each phase sequentially:

  1. Read source files to understand the API
  2. Write test files following project patterns
  3. Build using the polyglot-test-builder subagent to verify compilation
  4. Test using the polyglot-test-tester subagent to verify tests pass
  5. Fix using the polyglot-test-fixer subagent if errors occur
  6. Lint using the polyglot-test-linter subagent for code formatting

Each phase completes before the next begins, ensuring incremental progress.

Show full SKILL.md (199 more words)Show less
Coverage Types
  • Happy path: Valid inputs produce expected outputs
  • Edge cases: Empty values, boundaries, special characters
  • Error cases: Invalid inputs, null handling, exceptions

State Management

All pipeline state is stored in .testagent/ folder:

FilePurpose
.testagent/research.mdCodebase analysis results
.testagent/plan.mdPhased implementation plan
.testagent/status.mdProgress tracking (optional)

Examples

Example 1: Full Project Testing
Generate unit tests for my Calculator project at C:\src\Calculator
Example 2: Specific File Testing
Generate unit tests for src/services/UserService.ts
Example 3: Targeted Coverage
Add tests for the authentication module with focus on edge cases

Agent Reference

AgentPurposeTools
polyglot-test-generatorCoordinates pipelinerunCommands, codebase, editFiles, search, runSubagent
polyglot-test-researcherAnalyzes codebaserunCommands, codebase, editFiles, search, fetch, runSubagent
polyglot-test-plannerCreates test plancodebase, editFiles, search, runSubagent
polyglot-test-implementerWrites test filesrunCommands, codebase, editFiles, search, runSubagent
polyglot-test-builderCompiles coderunCommands, codebase, search
polyglot-test-testerRuns testsrunCommands, codebase, search
polyglot-test-fixerFixes errorsrunCommands, codebase, editFiles, search
polyglot-test-linterFormats coderunCommands, codebase, search

Requirements

  • Project must have a build/test system configured
  • Testing framework should be installed (or installable)
  • VS Code with GitHub Copilot extension

Troubleshooting

Tests don't compile

The polyglot-test-fixer agent will attempt to resolve compilation errors. Check .testagent/plan.md for the expected test structure.

Tests fail

Review the test output and adjust test expectations. Some tests may require mocking dependencies.

Wrong testing framework detected

Specify your preferred framework in the initial request: "Generate Jest tests for..."

© boshi-xixixi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .trae/Skills/.agents/skills/polyglot-test-agent of boshi-xixixi/TraeSkill.

  • SKILL.md
  • unit-test-generation.prompt.md

Open the folder on GitHubat commit 9cf38e6

Compare with similar skills

Polyglot Test Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Polyglot Test Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Polyglot Test Agent this skillboshi-xixixi/TraeSkill275—~1.7kAutomated safety check: PassMIT
Find Untested Sourcesdotnet/skills5.6k1 repos~3.3kAutomated safety check: PassMIT
Supercovsupercorp-ai/supercov1511 repos~415Automated safety check: PassMIT
Crap Analyzerswingerman/engineer154—~1.2kAutomated safety check: PassMIT
Supercov Securitysupercorp-ai/supercov1511 repos~236Automated safety check: PassMIT
Approval Testing Toolkitlexler/skill-factory239—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build.

    5.6k GitHub starsUsed in 1 repo~3.3k tokens
    Testing & QAAuto-check passed
  • Supercov

    supercorp-ai/supercov

    Measures test coverage and code quality in a repository with the supercov CLI, and turns what it finds into small, focused tests or fixes.

    151 GitHub starsUsed in 1 repo~415 tokens
    Testing & QAAuto-check passed
  • Crap Analyzer

    swingerman/engineer

    A skill your agent uses to produce a risk-based refactor + test plan for recently-changed code on a diff/branch/PR by computing CRAP (complexity × untested) on changed methods.

    154 GitHub stars~1.2k tokensUpdated 16 days ago
    Testing & QAAuto-check passed
  • Supercov Security

    supercorp-ai/supercov

    Scans a repository's source for security vulnerabilities with the supercov CLI, pointing to the line of each finding and mapping it to CWE classes.

    151 GitHub starsUsed in 1 repo~236 tokens
    Testing & QAAuto-check passed
  • Approval Testing Toolkit

    lexler/skill-factory

    Writes snapshot-style approval tests in Python, JavaScript, TypeScript or Java, comparing output against an approved file instead of writing individual assertions.

    239 GitHub stars~1.2k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Test Specialist

    ailabs-393/ai-labs-claude-skills

    This skill should be used when writing test cases, fixing bugs, analyzing code for potential issues, or improving test coverage for JavaScript/TypeScript applications.

    454 GitHub stars~3.4k tokensUpdated 11 mo ago
    Testing & QAAuto-check passed

More from boshi-xixixi/TraeSkill

All 16 skills in this repo
  • AI Team Orchestration

    boshi-xixixi/TraeSkill

    Bootstrap and run a multi-agent AI development team. An agent skill from boshi-xixixi/TraeSkill.

    275 GitHub stars~1.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Arize Instrumentation

    boshi-xixixi/TraeSkill

    INVOKE THIS SKILL when adding Arize AX tracing or observability to an app for the first time, or when the user wants to instrument their LLM app or get started with LLM observability.

    275 GitHub stars~5.1k tokensUpdated 5 mo ago
    Auto-check: notes
  • Dotnet MCP Builder

    boshi-xixixi/TraeSkill

    Build Model Context Protocol (MCP) servers in C/.NET against the current ModelContextProtocol 1.x NuGet packages.

    275 GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Skill Creator

    boshi-xixixi/TraeSkill

    当用户需要创建新 Skill 或更新现有 Skill 时使用。此 Skill 提供技能创建的完整工作流指导,包括需求分析、编写规范、工程化构建、质量评估和迭代优化。

    275 GitHub stars~3.9k tokensUpdated 5 mo ago
    Auto-check passed
  • Trae Project Setup

    boshi-xixixi/TraeSkill

    Trae 项目规范化配置专家。用于快速初始化 Trae 项目配置文件、生成项目规则、用户偏好设置和 Skill 模板。当用户需要:(1) 初始化新项目的 Trae 配置 (2) 生成 .trae 目录结构 (3) 创建 USERPREFERENCES.md 用户偏好文件 (4) 创建 projectrules.md 项目规则文件 (5) 创建新的 Skill 模板 时使用此 Skill。

    275 GitHub stars~708 tokensUpdated 5 mo ago
    Auto-check: notes
  • Web Coder

    boshi-xixixi/TraeSkill

    Expert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards.

    275 GitHub starsUsed in 1 repo~5.2k tokens
    Auto-check passed

Categories

Questions about Polyglot Test Agent

What does Polyglot Test Agent do?

Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline. Polyglot Test Agent is an agent skill from boshi-xixixi/TraeSkill. Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline.

When should I use Polyglot Test Agent?

Polyglot Test Agent fits situations like: asked to generate tests; write unit tests; improve test coverage; add test coverage.

How do I install Polyglot Test Agent in Claude Code?

Run `npx skills add boshi-xixixi/TraeSkill --skill polyglot-test-agent -a claude-code`. Or copy the skill folder (.trae/Skills/.agents/skills/polyglot-test-agent in boshi-xixixi/TraeSkill) into .claude/skills/polyglot-test-agent in your project. Claude Code loads it when a task matches its description.

How do I install Polyglot Test Agent in Codex?

Run `npx skills add boshi-xixixi/TraeSkill --skill polyglot-test-agent -a codex`. Or copy the skill folder (.trae/Skills/.agents/skills/polyglot-test-agent in boshi-xixixi/TraeSkill) into .agents/skills/polyglot-test-agent in your project. Codex loads it when a task matches its description.

Can I use Polyglot Test Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boshi-xixixi/TraeSkill --skill polyglot-test-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/polyglot-test-agent, .gemini/skills/polyglot-test-agent, .github/skills/polyglot-test-agent and .opencode/skills/polyglot-test-agent in your project.

What does Polyglot Test Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Polyglot Test Agent is instructions for the agent only.

Does Polyglot Test Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Polyglot Test Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Polyglot Test Agent use?

Polyglot Test Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Polyglot Test Agent use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Polyglot Test Agent?

Skills that share tags, products or a category with Polyglot Test Agent: Find Untested Sources (dotnet/skills, 5.6k stars), Supercov (supercorp-ai/supercov, 151 stars), Crap Analyzer (swingerman/engineer, 154 stars) and Supercov Security (supercorp-ai/supercov, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Polyglot Test Agent?

boshi-xixixi (a GitHub user) maintains it in boshi-xixixi/TraeSkill, which has 275 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 12, 2026.

Source: boshi-xixixi/TraeSkill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.