api-design-principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

5 stars

Best use case

api-design-principles is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

Teams using api-design-principles should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/api-design-principles/SKILL.md --create-dirs "https://raw.githubusercontent.com/FrancoStino/opencode-skills-collection/main/bundled-skills/api-design-principles/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/api-design-principles/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How api-design-principles Compares

Feature / Agentapi-design-principlesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# API Design Principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

## Use this skill when

- Designing new REST or GraphQL APIs
- Refactoring existing APIs for better usability
- Establishing API design standards for your team
- Reviewing API specifications before implementation
- Migrating between API paradigms (REST to GraphQL, etc.)
- Creating developer-friendly API documentation
- Optimizing APIs for specific use cases (mobile, third-party integrations)

## Do not use this skill when

- You only need implementation guidance for a specific framework
- You are doing infrastructure-only work without API contracts
- You cannot change or version public interfaces

## Instructions

1. Define consumers, use cases, and constraints.
2. Choose API style and model resources or types.
3. Specify errors, versioning, pagination, and auth strategy.
4. Validate with examples and review for consistency.

Refer to `resources/implementation-playbook.md` for detailed patterns, checklists, and templates.

## Resources

- `resources/implementation-playbook.md` for detailed patterns, checklists, and templates.

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Related Skills

web-design-guidelines

5
from FrancoStino/opencode-skills-collection

Review files for compliance with Web Interface Guidelines.

uxui-principles

5
from FrancoStino/opencode-skills-collection

Evaluate interfaces against 168 research-backed UX/UI principles, detect antipatterns, and inject UX context into AI coding sessions.

ui-ux-designer

5
from FrancoStino/opencode-skills-collection

Create interface designs, wireframes, and design systems. Masters user research, accessibility standards, and modern design tools.

tool-design

5
from FrancoStino/opencode-skills-collection

Build tools that agents can use effectively, including architectural reduction patterns. Use when creating new tools for agent systems, debugging tool-related failures or misuse, or optimizing existing tool sets for better agent performance.

tailwind-design-system

5
from FrancoStino/opencode-skills-collection

Build production-ready design systems with Tailwind CSS, including design tokens, component variants, responsive patterns, and accessibility.

stitch-ui-design

5
from FrancoStino/opencode-skills-collection

Expert guidance for crafting effective prompts in Google Stitch, the AI-powered UI design tool by Google Labs. This skill helps create precise, actionable prompts that generate high-quality UI designs for web and mobile applications.

stitch-design-taste

5
from FrancoStino/opencode-skills-collection

Use when generating Google Stitch DESIGN.md systems for premium typography, color, layout, motion intent, and anti-generic UI rules.

redesign-existing-projects

5
from FrancoStino/opencode-skills-collection

Use when upgrading existing websites or apps by auditing generic UI patterns and applying premium design fixes without rewrites.

radix-ui-design-system

5
from FrancoStino/opencode-skills-collection

Build accessible design systems with Radix UI primitives. Headless component customization, theming strategies, and compound component patterns for production-grade UI libraries.

product-design

5
from FrancoStino/opencode-skills-collection

Design de produto nivel Apple — sistemas visuais, UX flows, acessibilidade, linguagem visual proprietaria, design tokens, prototipagem e handoff. Cobre Figma, design systems, tipografia, cor, espacamento, motion design e principios de design cognitivo.

privacy-by-design

5
from FrancoStino/opencode-skills-collection

Use when building apps that collect user data. Ensures privacy protections are built in from the start—data minimization, consent, encryption.

mobile-design

5
from FrancoStino/opencode-skills-collection

(Mobile-First · Touch-First · Platform-Respectful)