Skip to content
Skillpedia
Interfaces (UI/UX)48k · #2152

api-design-principles

Teaches your agent to create APIs following best principles. This results in APIs that are easy to use, grow with the system, and please other developers.

What it does

This tool helps you create and improve the design of APIs (interfaces for software to communicate), whether they are REST or GraphQL. The goal is to make them user-friendly, efficient, and long-lasting.

When to use it

  • ✓When designing a new API.
  • ✓When improving an existing API.
  • ✓When setting API design standards for your team.

Example of what to ask your AI

“How can I design a REST API to efficiently manage users?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-design-principles/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-design-principles/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool guides you through steps like understanding who will use the API, choosing the right API type, defining how errors and versions will be handled, and validating everything with examples.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill api-design-principles

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/api-design-principles/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
FAQ

What is an API?

An API is like a menu in a restaurant. It tells software what it can order and how to order it, without needing to know how the kitchen works.

What's the difference between REST and GraphQL?

REST is like ordering specific dishes from the menu, while GraphQL allows you to request exactly the ingredients you want, all at once.

Do I need to know how to code to use this?

You don't need to be an experienced programmer. The tool is designed to help plan the API design, even if you won't be coding it directly.

Details

Original description by the author

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

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2152
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills