Agent Skillsskrun-dev/skrun › audit-fixture-tool-error

audit-fixture-tool-error

GitHub

这是一个端到端测试夹具,用于验证工具调用错误事件。它唯一的作用是调用 always_fails 工具一次并返回预期失败结果,不重试、不恢复、不调用其他工具。

tests/fixtures/agents/audit-fixture-tool-error/SKILL.md skrun-dev/skrun

Trigger Scenarios

需要验证工具调用失败处理逻辑的测试场景 模拟工具执行异常以测试错误事件捕获

Install

npx skills add skrun-dev/skrun --skill audit-fixture-tool-error -g -y
More Options

Non-standard path

npx skills add https://github.com/skrun-dev/skrun/tree/main/tests/fixtures/agents/audit-fixture-tool-error -g -y

Use without installing

npx skills use skrun-dev/skrun@audit-fixture-tool-error

指定 Agent (Claude Code)

npx skills add skrun-dev/skrun --skill audit-fixture-tool-error -a claude-code -g -y

安装 repo 全部 skill

npx skills add skrun-dev/skrun --all -g -y

预览 repo 内 skill

npx skills add skrun-dev/skrun --list

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

Same Skill Collection

agents/adr-writer/SKILL.md
agents/changelog-generator/SKILL.md
agents/code-review/SKILL.md
agents/csv-to-executive-report/SKILL.md
agents/data-analyst/SKILL.md
agents/email-drafter/SKILL.md
agents/knowledge-base-from-vault/SKILL.md
agents/meeting-transcript-to-action-items/SKILL.md
agents/pdf-processing/SKILL.md
agents/receipts-to-expenses/SKILL.md
agents/semgrep-rule-creator/SKILL.md
agents/seo-audit/SKILL.md
agents/slide-deck-generator/SKILL.md
agents/web-scraper/SKILL.md
packages/schema/tests/fixtures/valid-agent-dir/SKILL.md
packages/schema/tests/fixtures/persistent-no-agents-dir/SKILL.md
tests/e2e/fixtures/script-deps-node/SKILL.md
tests/e2e/fixtures/script-deps-none/SKILL.md
tests/e2e/fixtures/script-deps-python/SKILL.md

Metadata

Files
0
Version
614fe6f
Hash
c5182a69
Indexed
2026-07-24 11:33

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 02:14
浙ICP备14020137号-1 $Map of visitor$