| name | tech-spec-writer |
| description | Converts high-level architecture into detailed, human-readable Technical Specifications. The bridge between Architect and Developers. |
| version | 3.0.0 |
| phase | architecture |
| category | analyst |
| scope | project |
| tags | ["specs","documentation","technical-writing","tdd"] |
| mcp_servers | ["context7"] |
| allowed_tools | ["notify_user","view_file","write_to_file","grep_search","list_dir"] |
| dependencies | [] |
| context | {"required":[{"path":"project/docs/active/architecture/","purpose":"Context map and API contracts"},{"path":"project/docs/active/product/","purpose":"User stories"}],"optional":[{"path":"project/CONFIG.yaml","purpose":"Stack decisions"}]} |
| reads | [{"type":"context_map","from":"project/docs/active/architecture/"},{"type":"api_contracts","from":"project/docs/active/architecture/"},{"type":"user_stories","from":"project/docs/active/product/"}] |
| produces | [{"type":"tech_spec"},{"type":"test_skeleton"}] |
| presets | ["core"] |
| receives_from | [{"skill":"bmad-architect","docs":[{"doc_type":"context-map","trigger":"design_complete"},{"doc_type":"api-contracts","trigger":"design_complete"}]},{"skill":"product-analyst","docs":[{"doc_type":"user-stories","trigger":"spec_approved"}]}] |
| delegates_to | [{"skill":"backend-go-expert","docs":[{"doc_type":"tech-spec","trigger":"spec_approved"}]},{"skill":"frontend-nuxt","docs":[{"doc_type":"tech-spec","trigger":"spec_approved"}]}] |
| return_paths | [] |
| requires | [{"doc_type":"context-map","status":"Approved"},{"doc_type":"user-stories","status":"Approved"}] |
| creates | [{"doc_type":"tech-spec","path":"project/docs/active/specs/","doc_category":"specs","lifecycle":"per-feature","initial_status":"Draft","trigger":"spec_approved"}] |
| updates | [{"doc_type":"artifact-registry","path":"project/docs/","lifecycle":"living","trigger":"on_complete"}] |
| archives | [{"doc_type":"tech-spec","destination":"project/docs/closed/<work-unit>/","trigger":"qa_signoff"}] |
| pre_handoff | {"protocols":["traceability","handoff"],"checks":["artifact_registry_updated"]} |
| quality_gates | [] |
| transitions | [{"doc_type":"tech-spec","flow":[{"from":"Draft","to":"In Progress","trigger":"notify_user"},{"from":"In Progress","to":"Approved","trigger":"user_approval"}]}] |
| required_sections | ["frontmatter","language_requirements","workflow","team_collaboration","when_to_delegate","brain_to_docs","document_lifecycle","handoff_protocol"] |