Spec-Driven API Design: From Consumer Capability to API Contract
summary
Spec-driven development uses spec-kit and OpenSpec to turn product requirements and API guidelines into a concrete OpenAPI YAML plus an agent.md that defines agent behavior; the demo produces a first viable spec in about 12 minutes, then iterates to catch lifecycle issues like 409 conflict handling and naming inconsistencies. The process generates proposed design decisions, review tasks and a contract that is human- and agent-explainable, and it requires repeated generate-and-review cycles rather than instant AI output.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 2:11Problem with endpoint-first design
- 4:04API opycles method overview
- 6:11AI guidelines for API design
- 9:03Demo setup and tools
- 11:10Room reservation API example
- 13:36AI design process and review
- 15:28OpenAPI and agent MD output
- 17:19API evolution and stability
- 18:43Agent control and takeaways
