api-and-interface-design

Category: Development & Coding | Uploader: dsj1984dsj1984 | Downloads: 0 | Version: v1.0(Latest)

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. --- # API and Interface Design ## Overview 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. ## When to Use - Designing new API endpoints - Defining module boundaries or contracts between teams - Creating component prop interfaces - Establishing database schema that informs API shape - Changing existing public interfaces ## Core Principles ### Hyrum's Law > With a sufficient number of users of an API, all observable behaviors of your > system will be depended on by somebody, regardless of what you promise in the > contract.

Changelog: Source: GitHub https://github.com/dsj1984/agent-protocols

Directory Structure

Current level: tree/main/.agents/skills/core/api-and-interface-design/

  • 📄 SKILL.md 10.7 KB

SKILL.md

Login to download/like/favorite ❤ 5 | ★ 0
Comments 0

Please login before commenting.

Loading comments...