api-design-principles

Design and standardize REST and GraphQL APIs with schema-first principles.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/mwathiben/PropManager --skill api-design-principles-mwathiben
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design-principles
Source: https://github.com/mwathiben/PropManager/tree/main/.claude/skills/api-design-principles
Command: npx skills add https://github.com/mwathiben/PropManager --skill api-design-principles-mwathiben

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

## Core Features & Use Cases

  • RESTful Design Principles
  • GraphQL Design Principles
  • API Versioning Strategies
  • Pagination and Error Handling
  • HATEOAS and DataLoader patterns
  • Use cases: Designing new APIs, refactoring, governance

### Quick Start Review the REST and GraphQL principles outlined here and begin applying resource-oriented design, proper HTTP semantics, and schema-driven GraphQL patterns in your API project.

Frequently Asked Questions about api-design-principles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for REST and GraphQL API versioning and pagination?

Best practices for REST and GraphQL API versioning and pagination involve enforcing schema-first design, consistent versioning strategies, and standardized pagination patterns to improve usability and future-proof architectural decisions. This skill guides designers to apply resource-oriented modelling and proper HTTP semantics.

How do I design a scalable REST API with proper error handling and resource modelling?

To design a scalable REST API with proper error handling, apply resource-oriented design principles, enforce consistent error handling patterns, and use proper HTTP semantics. This skill standardizes REST API development during new design, refactoring, and governance to ensure maintainability.

When should I use HATEOAS and DataLoader patterns in API design?

HATEOAS and DataLoader patterns are used in API design to manage data fetching efficiency and navigability. HATEOAS guides REST client-state transitions through hypermedia links, while DataLoader batches and caches GraphQL data requests to prevent waterfall network calls.

Does this API design guidance work for both new API development and refactoring existing ones?

Yes, this API design guidance works for both new API development and refactoring existing ones. It guides API designers across REST and GraphQL domains during initial creation, architectural refactoring, and ongoing governance to enforce schema-first design and consistent versioning.

What is the best way to standardize GraphQL API schemas for future-proof architectural decisions?

The best way to standardize GraphQL API schemas for future-proof architectural decisions is enforcing a schema-first design approach. This skill guides standardizing GraphQL patterns, ensuring proper pagination, error handling, and DataLoader usage to maintain scalability and developer usability.

Why use schema-first design when building REST and GraphQL APIs?

Using schema-first design when building REST and GraphQL APIs improves usability by enforcing consistent versioning, pagination, and error handling before implementation. It standardizes resource modelling and architectural decisions, ensuring APIs scale and remain maintainable across governance workflows.