Authoring API Spec

Use when authoring an API specification — the engineering wire contract of an API surface: operations/endpoints, request + response schemas (fields, types, required/optional, constraints), auth, a complete error model, pagination/rate-limits, versioning, and worked examples. Guides the producer through the METHOD, not the outline: rendering the contract in the project's style (OpenAPI for REST, SDL for GraphQL, proto for RPC), typing every field, enumerating the ERROR CASES (not just the happy path), tracing each operation to a feature-spec behavior, and referencing the data-model rather than redefining it — to a bar where a client can call every operation and a server can implement it from the contract alone. Composes with a separate api-spec template tool and a deep-research capability. Assumes the upstream feature-spec (+ architecture-doc + data-model where present) — never a blank page. Not the persistence data-model, the consumer-facing API reference, the implementation, or reviewing a finished api-spec.

bm629 6ea00b8 4 files · 43.2 KB Updated

File contents

bm629/agent-skills/tree/main/skills/authoring-api-spec commit 6ea00b88ed

Frequently asked questions

npx skillmds@latest add bm629/authoring-api-spec