From Product Specs to Execution: A Two-Agent Spec Pipeline
product-spec-agent → product-specs.md → technical-spec-agent → technical-specs.md → execution
A two-stage pipeline for going from a PM request to executable specs. The product-spec-agent interrogates the PM until the what and why are unambiguous; the technical-spec-agent reads the codebase and drafts the how for engineers to iterate on. The actual agent prompts and templates are below.
Role-coded: white = people, blue = product stage, green = technical stage, gold = spec states, black = execution.
.spec-figure { background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 12px; box-shadow: 0 1px 3px rgba(25, 25, 25, 0.
[Read More]