📌 项目日期:2026年9月 | 数据来源:GitHub官方仓库 | 星数:133,442+
Spec Kit 是 GitHub 官方开源的规范驱动开发(Spec-Driven Development)工具包,星数已超13万,2026年8月刚发布 1.0.0。它的核心理念是"先定义要构建什么,再动手构建"——在 AI 编码 Agent 时代,写代码的成本骤降,真正的瓶颈变成了把需求说清楚。Spec Kit 把这件事流程化:constitution(项目原则)→ specify(规格)→ plan(计划)→ tasks(任务拆解)→ implement(实现),每一步都有对应的斜杠命令。
它支持任意 AI 编码 Agent,官方文档在 github.github.io/spec-kit,还有中文版 README。配合 Anthropic官方Skills库 与 Gemini CLI教程,不同 Agent 阵营都能套用这套方法论。
| 阶段 | 命令 | 产出 |
|---|---|---|
| Establish 原则 | /speckit-constitution | 项目级宪法:技术约束、质量底线(每项目一次) |
| Specify 规格 | /speckit-specify | 要构建什么的完整规格说明 |
| Plan 计划 | /speckit-plan | 技术方案与实现路径 |
| Tasks 拆解 | /speckit-tasks | 可执行的任务清单 |
| Implement 实现 | /speckit-implement | 按任务驱动AI落地代码 |
# 安装 Specify CLI(uv 工具链)
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
# 也可以固定版本安装
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v1.0.0
# 初始化项目(--integration 指定你的AI Agent)
specify init my-project --integration copilot
cd my-project
启动你的编码 Agent 后按 0-4 步执行:先 /speckit-constitution 立原则(一次性),再依次 specify → plan → tasks → implement。升级用 specify-cli install specify-cli --force --from <git ref>,可用 SPECIFY_UPGRADE_TIMEOUT_SECS 限制安装子进程时长。
AI 改变的最贵成本是"适应变化",Spec Kit 把稳定性焦虑转移成了适应性优势——这正是 1.0.0 发布文里反复强调的判断。
Spec Kit 是 GitHub 官方开源的规范驱动开发(Spec-Driven Development)工具包,星数已超13万,2026年8月刚发布 1.0.0。它的核心理念是"先定义要构建什么,再动手构建"——在 AI 编码 Agent 时代,写代码的成本骤降,真正的瓶颈变成了把需求说清楚。Spec Kit 把这
官方背书:GitHub 自家出品,一年打磨到 1.0.0,社区扩展与预设生态活跃