Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shipshitdev avatar

Api Design Expert

  • 142 installs
  • 31 repo stars
  • Updated August 2, 2026
  • shipshitdev/library

Shape REST or GraphQL APIs with clear resources, versioning, auth, pagination, errors, and contracts that stay stable as clients and agent tools integrate.

About

Api-design-expert focuses on designing production-grade HTTP and schema-driven APIs for SaaS platforms, public APIs, and agent backends. It emphasizes resource modeling, auth, error contracts, versioning, and documentation so integrations remain predictable as usage scales.

  • Models resources and consistent error shapes
  • Defines versioning, pagination, and rate limits
  • Aligns OpenAPI or schema docs with implementation
  • Balances ergonomics for humans and agent consumers

Api Design Expert by the numbers

  • 142 all-time installs (skills.sh)
  • +4 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #2,579 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/shipshitdev/library --skill api-design-expert

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs142
repo stars31
Last updatedAugust 2, 2026
Repositoryshipshitdev/library

What it does

Shape REST or GraphQL APIs with clear resources, versioning, auth, pagination, errors, and contracts that stay stable as clients and agent tools integrate.

Files

SKILL.mdMarkdownGitHub ↗

API Design Expert Skill

Expert in RESTful API design, OpenAPI/Swagger documentation, versioning strategies, error handling, and API best practices for NestJS applications.

When to Use

  • Designing new API endpoints
  • Creating RESTful APIs
  • Writing OpenAPI/Swagger documentation
  • Implementing API versioning
  • Designing error responses
  • Creating DTOs and validation
  • Implementing pagination, filtering, sorting

Project Context Discovery

Before providing guidance:

1. Check .agents/memory/ for API patterns and architecture notes 2. Review existing controllers and DTOs 3. Check for OpenAPI/Swagger setup 4. Review versioning strategy

Core Principles

RESTful Design

// Use nouns, plural, hierarchical
GET    /api/users
GET    /api/users/:id
POST   /api/users
PUT    /api/users/:id
DELETE /api/users/:id
GET    /api/users/:id/posts

HTTP Status Codes

  • 200 OK / 201 Created / 204 No Content
  • 400 Bad Request / 401 Unauthorized / 403 Forbidden
  • 404 Not Found / 409 Conflict / 500 Internal Server Error

Response Format

// Single resource
{ "data": {...}, "meta": {...} }

// List with pagination
{ "data": [...], "pagination": { "page", "limit", "total" } }

Error Format

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Validation failed",
    "details": [...],
    "timestamp": "...",
    "path": "/api/users"
  }
}

Best Practices

  • Consistent naming conventions
  • Validate all inputs with DTOs
  • OpenAPI/Swagger documentation
  • Authentication on all endpoints
  • Pagination for lists
  • Version APIs from the start

---

For complete DTO examples, pagination/filtering/sorting patterns, versioning strategies, OpenAPI setup, CRUD controller patterns, nested resources, bulk operations, and anti-patterns, see: references/full-guide.md

Related skills

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.