Skills for Real Engineers. Straight from my .agents directory.
api-and-interface-design
Agent skill fromaddyosmani/agent-skills
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 to install api-and-interface-design
npx skills add addyosmani/agent-skills# or add only this skill to Claude Code: copy the folder
skills/api-and-interface-design/
# into
~/.claude/skills/api-and-interface-design/ (all projects)
.claude/skills/api-and-interface-design/ (one project)
1# API and Interface Design23## Overview45Design 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.67## When to Use89- Designing new API endpoints10- Defining module boundaries or contracts between teams11- Creating component prop interfaces12- Establishing database schema that informs API shape13- Changing existing public interfaces1415## Core Principles1617### Hyrum's Law1819> 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.2021This 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:2223- **Be intentional about what you expose.** Every observable behavior is a potential commitment.24- **Don't leak implementation details.** If users can observe it, they will depend on it.25- **Plan for deprecation at design time.** See `deprecation-and-migration` for how to safely remove things users depend on.26- **Tests are not enough.** Even with perfect contract tests, Hyrum's Law means "safe" changes can break real users who depend on undocumented behavior.2728### The One-Version Rule29…
Excerpt shown under the repository's MIT license.
More skills in agent-skills
- ▸browser-testing-with-devtools
- ▸ci-cd-and-automation
- ▸code-review-and-quality
- ▸code-simplification
- ▸constraint-driven-development
- ▸context-engineering
- ▸debugging-and-error-recovery
- ▸deprecation-and-migration
- ▸documentation-and-adrs
- ▸doubt-driven-development
- ▸frontend-ui-engineering
- ▸git-workflow-and-versioning
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
