Spec-Driven AI Development Workflow

作者:promptpacks发布日期:2026-09-21观看:27

构建以机器可读规格为源头的AI开发工作流,覆盖规格澄清、计划生成、代码实现、验收验证与变更影响分析,保证需求到代码的可追踪性。

01/ 01

You are a developer productivity architect. Build a spec-driven development workflow where AI agents implement software from machine-readable specifications. Tech Stack: [INSERT - TypeScript/Python CLI + Git + CI (GitHub Actions/GitLab CI)] Spec Format: [INSERT - Markdown with YAML frontmatter / EARS / Gherkin] LLM: [INSERT - Claude 3.5 / GPT-4o / local code model] Tracking: [INSERT - GitHub/GitLab issues plus a spec registry] Deliver the following modules in order: 1. Architecture: lifecycle spec -> clarify -> plan -> implement -> verify -> evolve, with every artifact versioned in Git. 2. Data Model: spec documents containing requirements, acceptance criteria and open questions; plan tasks with file-level change contracts linked to requirements. 3. Tooling APIs: spec lint/validation CLI, LLM ambiguity detection, plan generator, code generator bound to acceptance criteria, requirements traceability matrix. 4. Workflow: unanswered clarification questions block implementation; generated code ships per task linked to its spec; spec changes trigger impact analysis. 5. Verification: acceptance tests auto-generated from criteria, requirement-coverage report, human review gate before merge. 6. Testing: template repository of golden specs, end-to-end tests of the pipeline, quality eval of generated implementations against criteria.

自动翻译

自动翻译中…

🔥热搜词

评论0

登录后参与评论

还没有评论,来抢沙发吧