Agent skill · Security

api-design-expert

Expert-level API design principles, REST, GraphQL, versioning, and API best practices

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-design-expert --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Version: 1.0.0
Allowed tools: -Read-Write-Edit
Path: skills/api/api-design-expert/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 Expert Expert guidance for API design, RESTful principles, GraphQL, versioning strategies, and API best practices. ## Core Concepts ### API Design Principles - RESTful architecture - Resource-oriented design - Uniform interface - Statelessness - Cacheability - Layered system ### API Styles - REST (Representational State Transfer) - GraphQL - RPC (Remote Procedure Call) - WebSocket - Server-Sent Events (SSE) - gRPC ### Key Considerations - Versioning strategies - Authentication and authorization - Rate limiting - Error handling - Documentation - Backward compatibility ## REST API Design ```python from fastapi import FastAPI, HTTPException, Query, Path, Header from pydantic import BaseModel, Field from typing import List, Optional from datetime import datetime from enum import Enum app = FastAPI( title="User Management API", version="1.0.0", description="RESTful API for user management" ) # Models class UserRole(str, Enum): ADMIN = "admin" USER = "user" GUEST = "guest" class UserCreate(BaseModel): email: str = Field(..., example="user@example.com") name: str = Field(..., min_length=1, max_length=100) role: UserRole = UserRole.USER class UserResponse(BaseModel): id: str e

What's inside
Steps it walks through
  1. Core Concepts
  2. API Design Principles
  3. API Styles
  4. Key Considerations
  5. REST API Design
  6. API Versioning
  7. Error Handling
  8. Rate Limiting
  9. HATEOAS Implementation
  10. API Security
  11. Best Practices
  12. Design
  13. Documentation
  14. Performance
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-design-expert skill do?

Expert-level API design principles, REST, GraphQL, versioning, and API best practices

How do I install it?

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