Grow AI Skills Saved
↗ Agent skillCommunity skill

API Design Skill

Design consistent API resources, pagination, errors and compatibility rules.

By Affaan Mustapha·Development

What this skill does

  • Resource modeling

    Choose routes and operations that reflect the API's entities and use cases.

  • Consistent contracts

    Define request/response shapes, validation, status codes and error behavior.

  • Consumer needs

    Plan pagination, filtering, sorting and versioning around real integration requirements.

What to provide & what you get

Input
The API use cases, data models and compatibility requirements
Expected output
An API design with routes, schemas, error behavior and versioning choices

Community source

Upstream source

Open the upstream instructions at the fixed revision used for this resource. Review the source and its supporting files before installing.

Read upstream SKILL.md
Repository
affaan-m/ECC
File
skills/api-design/SKILL.md
Revision
76aaa77df6adc5b889e689007bf99b9a4f74af34

The downloaded SKILL.md text matches this upstream entrypoint. Review the ZIP’s source and license records for the complete packaging details.

Installation

  1. Download and extract the ZIP. Keep each complete skill folder, including its supporting files. Do not copy only SKILL.md.
  2. Copy the skill folder into your agent's skills directory. Use the project path below for this project, or the personal path for all your projects.

Codex

This project
.agents/skills/api-design/SKILL.md
All your projects
~/.agents/skills/api-design/SKILL.md

Claude Code

This project
.claude/skills/api-design/SKILL.md
All your projects
~/.claude/skills/api-design/SKILL.md
  1. Check the final path. It must match one of the paths above, with one api-design/ folder directly under skills/. Avoid an extra ZIP-name folder around it.
  2. Start a new task in your project. Use the matching example below to invoke the installed skill. If it is missing, recheck the folder name and reopen your agent.

Before the first run

  • Consumer needs, domain model and compatibility constraints

The ZIP installs the skill instructions and bundled files. Any listed software, accounts or external tools need their own setup.

What's in the download

3 files across 1 skill folder. Includes api-design/SKILL.md.

File integrity (SHA256):

b246ed7eaa8af3b5e9bba889b56810fc83dcb074f7f73709cd79451ba347a807

How to use

  1. Provide the use cases, data model and compatibility constraints.
  2. Ask for an API contract or a review of existing endpoints.
  3. Validate example requests and error cases with intended consumers before implementation.

Try it in your agent

Install first, then attach or provide the inputs described above. Replace any bracketed placeholders before running.

Codex

Use $api-design.

 Design the API contract for this feature, including validation, errors, pagination and compatibility considerations.

Claude Code

/api-design

 Design the API contract for this feature, including validation, errors, pagination and compatibility considerations.

Check the result: A coherent route design still requires authentication, authorization and runtime validation in the application.

Keep exploring

Related skills & prompts

Browse this category ↗