Agent Skills
› skrun-dev/skrun
› audit-fixture-tool-error
audit-fixture-tool-error
GitHubE2E测试固定装置,用于验证工具调用错误事件。通过调用始终失败的特定工具并返回预期结果,确保系统能正确处理非零退出和异常场景。
Trigger Scenarios
需要模拟工具调用失败以测试错误处理逻辑
进行端到端测试时验证tool_call_error事件的触发
Install
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.
Version History
- 614fe6f Current 2026-07-24 11:33


