AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

API Designer

A skill that designs REST/GraphQL APIs end to end — resource modeling, OpenAPI 3.1 specs, pagination, errors, and versioning.

Dev & CodingIntermediate★ 12,489⑂ 1,206AI score 8/10Last updated: Nov 22, 2026

What it does

  • Walks a 6-step workflow: analyze the domain, model resources, design endpoints, write the contract, mock and verify, then plan evolution.
  • Produces an OpenAPI 3.1 YAML spec and validates it with npx @redocly/cli lint, plus a mock server via npx @stoplight/prism-cli mock.
  • Ships copy-paste templates for cursor pagination, RFC 7807 problem+json errors, and Bearer/JWT security schemes.
  • Enforces MUST / MUST NOT rules: no verbs in URIs, consistent naming, documented error codes, mandatory versioning and rate-limit considerations.

Who it's for

  • Backend engineers and architects defining API contracts for a new service.
  • Tech leads standardizing inconsistent response and error formats across teams.
  • Platform/frontend teams who need solid OpenAPI docs for SDK and client generation.

Example uses

  1. "Design a REST API for orders and payments" → resource table, endpoint list, OpenAPI 3.1 spec, error catalog.
  2. "I need to add a field to v1 without breaking clients" → versioning, deprecation policy, and migration path.
  3. "Add pagination to the list endpoint" → cursor/limit params with next_cursor and has_more response schema.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Jeffallan/claude-skills/HEAD/skills/api-designer/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/api-designer folder from the GitHub repo Jeffallan/claude-skills into my ~/.claude/skills/api-designer/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Jeffallan/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/skills/api-designer ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and confirm Node.js is available (node -v); the lint and mock steps rely on npx.
  2. Clone the repo: git clone https://github.com/Jeffallan/claude-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-skills/skills/api-designer ~/.claude/skills/ (verify the references/ folder came along).
  5. Restart Claude Code and ask something like "design a REST API" or "write an OpenAPI spec" to trigger the skill.