api-patterns

Guide API design decisions between REST, GraphQL, and tRPC.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/DaytimeBlues/ADHD-CADDI --skill api-patterns-daytimeblues
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-patterns
Source: https://github.com/DaytimeBlues/ADHD-CADDI/tree/main/.agent/skills/api-patterns
Command: npx skills add https://github.com/DaytimeBlues/ADHD-CADDI --skill api-patterns-daytimeblues

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you make informed decisions about API design, ensuring your APIs are robust, scalable, and maintainable by guiding you through the selection of appropriate architectural styles and patterns.

Core Features & Use Cases

  • API Style Selection: Choose between REST, GraphQL, tRPC, or other paradigms based on project needs.
  • Pattern Guidance: Provides best practices for RESTful design, GraphQL schema design, response formats, versioning, and authentication.
  • Use Case: When starting a new project, use this Skill to determine whether a RESTful API, a GraphQL API, or a tRPC service is the most suitable choice for your specific requirements and technology stack.

Quick Start

Use the api-patterns skill to decide between REST, GraphQL, and tRPC for a new project.

Frequently Asked Questions about api-patterns

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

FAQPage Schema
How do I choose between REST, GraphQL, and tRPC for backend development?

Choosing between REST, GraphQL, and tRPC depends on your project needs and technology stack. This Skill provides selection criteria and decision-making guidance to determine the most suitable API architectural style for your specific requirements.

What are the best practices for RESTful API design patterns?

Best practices for RESTful API design include proper resource naming, correct HTTP methods, standard status codes, and structured response formats. This Skill guides you through these patterns alongside pagination, versioning, and authentication techniques.

Can I validate my API endpoints against best practices using Python?

Yes, you can validate API endpoints using Python. This Skill includes a Python script that checks your API endpoints against established design principles to ensure robust and maintainable architectures.

Do I need Python 3 to validate API endpoints against design principles?

Yes, Python 3 is required. The Skill uses a Python dependency to execute its validation script, which checks your API endpoints against best practices for resource naming, status codes, and security.

When should I not use GraphQL for API design?

You should avoid GraphQL when your project requirements do not justify its schema complexity over simpler alternatives. This Skill offers comparative selection criteria to help determine if REST or tRPC is better suited for your backend development context.

How does API versioning and authentication work across different architectural styles?

API versioning and authentication work differently across architectural styles but share core security testing principles. This Skill provides specific pattern guidance for implementing these mechanisms robustly in REST, GraphQL, and tRPC.