What problem does it solve? Teams often build APIs without a specification first, leading to inconsistent endpoints, mismatched types between code and docs, and breaking changes discovered too late. This Skill enforces a spec-first workflow so APIs are designed, mocked, and validated before implementation begins. ## Core Features & Use Cases - Spec-First Design: Draft OpenAPI 3.0 or GraphQL schemas before writing code, with endpoint naming conventions, status code guidance, and standard response formats. - Versioning & Error Standards: Apply URL-based versioning patterns and consistent error response structures (RFC 7807 style) across all endpoints. - Contract Testing & Docs: Verify implementation matches the spec with contract tests, then publish Swagger UI or Redoc documentation. - Use Case: When starting a new microservice, use this Skill to define the OpenAPI spec, generate a mock server for frontend teams, generate TypeScript types via codegen, and run contract tests to keep code and spec synchronized. ## Quick Start Design a versioned REST API for a users resource with an OpenAPI spec, standard error responses, and a mock server for frontend testing.