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.
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/rest-api-design-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/rest-api-design-patterns/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a codex2Manually: put the files in place
.agents/skills/rest-api-design-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a cursor2Manually: put the files in place
.cursor/skills/rest-api-design-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace rest-api-design-patterns2Manually: put the files in place
.github/skills/rest-api-design-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/rest-api-design-patternsManually: put the files in place
.devin/skills/rest-api-design-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill rest-api-design-patterns -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.