Skip to content
Back to skills

Api Interface Design

ASecurity

Use when designing public APIs, module boundaries, provider adapters, tool schemas, or data contracts.

  • 61 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 9, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned June 9, 2026

npx -y skills add MohitGoyal09/AgentForge --skill api-interface-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Interface Design?

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

Security grade badge for Api Interface Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mohitgoyal09-api-interface-design/badge)](https://www.skillsdirectory.com/skills/mohitgoyal09-api-interface-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: api-interface-design
description: Use when designing public APIs, module boundaries, provider adapters, tool schemas, or data contracts.
---

# API Interface Design

Design the contract before the implementation.

## Use This For

- REST, GraphQL, or SDK interface design
- Tool parameter schemas
- Provider adapter boundaries
- Data exchanged between the agent loop, tools, and persistence

## Principles

- Prefer additive changes over breaking existing fields.
- Use one predictable error shape.
- Validate external input at the boundary.
- Keep internal call sites typed and boring.
- Treat every observable behavior as something users may depend on.

## Checklist

- Inputs and outputs are typed.
- Error semantics are consistent.
- Optional fields are truly optional.
- New behavior has at least one success test and one failure test.
- Docs show the smallest working example.

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.

Comments

Loading comments…