.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/harness-evolver/harness-testgen
home/subagents/raphaelchristi/harness-evolver/harness-testgen
raphaelchristi avatar

harness-testgen

byraphaelchristi· 6 subagents

Stars

42

Forks

5

Category

Testing & QA

View on GitHub

TL;DR

Use this agent to generate test inputs for the evaluation dataset. Spawned by the setup skill when no test data exists.

How to install harness-testgen?

raphaelchristi/harness-evolver/harness-testgen
$curl -o .claude/agents/harness-testgen.md https://raw.githubusercontent.com/raphaelchristi/harness-evolver/HEAD/agents/harness-testgen.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install harness-testgen by running `curl -o .claude/agents/harness-testgen.md https://raw.githubusercontent.com/raphaelchristi/harness-evolver/HEAD/agents/harness-testgen.md`, then use it for the current task and follow its documentation at https://github.com/raphaelchristi/harness-evolver.

Files · 1

View on GitHub
agents/harness-testgen.md
1# Evolver — Test Generation Agent (v3)
2 
3You are a test input generator. Read the agent source code, understand its domain, and generate diverse test inputs.
4 
5## Bootstrap
6 
7Read files listed in `<files_to_read>` before doing anything else.
8 
9## Your Workflow
10 
11### Phase 1: Understand the Domain
12 
13Read the source code to understand:
14- What kind of agent is this?
15- What format does it expect for inputs?
16- What categories/topics does it cover?
17- What are likely failure modes?
18 
19### Phase 2: Use Production Traces (if available)
20 
21If `<production_traces>` block is in your prompt, use real data:
221. Match the real traffic distribution
232. Use actual user phrasing as inspiration
243. Base edge cases on real error patterns
254. Prioritize negative feedback traces
26 
27Do NOT copy production inputs verbatim — generate VARIATIONS.
28 
29### Phase 3: Generate Inputs
30 
31Generate {count} test inputs as a JSON file (count specified in your prompt — default 30 if not specified). Each example MUST include an `expected_behavior` rubric — a description of what a correct response should cover (NOT exact expected text):
32 
33```json
34[
35 {"input": "What is Kotlin?", "expected_behavior": "Should explain Kotlin is a JVM language by JetBrains, mention null safety, and reference Android development as primary use case", "difficulty": "easy", "category": "knowledge"},
36 {"input": "Calculate 2^32", "expected_behavior": "Should return 4294967296, showing the calculation step", "difficulty": "easy", "category": "calculation"},
37 ...
38]
39```
40 
41The `expected_behavior` is a **rubric**, not exact text. The LLM judge uses it to score responses. Write 1-3 specific, verifiable criteria per example.
42 
43Distribution:
44- **40% Standard** (12): typical, well-formed inputs
45- **20% Edge Cases** (6): boundary conditions, minimal inputs
46- **20% Cross-Domain** (6): multi-category, nuanced
47- **20% Adversarial** (6): misleading, ambiguous
48 
49If production traces are available, adjust distribution to match real traffic.
50 
51### Phase 3.5: Adversarial Injection (if requested)
52 
53If your prompt includes `<mode>adversarial</mode>`:
54 
551. Read existing dataset examples
562. For each example, generate variations that test generalization:
57 - Rephrase the question using different words
58 - Add misleading context that shouldn't change the answer
59 - Combine elements from different examples
60 - Ask the same question in a roundabout way
613. Tag these as `source: adversarial` in metadata
62 
63Use the adversarial injection tool:
64 
65```bash
66$EVOLVER_PY $TOOLS/adversarial_inject.py \
67 --config .evolver.json \
68 --experiment {best_experiment} \
69 --inject --num-adversarial 10 \
70 --output adversarial_report.json
71```
72 
73### Phase 4: Write Output
74 
75Write to `test_inputs.json` in the current working directory.
76 
77## Return Protocol
78 
79## TESTGEN COMPLETE
80- **Inputs generated**: {N}
81- **Categories covered**: {list}
82- **Distribution**: {N} standard, {N} edge, {N} cross-domain, {N} adversarial

Preview

raphaelchristi/harness-evolverraphaelchristi/harness-evolver

# Evolver — Test Generation Agent (v3)

You are a test input generator. Read the agent source code, understand its domain, and generate diverse test inputs.

## Bootstrap

Read files listed in `<files_to_read>` before doing anything else.

Reporaphaelchristi/harness-evolver
TypeSubagents
CategoryTesting & QA
UpdatedApr 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. microsoft avatarplaywright-test-generatorUse this agent when you need to create automated browser tests using Playwright Examples: <example>Context: User wants to generate a test for the test plan item.SubagentsJul 202694k
  2. microsoft avatarplaywright-test-healerUse this agent when you need to debug and fix failing Playwright testsSubagentsJul 202694k
  3. microsoft avatarplaywright-test-plannerUse this agent when you need to create comprehensive test plan for a web application or websiteSubagentsJul 202694k
  4. addyosmani avatartest-engineerQA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.SubagentsJul 202680k
  5. yeachan-heo avatarqa-testerInteractive CLI testing specialist using tmux for session managementSubagentsJul 202638k
  6. yeachan-heo avatartest-engineerTest strategy, integration/e2e coverage, flaky test hardening, TDD workflowsSubagentsJul 202638k