AGENT SKILL

tool-runtime-design

Build Agent tool definitions, input schemas, execution results, timeout handling, and safety boundaries.

License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
tool-runtime-design
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "ai", "tools", "runtime" ] } }
description
Build Agent tool definitions, input schemas, execution results, timeout handling, and safety boundaries.

03 SKILL.md 正文

Tool Runtime Design

Use this skill when adding or modifying Agent tools.

Workflow

  1. Define the tool name, description, parameters, and result shape.
  2. Validate inputs before doing side effects.
  3. Add timeout and cancellation behavior where relevant.
  4. Return structured errors instead of throwing for recoverable failures.
  5. Write focused tests for helpers and execution paths.

Checks

  • Tools should not depend on UI-only assumptions.

04 同仓库更多 Skills