
API design
Guides the agent to design consistent REST APIs with sound URLs, status codes
API design is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 7
- Last commit
- License
- MIT
- Listing updated
Similar skills
About API design
This skill gives the agent a reference of conventions for designing REST APIs meant for production and public or partner use. It covers how to name resources and nest sub-resources, which HTTP methods and status codes fit each situation, and how to shape success, collection and error responses. It also sets out offset and cursor pagination, filtering and sorting query patterns, and sparse fieldsets.
Beyond conventions, the skill covers token and API key authentication, ownership and role checks, rate limit headers and tiers, and a versioning strategy with deprecation and Sunset headers. It includes a pre-ship checklist for new endpoints. Code examples are given in TypeScript with Next.js, Python with Django REST Framework, and Go with net/http.
The skill is a single markdown file with no scripts. It runs no tools itself and expects the agent to apply the patterns to the codebase at hand, using whatever language and framework the project already uses.
When your agent uses it
REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ecc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add AbdullayevTemurmalik/ECC
/plugin install ecc@eccOr copy only this skill to ~/.claude/skills/api-design:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/api-design &&
cp -R "$tmp/.kiro/skills/api-design" ~/.claude/skills/api-design &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/api-design inside it instead.
Copy the skill folder to ~/.agents/skills/api-design to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/api-design &&
cp -R "$tmp/.kiro/skills/api-design" ~/.agents/skills/api-design &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/api-design inside it instead.
Copy the skill folder to ~/.cursor/skills/api-design to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/api-design &&
cp -R "$tmp/.kiro/skills/api-design" ~/.cursor/skills/api-design &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/api-design inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/AbdullayevTemurmalik/ECC.git --path .kiro/skills/api-designOr copy the folder to ~/.gemini/skills/api-design yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/api-design:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/api-design &&
cp -R "$tmp/.kiro/skills/api-design" ~/.copilot/skills/api-design &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/api-design inside it instead.
Get the folder:
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.gitThen copy ECC/.kiro/skills/api-design into your agent's skills folder as api-design. Agents that support SKILL.md read one folder per skill.
What it does
- Resource URL conventions
- Rules for plural, kebab-case resource names, sub-resources and action endpoints.
- Status code guidance
- Which HTTP status codes to return for success, client errors and server errors.
- Pagination patterns
- Offset and cursor-based pagination with guidance on when to use each.
- Filtering and sorting
- Query parameter conventions for equality, comparison, multi-value, sort and search.
- Error response format
- A consistent error envelope with codes, messages and field-level details.
- Versioning and deprecation
- URL and header versioning options plus a deprecation timeline with Sunset headers.
- Rate limiting headers
- Standard rate limit headers, 429 responses and suggested limit tiers.
Good for
- Design a new set of REST endpoints for a user or order resource
- Add cursor or offset pagination to an existing list endpoint
- Standardize error responses across an API
- Plan how to version a public API and deprecate old endpoints
- Review an API contract for naming and status code mistakes
- Add rate limiting headers and 429 handling to an API
API design FAQ
What does the skill need to run?
It is a markdown guide with no scripts. The examples use TypeScript with Next.js, Python with Django REST Framework and Go, and the agent applies the patterns to whatever stack the project uses.
When does the skill activate?
It activates when designing new API endpoints, reviewing API contracts, adding pagination, filtering or sorting, handling API errors, planning versioning, or building public or partner-facing APIs.
Does API design change any files?
The skill only supplies guidance and examples. It does not itself modify code or files.
How do I install API design in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/api-design to use it in all your projects, or to .claude/skills/api-design in one project. Or install the ecc plugin, which includes it: /plugin marketplace add AbdullayevTemurmalik/ECC, then /plugin install ecc@ecc.
Does API design run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use API design?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to API design?
The closest alternatives to API design are API design, API design, API design, API design and Go API design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from AbdullayevTemurmalik/ECC

Write long-form articles and guides in a voice matched to your examples
- Open source
- 7 GitHub stars
- Writing style

Guides an agent on using Bun for runtime, installs, bundling, testing and migrations from
- Open source
- 7 GitHub stars
- Developer tools

Plans and drafts platform-native social posts, scripts and content calendars
- Open source
- 7 GitHub stars
- Marketing and SEO

Lets your agent pull current library and framework docs from Context7 instead of memory
- Open source
- 7 GitHub stars
- Developer tools

Builds animation-rich HTML slide decks that run in the browser, from scratch or converted
- Open source
- 7 GitHub stars
- Design and media

Drafts pitch decks, memos and financial models that stay consistent across fundraising
- Open source
- 7 GitHub stars
- Finance and payments





