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

audit-fixture-tool-error

GitHub

E2E测试夹具,用于验证工具调用失败事件。通过精确调用始终失败的once工具并返回预期结果,确保错误处理机制正常工作。

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

Trigger Scenarios

需要模拟工具调用失败场景 验证tool_call_error事件处理逻辑

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
e9887a4
Hash
c5182a69
Indexed
2026-07-24 11:33

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-07 04:07
浙ICP备14020137号-1 $お客様$