api-design

Design durable API contracts for REST, GraphQL, RPC, and webhook integrations.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/Tiepbm/software-engineering-agent --skill api-design-tiepbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design
Source: https://github.com/Tiepbm/software-engineering-agent/tree/main/skills/api-design
Command: npx skills add https://github.com/Tiepbm/software-engineering-agent --skill api-design-tiepbm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API teams often drift apart on contracts, causing integration breakages and brittle deployments. This skill defines stable API boundaries, explicit request/response contracts, and a clear evolution policy to minimize churn.

Core Features & Use Cases

  • Contract-first design guidance for REST, GraphQL, gRPC, and webhook surfaces.
  • Guidelines for versioning, pagination, filtering, idempotency, and error handling.
  • Backward-compatibility assurance and consumer usability considerations.

Quick Start

Provide a contract-first API specification for a new service and validate backward compatibility.

Frequently Asked Questions about api-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design durable API contracts to stabilize cross-team integrations?

Design durable API contracts by explicitly specifying resources, commands, queries, lifecycle states, versioning policies, and authentication to ensure predictable errors and backward compatibility for REST, GraphQL, RPC, and webhook surfaces.

What is the best way to handle API versioning and backward compatibility?

Handle API versioning and backward compatibility by defining an explicit evolution policy within your API contracts. This minimizes churn and ensures stable integrations across public, partner, and internal consumers during service updates.

How do I ensure idempotency and predictable errors in my API design?

Ensure idempotency and predictable errors in API design by applying explicit request and response contract guidelines. This specifies consistent pagination, filtering, and error handling to prevent integration breakages and brittle deployments.

Can I use contract-first design for both internal and public webhooks?

Yes, you can use contract-first design for internal and public webhooks. This approach defines stable API boundaries and explicit contracts across public, partner, and internal consumers to guide implementation and testing.

Why do my API integrations keep breaking during cross-team deployments?

API integrations often break because teams drift apart on contracts, causing brittle deployments. Defining stable API boundaries, explicit request and response contracts, and a clear evolution policy minimizes this churn and stabilizes integrations.

How do I start validating backward compatibility for a new API service?

To validate backward compatibility, provide a contract-first API specification for your new service. This specification guides implementation and testing by detailing resources, commands, queries, and lifecycle states to prevent integration breakages.