Download for MacApple silicon, macOS 14+
Skill

api-design

@affaan-m Updated 2026-10-15

REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs. Use when designing or reviewing REST endpoints, resource names, status codes, pagination, or versioning.

ai-agentsanthropicclaudeclaude-codedeveloper-toolsllmmcpproductivity

Install

With your agent

Install OMGSkills skill "affaan-m/ecc:api-design" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/affaan-m/ECC /tmp/ECC && ln -s /tmp/ECC/skills/api-design ~/.claude/skills/api-design

From README

API Design Patterns Conventions and best practices for designing consistent, developer-friendly REST APIs. When to Activate Designing new API endpoints Reviewing existing API contracts Adding pagination, filtering, or sorting Implementing error handling for APIs Planning API versioning strategy Building public or partner-facing APIs Resource Design URL Structure Naming Rules HTTP Methods and Status Codes Method Semantics | Method | Idempotent | Safe | Use For | |--------|-----------|------|---------| | GET | Yes | Yes | Retrieve resources | | POST | No | No | Create resources, trigger actions | | PUT | Yes | No | Full replacement of a resource | | PATCH | No | No | Partial update of a resource | | DELETE | Yes | No | Remove a resource | PATCH can be made idempotent with proper implementation Status Code Reference Common Mistakes Response Format Success Response Collection Response (with Pagination) Error Response Response Envelope Variants Pagination Offset-Based (Simple) Pros: Easy...