api-design-principles

Define and enforce design standards for REST and GraphQL APIs.

1|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/nextplus896/durra-alaseel --skill api-design-principles-nextplus896
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design-principles
Source: https://github.com/nextplus896/durra-alaseel/tree/main/.github/skills/api-design-principles
Command: npx skills add https://github.com/nextplus896/durra-alaseel --skill api-design-principles-nextplus896

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Teams designing REST and GraphQL APIs need consistent standards to reduce ambiguity and accelerate development.

Core Features & Use Cases

  • Schema-first design guidance for REST and GraphQL APIs.
  • Versioning strategies, error handling standards, pagination, and documentation templates.
  • Use case: When starting a new public API, generate an API design standard plus starter OpenAPI and GraphQL schema.

Quick Start

Create a starter API design standard for a new REST and GraphQL API, including versioning, error handling, and documentation templates.

Frequently Asked Questions about api-design-principles

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

FAQPage Schema
What standards should I follow when designing REST and GraphQL APIs?

REST and GraphQL API design standards cover schema-first patterns, resource naming, versioning strategies, error handling, pagination, and documentation templates. Applying these standards reduces ambiguity and accelerates API development across teams.

How do I create an API design standard for a new REST or GraphQL project?

To create an API design standard for a new REST or GraphQL project, define pattern guidance for resources and schemas, establish versioning and error handling rules, and generate starter OpenAPI and GraphQL documentation templates.

What is the best way to handle versioning and pagination in GraphQL schemas?

The best way to handle versioning and pagination in GraphQL schemas is to enforce consistent design standards across API projects. Defined schema-first guidance ensures predictable version evolution and standardized pagination patterns for consumers.

Can I generate starter OpenAPI and GraphQL schema templates together?

Yes, you can generate starter OpenAPI and GraphQL schema templates together. The API design standards provide pattern guidance and documentation templates to quickly scaffold both REST and GraphQL implementations for new public APIs.

When do I need formal error handling standards for my public API?

You need formal error handling standards for your public API when multiple teams consume your endpoints. Consistent error handling standards across REST and GraphQL APIs reduce integration ambiguity and improve developer experience.