Skip to main content
skill CX Codex

rest-api-design-patterns — Claude Code skill: REST API design guide

A reference skill for designing REST APIs: resource modeling, versioning, pagination, HATEOAS and HTTP method semantics.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a claude-code
Open on GitHub

What rest-api-design-patterns does

The skill hands your agent a set of rules and worked examples for designing and refactoring REST APIs. It covers resource naming, nested endpoints, query-parameter filtering, bulk operations, and HTTP methods with FastAPI and Express.js samples. There is also the Richardson maturity model, from a single URI with POST up to hypermedia controls.

Use it when you start an API from scratch or want an existing one to look consistent. The agent will tell you where a collection ends and an item begins, why GET /getUsers is a bad route, and how to avoid five levels of nesting. Separate sections deal with versioning, error handling and OpenAPI docs.

The skill is plain text — instructions for the agent, not a library. It installs into Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, each with its own command and its own SKILL.md path. GitHub Copilot needs a gh build that supports skills, otherwise the install command fails.

What it helps with

  • model resources and endpoints for a new REST API
  • rewrite existing routes to use proper HTTP methods
  • add versioning without breaking current clients
  • set up pagination, filtering and sorting on collections
  • document the API in OpenAPI and map errors to status codes

Example prompts for the agent

  • Design a REST API for orders: resources, endpoints, response codes
  • Review my routes against REST conventions — flag bad naming and methods
  • Add versioning and pagination to my FastAPI API

How to install rest-api-design-patterns

1Skills CLI (Vercel)

npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a claude-code

2Manually: put the files in place

~/.claude/skills/rest-api-design-patterns/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rest-api-design-patterns/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rest-api-design-patterns

How do I install rest-api-design-patterns in Claude?

Run npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a claude-code. The skill lands in ~/.claude/skills/rest-api-design-patterns/SKILL.md.

What does rest-api-design-patterns do?

It gives the agent REST design rules: resource modeling, HTTP methods, versioning, pagination, filtering, HATEOAS and error handling, with FastAPI and Express.js examples.

Which platforms support this skill?

Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each platform has its own install command and its own SKILL.md path.

Similar skills

Everything for Backend and APIs →

From the same set31

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor