Skip to main content

Spec Pro

Better Spec-Driven Development Toolkit for AI Coding Agents.

specpro 把一套规范驱动开发(SDD)工作流装进你的项目:16 个斜杠命令(/specpro-specify、/specpro-plan、/specpro-tasks、/specpro-implement……)驱动 AI 编程助手按「规格 → 设计 → 任务 → 实现 → 测试」的链条交付功能,并自带核验器保证产物不漂移。

需要:一个 git 项目 + 至少一个受支持的 AI 编程助手(Claude Code / Copilot / Cursor / Gemini CLI / OpenCode / Qoder)。


安装(推荐:uv tool,约 30 秒)

第 0 步 · 安装 uv(各平台任选其一)

# macOS / Linux(官方脚本)
curl -LsSf https://astral.sh/uv/install.sh | sh

# macOS(Homebrew)
brew install uv

# Windows(PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Windows(winget)
winget install astral-sh.uv

uv 会自动管理 Python 解释器——你不需要预装 Python。

第 1 步 · 安装 specpro-cli

从本地 whl(离线包):

uv tool install ./specpro_cli-*.whl

从 PyPI(在线):

uv tool install specpro-cli

第 2 步 · 验证

specpro --help

看到 SPEC PRO 头图与命令列表即安装成功。


使用

cd 你的项目
specpro init          # 交互式:确认目录 → 选择 AI 助手 → 装入工作流
specpro check         # 自检:git 与各助手 CLI 是否就绪、项目内已装了什么
specpro version       # 版本与系统信息

init 完成后,在 AI 编程助手里即可使用 /specpro-specify 等斜杠命令。


升级与卸载

uv tool upgrade specpro-cli          # 升级到最新版
uv tool list                         # 查看已装工具
uv tool uninstall specpro-cli        # 卸载(只移除 CLI;项目内已装入的文件用 specpro remove 清理)

备选:手动 venv 安装(不使用 uv 时)

python3 -m venv ~/.specpro-venv
~/.specpro-venv/bin/pip install ./specpro_cli-*.whl
~/.specpro-venv/bin/specpro init     # 每次调用需带完整路径

License: MIT · Repository: https://github.com/wutone55/specpro

Release files for specpro-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for specpro-cli 0.1.1
File Interpreter ABI Platform
specpro_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / specpro_cli-0.1.1-py3-none-any.whl

Download URL specpro_cli-0.1.1-py3-none-any.whl
Size 526.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f623739aeadec698566b593def39cb6cacb23067bc20468e898e580d6fb662e
BLAKE2b-256 checksum
How to use checksums
0057a6f1f9b5dd6ef857b04255112ce2323267ef36513df91c44235ed00490cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page