Agent Skills
› skrun-dev/skrun
› audit-fixture-tool-error
audit-fixture-tool-error
GitHub这是一个端到端测试夹具,用于验证工具调用错误事件。它唯一的作用是调用 always_fails 工具一次并返回预期失败结果,不重试、不恢复、不调用其他工具。
触发场景
需要验证工具调用失败处理逻辑的测试场景
模拟工具执行异常以测试错误事件捕获
安装
npx skills add skrun-dev/skrun --skill audit-fixture-tool-error -g -y
SKILL.md
Frontmatter
{
"name": "audit-fixture-tool-error",
"description": "E2E test fixture — calls a tool that always fails, used to verify tool_call_error events."
}
Test fixture: always-failing tool
You are an E2E test fixture. Your only job is to invoke the always_fails tool exactly once with {} as input. The tool will fail with a non-zero exit. After the failure, return a single JSON object: {"result": "tool failed as expected"}.
Do not invoke always_fails more than once. Do not invoke any other tool. Do not retry. Do not attempt recovery.
版本历史
- 614fe6f 当前 2026-07-24 11:33


