generate-tests
Skill140 starsChanged 11 months agoApache-2.0View on GitHub
Generate EvalView test cases — either from a SKILL.md file using LLM-powered generation, or by capturing real agent interactions through a proxy.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- coco-research/cocotheir own version, first seen Nov 1, 2026
- Terryc21/sitreptheir own version, first seen Nov 1, 2026
- chidekina/aria-superpowerstheir own version, first seen Oct 13, 2026
- mavka-ai/unit-tests-skillstheir own version, first seen Sep 15, 2026
- simu5116/ClaudeCodetheir own version, first seen Mar 18, 2026
- toantran292/claude-skillstheir own version, first seen Mar 11, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- coco-research/coco★ 797same name
- mavka-ai/unit-tests-skills★ 55same name
- Terryc21/sitrep★ 50same name
- zbruhnke/claude-code-starter★ 16same name
- chidekina/aria-superpowers★ 2same name
- simu5116/ClaudeCode★ 0same name
- toantran292/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- run-evalSkill
- watchSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 1 is distinctive, and 9 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user wants to create test cases for their AI agent or skill without writing YAML by hand.
- Very specific: line 14
Use the generate_skill_tests MCP tool to auto-generate a test suite from a skill definition.
- Very specific: line 17
Ask the user which SKILL.md to generate tests for (or detect it from context).
- Very specific: line 22
After generation, offer to run the tests with run_skill_test.
- Very specific: line 32
Use the create_test MCP tool to create a single test YAML file from a description.
- Very specific: line 36
Call create_test with the parameters.
- Very specific: line 37
After creating the test, call run_snapshot to establish the golden baseline.
- Very specific: line 41
Use the CLI evalview capture command to proxy real agent traffic and save interactions as test YAMLs automatically.
- Very specific: line 51
Use validate_skill to check a SKILL.md for correct structure and completeness before generating tests from it.
- Very specific: line 55
After generating tests, execute them with run_skill_test:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Tests
Use this skill when the user wants to create test cases for their AI agent or skill without writing YAML by hand.
Four approaches
1. Generate tests from a SKILL.md file
Use the generate_skill_tests MCP tool to auto-generate a test suite from a skill definition. This reads the SKILL.md and produces YAML test cases covering explicit triggers, implicit triggers, contextual triggers, and negative cases.
Steps:
- Ask the user which SKILL.md to generate tests for (or detect it from context).
- Call
generate_skill_testswith:skill_path: path to the SKILL.md fileoutput_path(optional): where to save the generated YAMLcount(optional): number of test cases (default: 10)
- After generation, offer to run the tests with
run_skill_test.
CLI equivalent:
evalview skill generate-tests .claude/skills/my-skill/SKILL.md --auto
evalview skill generate-tests .claude/skills/my-skill/SKILL.md -c 20 -o tests/my-skill-tests.yaml2. Create individual test cases manually
Use the create_test MCP tool to create a single test YAML file from a description.
Steps:
- Gather from the user: test name, query, expected tools, forbidden tools, expected output keywords, and minimum score.
- Call
create_testwith the parameters. - After creating the test, call
run_snapshotto establish the golden baseline.
3. Capture real interactions
Use the CLI evalview capture command to proxy real agent traffic and save interactions as test YAMLs automatically. This records the query, output, and tool calls from live usage.
CLI equivalent:
evalview capture --agent http://localhost:8080/execute --output-dir tests/test-cases
evalview capture --multi-turn # saves all turns as one multi-turn conversation test4. Validate a skill before testing
Use validate_skill to check a SKILL.md for correct structure and completeness before generating tests from it.
Running generated tests
After generating tests, execute them with run_skill_test:
test_file: path to the generated YAMLno_rubric: truefor fast deterministic-only checks (no LLM cost)verbose: truefor detailed output on all tests
CLI equivalent:
evalview skill test tests/my-skill-tests.yaml
evalview skill test tests/my-skill-tests.yaml --no-rubric # fast, $0
evalview skill test tests/my-skill-tests.yaml --verbose --model claude-sonnet-4-20250514Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

