一键导入
generate-tests
Generate EvalView test cases — either from a SKILL.md file using LLM-powered generation, or by capturing real agent interactions through a proxy.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate EvalView test cases — either from a SKILL.md file using LLM-powered generation, or by capturing real agent interactions through a proxy.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run EvalView regression checks against golden baselines to detect regressions in AI agent behavior after code, prompt, or model changes.
Start EvalView watch mode to automatically re-run regression checks whenever project files change.
Beat procrastination with task breakdown, 2-minute starts, and accountability tracking
A skill that helps review code for best practices, bugs, and security issues
Performs comprehensive code reviews with security, quality, and best practice checks
A simple skill that creates a greeting file
| name | generate-tests |
| description | Generate EvalView test cases — either from a SKILL.md file using LLM-powered generation, or by capturing real agent interactions through a proxy. |
Use this skill when the user wants to create test cases for their AI agent or skill without writing YAML by hand.
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:
generate_skill_tests with:
skill_path: path to the SKILL.md fileoutput_path (optional): where to save the generated YAMLcount (optional): number of test cases (default: 10)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.yaml
Use the create_test MCP tool to create a single test YAML file from a description.
Steps:
create_test with the parameters.run_snapshot to establish the golden baseline.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 test
Use validate_skill to check a SKILL.md for correct structure and completeness before generating tests from it.
After generating tests, execute them with run_skill_test:
test_file: path to the generated YAMLno_rubric: true for fast deterministic-only checks (no LLM cost)verbose: true for detailed output on all testsCLI 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-20250514