Agent Skills
› AjayIrkal23/agentic-mercy-10x
› invoke-test
invoke-test
GitHub执行测试流程,调度测试子代理生成报告。自动管理运行文件夹、配置预期产物并处理失败重试,最终输出测试结果摘要。
Trigger Scenarios
需要自动化执行代码测试
生成标准化测试报告
调试前的验证环节
Install
npx skills add AjayIrkal23/agentic-mercy-10x --skill invoke-test -g -y
SKILL.md
Frontmatter
{
"name": "invoke-test",
"description": "Run the TEST act — dispatches test-author (default sonnet; opus-guard routes) and writes `TEST-REPORT.md` into a run folder. Single-act form of `\/invoke test -- <task>`.",
"argument-hint": "[--run <dir>] [task]"
}
Run the test act for: $ARGUMENTS
This is /invoke test without the closers; ~/.claude/skills/invoke/SKILL.md governs anything not said here.
- Run folder:
--run <dir>in the arguments → reuse that folder (absolute path) and update itsrun.jsonwith Edit; otherwise create a new one exactly as/invoke§2 (RUN="$(git rev-parse --show-toplevel)/.claude/runs/$(date -u +%Y%m%dT%H%M)-$SLUG",BRIEF.md,run.jsonwith"acts": ["test"]). Never write into any other existing run folder. - Set
run.json.expected_artifacts["test-author"] = "TEST-REPORT.md". Agent(subagent_type="test-author", description="test: <task>", prompt=...). The prompt names$RUN/BRIEF.md, every artifact already in$RUN/, and the exact output path$RUN/TEST-REPORT.md. Nomodel=: opus-guard routes it (pins, escalation, per-project mode). Artifact missing or the act failed → re-dispatch once with the prompt prefixedPrevious attempt failed: <one-line reason>.- Append
testtorun.json.done, then report the artifact path and a one-paragraph verdict.
Version History
- 2315578 Current 2026-10-18 19:22


