Agent skill · Backend & API

api-design

REST and GraphQL API design principles — resource modeling, HTTP semantics, pagination, error handling, HATEOAS, schema design, and DataLoader patterns. Use when designing new APIs, reviewing specs, or establishing team API standards.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-design-wpank-ai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/api/api-design-wpank-ai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Design Principles Design intuitive, scalable, and maintainable APIs that delight developers. Covers both REST and GraphQL paradigms with production-ready patterns. ## When to Use This Skill - Designing new REST or GraphQL APIs - Refactoring existing APIs for better usability - Establishing API design standards for a team - Reviewing API specifications before implementation - Migrating between API paradigms (REST ↔ GraphQL) - Optimizing APIs for specific consumers (mobile, third-party) ## Installation ### OpenClaw / Moltbot / Clawbot ```bash npx clawhub@latest install api-design ``` --- ## REST Design Principles ### Resource-Oriented Architecture Resources are nouns, actions are HTTP methods. | Method | Semantics | Idempotent | Safe | |--------|-----------|------------|------| | `GET` | Retrieve resource(s) | Yes | Yes | | `POST` | Create new resource | No | No | | `PUT` | Replace entire resource | Yes | No | | `PATCH` | Partial update | No | No | | `DELETE` | Remove resource | Yes | No | ### Resource Collection Design ``` # Resource-oriented endpoints GET /api/users # List users (paginated) POST /api/users # Create user GET /api/users/{id} # Get specific user PUT /api/users/{

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Installation
  3. OpenClaw / Moltbot / Clawbot
  4. REST Design Principles
  5. Resource-Oriented Architecture
  6. Resource Collection Design
  7. Pagination
  8. Filtering, Sorting, and Search
  9. Error Response Format
  10. Status Code Usage
  11. HATEOAS
  12. Idempotency
  13. GraphQL Design Principles
  14. Schema-First Development
Ships with 1 file
  • metadata.json
Commands it runs
npx clawhub@latest install api-design
More from claude-skill-registry
All skills →
About this skill
What does the api-design skill do?

REST and GraphQL API design principles — resource modeling, HTTP semantics, pagination, error handling, HATEOAS, schema design, and DataLoader patterns. Use when designing new APIs, reviewing specs, or establishing team API standards.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-design-wpank-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going