api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

by addyosmani 98k GitHub stars MIT Updated Sep 20, 2026
api-and-interface-design skill by addyosmani
api-and-interface-design — Backend skill by addyosmani

Overview

api-and-interface-design is an open-source backend skill for Claude Code and compatible agents, published by addyosmani. Its author describes it as: “Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing bounda…”. The project has 98k stars on GitHub and is available under the MIT license. Add it to your setup with `/plugin marketplace add addyosmani/agent-skills`.

What api-and-interface-design does

Design stable, well-documented interfaces that are hard to misuse. Good interfaces make the right thing easy and the wrong thing hard. This applies to REST APIs, GraphQL schemas, module boundaries, component props, and any surface where one piece of code talks to another.

What’s inside

The SKILL.md for api-and-interface-design is organised into these sections:

  • Overview
  • When to Use
  • Core Principles
  • Hyrum's Law
  • The One-Version Rule
  • 1. Contract First
  • 2. Consistent Error Semantics
  • 3. Validate at Boundaries
  • 4. Prefer Addition Over Modification
  • 5. Predictable Naming
  • 6. Honouring an Idempotency Key
  • REST API Patterns

Installation

Add api-and-interface-design to your agent with:

/plugin marketplace add addyosmani/agent-skills

Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.

Supported agents

  • Claude Code — ships a claude code plugin marketplace
  • Codex — declared in the repository topics
  • Cursor — declared in the repository topics
  • Antigravity — declared in the repository topics

License

api-and-interface-design is published under the MIT license.

Strengths

  • Clear MIT license — safe to read and adapt within its terms
  • Ships in addyosmani/agent-skills, an established project with 97,992 GitHub stars
  • Works with Claude Code, Codex, Cursor, Antigravity
  • Actively maintained — repository updated in the last 30 days
  • Its repository gained 16,916 GitHub stars over the last 52 days

Author

addyosmani 27 skills in the catalog · GitHub profile ↗
View skills

Topics

Alternatives to api-and-interface-design

Similar skills from other repositories:

Need a skill like this, tailored to your team?Build a custom skill →

Frequently asked questions

What does api-and-interface-design do?
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
How do I install api-and-interface-design?
Run /plugin marketplace add addyosmani/agent-skills in your agent, then reload your skills. Review the source at https://github.com/addyosmani/agent-skills before installing.
Is api-and-interface-design free to use?
Yes. api-and-interface-design is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
Which agents does api-and-interface-design work with?
api-and-interface-design lists Claude Code, Codex, Cursor, and Antigravity — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
Where does api-and-interface-design come from?
api-and-interface-design ships inside addyosmani/agent-skills, a repository that contains 26 catalogued skills in total. The repository's 97,992 GitHub stars apply to that whole collection, not to this skill on its own.

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

🔥 TrendingActive Claude CodeCodexCursor+1
98k GitHub stars MIT Updated Sep 20, 2026 Free

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

↑ Growing Claude CodeCodexCursor+3
39k GitHub stars MIT Updated Aug 24, 2026 Free

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

↑ GrowingActive Claude CodeCodex
52k GitHub stars AGPL-3.0-only Updated Sep 21, 2026 Free

Use when reviewing a PR, API, IPC channel, endpoint, parameter, type, config, or architectural extension point that adds or expands shared surface area, especially when consumers are absent, exports are unused or speculative, existing consumers are hack-heavy, forward compatibility is claimed, or multiple similar APIs may express one demand.

↑ Growing Claude CodeCodex
51k GitHub stars AGPL-3.0-only Updated Aug 24, 2026 Free

查询 AIHOT 的中文 AI 资讯、精选、当前热点和日报。用户询问今天或最近的 AI 新闻、AI 圈动态、大模型或产品发布、OpenAI/Anthropic/Google 最新消息、AI 论文、AI 日报、AIHOT 精选、当前最热事件,或需要同步当前全部精选时使用。必须通过 aihot.virxact.com 的匿名只读 API 获取当前数据,不凭训练记忆回答新闻;不需要 API Key 或 MCP server。

Claude CodeCodex
20k GitHub stars MIT Updated Aug 16, 2026 Free