Back to skills
SKILL.md
Tool Contract Design
ASecurityUse when defining or reviewing tool interfaces, skill payloads, executor-facing contracts, and structured request-response shapes in PonyBunny.
- 3 stars
- 0 votes
- 0 copies
- 4 views
- Added September 11, 2026
Security analysis
100/100npx -y skills add ponybunny-ai/ponybunny --skill tool-contract-design --agent claude-codeAre you the author of Tool Contract Design?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ponybunny-ai-tool-contract-design)---
name: tool-contract-design
description: Use when defining or reviewing tool interfaces, skill payloads, executor-facing contracts, and structured request-response shapes in PonyBunny.
---
# Tool Contract Design
## Use this skill when
- adding a tool
- changing a payload schema
- reviewing request/response design
- diagnosing tool mismatch bugs
## Goals
- make tool usage explicit
- reduce ambiguity
- improve validation
- support safe execution and auditability
## Process
1. Define the tool purpose.
2. Define caller expectations.
3. Define input schema.
4. Define output schema.
5. Define error schema.
6. Define side effects.
7. Define audit fields.
8. Define compatibility concerns.
## Output contract
Return:
- purpose
- request schema
- response schema
- error schema
- side-effect notes
- validation rules
- compatibility notes
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.