LabscoConnect MCP ↗
addyosmani logo

api-and-interface-design

Ready to use★ 102k on GitHub
part of addyosmani/agent-skillsby addyosmani

Designs the contract first when your assistant builds an API, a module boundary or a component's props, then keeps it stable with one error format, input checks at the edge, and additions instead of breaking changes. It treats every visible behavior, even error text and timing, as something callers will come to depend on.

WHEN YOUR AGENT SHOULD USE IT

A QUICK BOUNDARY

USE FOR

  • Define a new REST or GraphQL endpoint's types before any code is written.
  • Give every endpoint the same error shape and status-code meaning.
  • Add a field to a public API without breaking existing callers.
  • Make a payment endpoint safe to retry with an Idempotency-Key.
  • Validate third-party API responses before your code trusts them.
  • Add pagination to list endpoints from the start.

DO NOT USE FOR

  • Retiring an old API or moving its users over; deprecation-and-migration covers that.