·api-and-interface-design
</>

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.

14Installs·0Trend·@addyosmani

Installation

$npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design

How to Install api-and-interface-design

Quickly install api-and-interface-design AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: addyosmani/agent-skills.

SKILL.md

View raw

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.

Define the interface before implementing it. The contract is the spec — implementation follows.

Don't mix patterns. If some endpoints throw, others return null, and others return { error } — the consumer can't predict behavior.

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. Source: addyosmani/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design
Category
</>Dev Tools
Verified
First Seen
2026-02-24
Updated
2026-03-10

Browse more skills from addyosmani/agent-skills

Quick answers

What is 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. Source: addyosmani/agent-skills.

How do I install api-and-interface-design?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/addyosmani/agent-skills --skill api-and-interface-design Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/addyosmani/agent-skills