Dev & Engineering api-designinterface-contractsrest-apigraphqltypescriptbackward-compatibility

Stable Interface Design

A practical guide to designing stable, clear, and hard-to-misuse APIs and module interfaces.

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust13 / 25 · 2.6/5

The skill focuses on interface design and shows no malware, credential theft, covert exfiltration, or disproportionate automation. It promotes boundary validation and avoiding internal error disclosure. Points are deducted because least privilege, user confirmation, sensitive-data handling, dependency security, external effects, rollback, and data-flow disclosure are not specified; attribution is only indirect through the repository README/LICENSE, and the publisher is unverified.

Reliability8 / 20 · 2.0/5

The guidance is internally coherent across contracts, error semantics, validation, compatibility, and a verification checklist; repository CI provides some repository-wide structural and evaluation checks. Points are deducted because the assessed skill has no dedicated executable tests, examples contain omitted implementations, and abnormal-input behavior, failure feedback, and key-path reproduction are thin. Static calibration caps this at 10.

Adaptability10 / 15 · 3.3/5

The frontmatter clearly targets API design, module boundaries, component props, REST/GraphQL, and frontend-backend boundaries, with reasonably clear triggers. Points are deducted because non-fit cases, input/output boundaries, and cross-stack limitations are not explicit, and there is no Chinese-language or mainland-China network reachability guidance.

Convention8 / 15 · 2.7/5

The document has frontmatter, overview, usage triggers, principles, patterns, rationalization rebuttals, red flags, and verification, with useful examples. The README supplies installation guidance, while repository context supplies an MIT license, maintainers, and CI. Points are deducted because versioning, changelog, maintenance ownership, and update path are not directly documented in the skill; dependency notes, FAQs, known limitations, and troubleshooting are limited.

Effectiveness7 / 15 · 2.3/5

The material is directly usable as an API design checklist covering contract-first design, consistent errors, boundary validation, pagination, compatibility, and naming. Points are deducted because there is no project-specific output template, representative completed artifact, or execution evidence, so an agent must still apply substantial contextual judgment. Static calibration caps this at 7.

Verifiability4 / 10 · 2.0/5

The skill provides auditable principles, code examples, and a final checklist, and repository CI indicates global skill validation and evaluation steps. Points are deducted because there are no assessed-skill-specific tests, third-party citations, or corroborating evidence types, and static review cannot confirm execution results; only limited evidence is justified.

Evidence confidence:Low Reviewed Jul 28, 2026 Reviewed revision 7829ffd90d97
Before you use it
  • This is a static source review; examples, CI, and evaluation scripts were not executed. Repository-wide CI should not be treated as proof that this skill's key paths are validated.
  • For production interfaces, separately address authentication and authorization, sensitive data, rate limits, idempotency, auditing, rollback, and compatibility policy.
  • The publisher is not verified by the FollowSkills curated enterprise registry; independently verify provenance and maintenance before adoption.
  • The documentation provides no Chinese-language or mainland-China network-environment guidance.
Review evidence [1][2][3][4][5]
See the full review method →

What does this skill do, and when should you use it?

This is one standalone skill in addyosmani/agent-skills, focused on APIs, module boundaries, component props, and frontend-backend contracts. It applies contract-first design, consistent error semantics, boundary validation, and backward-compatible extension across REST, GraphQL, and TypeScript interfaces. It also uses Hyrum's Law and the One-Version Rule to frame observable behavior and versioning decisions. It fits developers designing or changing public interfaces, although the supplied material does not show an automated test suite or runtime validation results for this skill.

Guides the user to define typed inputs, outputs, and error contracts before implementation; provides patterns for REST and GraphQL interfaces, resource paths, pagination, filtering, PATCH updates, sub-resources, and naming; identifies system boundaries where API input, form data, third-party responses, and configuration should be validated; recommends discriminated unions, input/output separation, and branded ID types; and ends with a verification checklist covering schemas, error consistency, pagination, naming, compatibility, and documentation.

  1. A backend developer designing a task REST API needs consistent resource paths, status codes, error bodies, and pagination.
  2. A frontend-backend team is defining shared type contracts and must separate caller-provided fields from server-generated output.
  3. A TypeScript engineer is modeling status variants or identifier types to prevent invalid combinations and accidental argument swaps.
  4. A maintainer is changing a public interface and wants to preserve existing consumers through additive optional fields.
  5. A team is defining module or component boundaries and needs to recognize observable behavior as a long-term contract.

What are this skill's strengths and limitations?

Pros
  • Covers REST, GraphQL, TypeScript, module boundaries, component props, and related interface surfaces.
  • Includes concrete examples for errors, pagination, filtering, PATCH updates, sub-resources, and naming.
  • Emphasizes backward compatibility, boundary validation, and evidence-oriented verification.
  • Uses only standard name and description frontmatter, with no visible platform-specific extensions.
Limitations
  • The supplied material does not show an automated test suite or actual runtime validation for this skill.
  • It provides design guidance rather than scripts for generating, deploying, or running APIs.
  • It does not provide framework-, database-, or API-gateway-specific implementation steps.

How do you install this skill?

The skill is located at skills/api-and-interface-design/SKILL.md in the repository. To install the full collection, run: npx skills add addyosmani/agent-skills. The README says the repository contains 24 skills and provides this supported single-skill command format: npx skills add addyosmani/agent-skills --skill api-and-interface-design.

How do you use this skill?

After installation in an Agent Skills-compatible client, invoke it when designing or changing an API, module boundary, component interface, or other public contract. Example trigger: "Design a task REST API. First define the input/output contracts, consistent errors, boundary validation, and pagination." The skill file does not document client-specific automatic-trigger behavior separately.

How does this skill compare with similar options?

The README names Superpowers and Matt Pocock's skills as comparison alternatives and links to a comparison document; the supplied material does not include that document's conclusions.

FAQ

Is this skill limited to REST APIs?
No. It also covers GraphQL schemas, module boundaries, component props, database schemas that shape APIs, and other public interfaces.
Does it require Node.js or another runtime dependency?
The SKILL.md shows no runtime dependency. The README uses the npx skills CLI for collection installation, but that command is part of the installation method rather than a dependency used by the skill body.
Does it modify code or call external tools automatically?
The supplied SKILL.md contains guidance, code examples, and a verification checklist, but no scripts, network calls, or MCP tool instructions.
When is this skill insufficient on its own?
It does not by itself cover framework-specific implementation, deployment pipelines, or runtime incident debugging.

More skills from this repository

All from addyosmani/agent-skills

Dev & Engineering

Code Clarity Refactor

Reduce code complexity while preserving exact behavior, so teammates can read, modify, and debug it faster.

Dev & Engineering

Architecture Decisions & Docs

Preserve engineering context by documenting decisions, APIs, and the reasons behind them.

Design & Frontend

Production Frontend UI Engineering

Guides AI coding agents to build accessible, responsive, design-system-aligned production interfaces.

Dev & Engineering

Source-Driven Development

Ground framework and library decisions in current official documentation instead of stale memory.

Dev & Engineering

Browser DevTools Testing

Validate and debug web applications with real-browser runtime evidence.

Dev & Engineering

Intent Interviewer

Clarify the real problem through one-question-at-a-time interviews before planning or coding.

Dev & Engineering

Test-Driven Development Workflow

Prove intended behavior with a failing test before implementing, refactoring, and verifying the change.

Dev & Engineering

Spec-Driven Development

Turn ambiguous engineering requests into testable specifications before coding.

Dev & Engineering

Git Workflow & Release Discipline

Keep AI-generated changes reviewable, reversible, and ready to release.

Dev & Engineering

Performance Optimization Engineering Skill

Measure, diagnose, and verify fixes for frontend, backend, query, and database performance bottlenecks.

Dev & Engineering

Planning & Task Breakdown

Turn clear requirements into ordered, implementable, and verifiable engineering tasks.

Automation & Ops

Production Observability

Make production behavior visible and diagnosable with structured logs, metrics, traces, and actionable alerts.

Dev & Engineering

Doubt-Driven Development

Challenge non-trivial decisions with a fresh adversarial review before they stand.

Dev & Engineering

Incremental Implementation

Deliver multi-file engineering changes through small, tested, reversible slices.

Automation & Ops

Security Hardening Engineering Skill

Gives coding agents a structured defense workflow for untrusted input, authentication, sensitive data, and external service integrations.

Dev & Engineering

Idea Refine

Turn vague ideas into tested, actionable product directions.

Dev & Engineering

Pre-Merge Code Quality Review

Review every change across correctness, readability, architecture, security, and performance before it reaches the main branch.

Dev & Engineering

Context Engineering

Helps coding agents load the right project context at the right time, reducing guesswork and convention drift.

Dev & Engineering

Systematic Debugging & Recovery

A structured workflow for finding root causes, fixing failures, and preventing recurrence.

Automation & Ops

CI/CD Pipeline Automation

Build repeatable quality gates and reversible deployment pipelines for every change.

Related skills