Skip to content
Back to skills

Tool Contract Design

ASecurity

Use 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
ai-agentsgo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add ponybunny-ai/ponybunny --skill tool-contract-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tool Contract Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tool Contract Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ponybunny-ai-tool-contract-design/badge)](https://www.skillsdirectory.com/skills/ponybunny-ai-tool-contract-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.