generate_skill_tests
Generates YAML test cases from a SKILL.md file, covering explicit, implicit, contextual, and negative categories to validate AI agent skills.
Instructions
Auto-generate test cases from a SKILL.md file. Call this when the user asks to create tests for a skill — it reads the skill definition and generates a ready-to-run YAML test suite covering explicit, implicit, contextual, and negative test categories. After generating, call run_skill_test to execute them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_path": "<skill_path>"
},
"name": "generate_skill_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of test cases to generate (default: 10) | |
| skill_path | Yes | Path to the SKILL.md file to generate tests from | |
| output_path | No | Where to save the generated test YAML (default: same directory as SKILL.md) |