Spec-driven development means writing requirements and a design document before code. Hanchett compares coding assistants to interns who need direction: without enough guidance, they may pursue the wrong work. Specs give them more context, while keeping a person involved before implementation.
Using Spec-Driven Development for Production Workflows
Speaker
Erik Hanchett, senior developer advocate at AWS, explains how to use spec-driven development in coding workflows at an AI Engineer talk.
Hanchett recommends giving agents a suitable amount of guidance in files such as AGENTS.md or CLAUDE.md, and using skills for specific tasks like creating designs. People should review the requirements, design documents, and generated code, with normal code review tools and teammates helping as well.
Spec-driven development can be done manually, or with tools such as GitHub's open-source Spec Kit and AWS's Kiro. A typical flow creates requirements, a design document, and an implementation task list, with opportunities to review and revise each step. Hanchett says it can suit complex features and legacy projects, as well as new applications.
Kiro can create requirements in EARS format, design documents with Mermaid diagrams, and tasks tied to property-based tests. Hanchett advises checking documents for inconsistencies and errors, then tailoring them with project knowledge. For the movie website demo, he asked Kiro to prioritize the first four tasks as an MVP with a browsable grid, search, genre filtering, sorting, and an '80s synthwave theme.
Hanchett describes MCP as a way to connect models to data sources, including project management services such as Jira or Asana. Those sources can provide existing tickets and requirements when creating specs. He says MCP is still maturing, particularly around security.
Takeaways
- Write requirements and a design before implementation when a feature needs more structure.
- Review and refine generated specs before asking an agent to build from them.
- Keep project guidance focused so agents have useful context without being overloaded.
- For larger task lists, prioritize a small MVP so you can see a working version sooner.
- Use connected project data to bring existing requirements and technical details into spec creation.
Mentioned in this talk
Search inside this talk
What was claimed 8
- role atErik Hanchett is senior developer advocate at
AWS
“I’m a senior developer advocate at AWS”
0:00inYour Agent Is Wasting Tokens and You Don't Know ItYouTube Verified2 sources· Talk
- feature
Kiro: Available as an IDE and a command-line interface
“It's our new AI IDE coding assistant. We also have a command-line interface, or CLI, version”
YouTube Unverified1 source· Talk
- metric
Kiro: Tens of thousands of downloads
“We got tens of thousands of downloads”
YouTube Unverified1 source· Talk
- built
“This is GitHub's open-source way of doing this process”
YouTube Unverified1 source· Talk
- uses
“They built new tools, new MCP servers, to help that model actually get done what it needed to get done.”
10:04inFrom AI-Assisted to AI-Native: Building a Frontier Development TeamYouTube Verified2 sources· Talk
- feature
Kiro: Supports spec-driven development with requirements, design documents, implementation tasks, and property-based tests
“Finally, you get to the implementation phase. This will be a list of tasks. It also has something called property-based tests”
YouTube Unverified1 source· Talk
- integrates with
“you can have something like Jira or Asana with all your tickets and large requirements documents, and then pull that into your spec-driven development flow”
YouTube Unverified1 source· Talk
- integrates with
“you can have something like Jira or Asana with all your tickets and large requirements documents, and then pull that into your spec-driven development flow”
YouTube Unverified1 source· Talk










