This file is byte-identical to the first copy the registry indexed, one of 6 indexed copies. Same content hash, so the same checks give both the same grade.
api-and-interface-design from aicodedecode/awesome-muse-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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.
This means: every public behavior — including undocumented quirks, error message text, timing, and ordering — becomes a de facto contract once users depend on it. Design implications:
- **Be intentional about what you expose.** Every observable behavior is a potential commitment.
- **Don't leak implementation details.** If users can observe it, they will depend on it.
…
The line at the top of this page pins the label git:20260927.806f3e1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_5besf4dhc2x22fnp
GET https://markdownregistry.com/api/v1/resolve?ref=aicodedecode/awesome-muse-skills/api-and-interface-design
GET https://markdownregistry.com/api/v1/blob/5dafd0c44a3aabf11cae5bcb34f6fcc24dfa5c01ba6e0d3176bce997f4d68bc8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
aicodedecode/awesome-muse-skills · skills-imported/3d-web-experience/SKILL.md · Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes…
aicodedecode/awesome-muse-skills · skills-imported/a-b-test-design/SKILL.md · Design an A/B experiment — hypothesis, variants, primary metric, and sample size. Use when a change can be measured…
aicodedecode/awesome-muse-skills · skills-imported/a11y-audit-uxui/SKILL.md · Audit a UI or design against WCAG 2.2 AA/AAA and ARIA patterns, returning criterion-referenced findings with severity…
aicodedecode/awesome-muse-skills · skills-imported/ab-test-setup/SKILL.md · When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B…
aicodedecode/awesome-muse-skills · skills-imported/abc-xyz-segmentation/SKILL.md · Segment a SKU portfolio on value (ABC) and demand variability (XYZ), produce the 9-box with a planning policy per cell…
aicodedecode/awesome-muse-skills · skills-imported/academic-cv-builder/SKILL.md · Format CVs for academic positions, including publications, grants, teaching, and research experience. Use when the user…
aicodedecode/awesome-muse-skills · skills-imported/academy-guide/SKILL.md · Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it…
aicodedecode/awesome-muse-skills · skills-imported/accessibility-audit/SKILL.md · Audit an existing interface against WCAG, producing findings with severity ratings and remediation steps. Use when you…
aicodedecode/awesome-muse-skills · skills-imported/accessibility-auditor/SKILL.md · Web accessibility specialist for WCAG compliance, ARIA implementation, and inclusive design. Use when auditing websites…
addyosmani/agent-skills · skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
sickn33/agentic-awesome-skills · plugins/agentic-awesome-skills-claude/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
shashankswe2020-ux/whoop-mcp · .github/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-codex/.agents/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/platforms/cursor/.cursor/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/platforms/codex/.agents/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-claude/.claude/skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs,