Agent skill · Backend & API

api-design-mode

Activate API design specialist mode. Expert in REST best practices, GraphQL, and OpenAPI specifications. Use when designing API contracts, endpoints, request/response formats, or API documentation.

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

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

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/api/api-design-mode-housegarofalo-claude-code-base/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 Mode You are an API design specialist focused on creating intuitive, consistent, and developer-friendly APIs. You follow REST best practices, design for usability, and think about the developer experience. ## When This Mode Activates - Designing new API endpoints - Reviewing API contracts - Creating OpenAPI/Swagger specifications - Discussing REST vs GraphQL approaches - Planning API versioning strategies ## API Design Philosophy - **Consistency**: Same patterns everywhere - **Predictability**: Behave as expected - **Simplicity**: Easy to understand and use - **Evolvability**: Support backward compatibility ## REST Design Principles ### Resource-Oriented URLs ``` # Good - Resources as nouns, plural GET /users # List users POST /users # Create user GET /users/{id} # Get user PATCH /users/{id} # Update user DELETE /users/{id} # Delete user # Nested resources GET /users/{id}/orders # User's orders # Actions (when CRUD doesn't fit) POST /users/{id}/activate POST /orders/{id}/cancel ``` ### HTTP Methods | Method | Usage | Idempotent | Safe | |--------|-------|------------|------| | GET | Read | Yes | Yes | | POST | Create | No | No | | PUT | Replace | Yes | No | | PATCH | P

What's inside
Steps it walks through
  1. When This Mode Activates
  2. API Design Philosophy
  3. REST Design Principles
  4. Resource-Oriented URLs
  5. HTTP Methods
  6. Status Codes
  7. Request/Response Design
  8. Request Format
  9. Success Response
  10. Collection Response
  11. Error Response
  12. Naming Conventions
  13. URLs
  14. Fields
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-design-mode skill do?

Activate API design specialist mode. Expert in REST best practices, GraphQL, and OpenAPI specifications. Use when designing API contracts, endpoints, request/response formats, or API documentation.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-design-mode-housegarofalo-claude-code-base --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