源码级融合 OpenSpec 规划引擎 + Superpowers 执行纪律的 AI 编程工作流插件。17 平台支持,9 skills,Spec-first,契约驱动。
# Add to your Claude Code skills
git clone https://github.com/MageByte-Zero/spec-superflowGuides for using cli tools skills like spec-superflow.
Last scanned: 6/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-30T07:54:01.235Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}spec-superflow is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by MageByte-Zero. 源码级融合 OpenSpec 规划引擎 + Superpowers 执行纪律的 AI 编程工作流插件。17 平台支持,9 skills,Spec-first,契约驱动。. It has 740 GitHub stars.
Yes. spec-superflow passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/MageByte-Zero/spec-superflow" and add it to your Claude Code skills directory (see the Installation section above).
spec-superflow is primarily written in JavaScript. It is open-source under MageByte-Zero on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh spec-superflow against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
安装后,告诉 Agent 一句话即可启动:
用 workflow-start 开始
Agent 会自动检查当前工件目录,内容级判断(不看文件时间戳,而是比较 proposal 范围 vs 契约意图锁)你处于哪个阶段,然后路由到正确的下一个 skill。
用 workflow-start 开始继续上次的工作流帮我看看现在该干什么Claude Code 的主流方式是插件 marketplace:
/plugin marketplace add MageByte-Zero/spec-superflow
/plugin install spec-superflow@spec-superflow
/plugin update spec-superflow@spec-superflow
Marketplace 安装自动加载 hooks,每次新会话自动注入上下文。
# 方式一:通过 ssf CLI
npx spec-superflow@latest install-cursor
# 方式二:直接运行脚本
curl -fsSL https://raw.githubusercontent.com/MageByte-Zero/spec-superflow/main/scripts/install-cursor.mjs | node -
Cursor 原生发现
.cursor/skills/、.agents/skills/、~/.cursor/skills/等目录,也可以在 Customize → Rules → Remote Rule (Github) 导入。脚本会自动部署 skills、scripts、docs 等运行时依赖。
Codex 的主流方式是 Plugin Directory / marketplace。本仓库已提供 .codex-plugin/plugin.json 和 .agents/plugins/marketplace.json。
# 在 Codex CLI 中打开插件目录
codex
/plugins
# 或添加社区 marketplace 后安装
codex plugin marketplace add hashgraph-online/awesome-codex-plugins
codex plugin add spec-superflow@awesome-codex-plugins
# 直接从指定 release tag 安装(不等待社区镜像同步)
codex plugin marketplace add MageByte-Zero/spec-superflow --ref v1.0.0
codex plugin add spec-superflow@spec-superflow
# 升级并验证社区 marketplace 安装
codex plugin marketplace upgrade awesome-codex-plugins
codex plugin add spec-superflow@awesome-codex-plugins
codex plugin list | rg spec-superflow
Codex App 打开 Plugins 面板,安装或启用 spec-superflow。通过 CLI 安装或升级后,重启 Codex App 并新开会话;旧会话不会热加载 skills。
copilot plugin marketplace add MageByte-Zero/spec-superflow
copilot plugin install spec-superflow@spec-superflow
gemini extensions install https://github.com/MageByte-Zero/spec-superflow
gemini extensions update spec-superflow # 升级
| 平台 | 安装方式 | 状态 |
|---|---|---|
| Cline | npx spec-superflow@latest install-cline |
已提供安装器 |
| Kiro | npx spec-superflow@latest install-kiro |
已提供安装器 |
| Windsurf | npx spec-superflow@latest install-windsurf |
已提供安装器 |
| Qwen Code | npx spec-superflow@latest install-qwen |
已提供安装器 |
| Amazon Q Developer | npx spec-superflow@latest install-amazon-q |
已提供安装器 |
| Roo Code | npx spec-superflow@latest install-roocode |
已提供安装器 |
| Continue | npx spec-superflow@latest install-continue |
已提供安装器 |
| Pi | npx spec-superflow@latest install-pi |
已提供安装器 |
| Qoder | npx spec-superflow@latest install-qoder |
已提供安装器 |
| OpenCode | .opencode/plugins/spec-superflow.js 或 .agents/skills -> skills/ |
已提供入口 |
| WorkBuddy | npx spec-superflow@latest install-workbuddy |
已提供安装器 |
| CodeBuddy Code CLI | ssf install-codebuddy |
已提供安装器 |
| Trae IDE / TRAE Work | .trae/skills/、~/.trae/skills/ 或上传 zip/.skill |
手动/导入 |
共支持 19 个平台,完整安装说明见 INSTALL.md,支持矩阵见 docs/platform-matrix.md。
npm install -g spec-superflow # 全局安装
npx spec-superflow list # 或通过 npx 使用
| 命令 | 功能 |
|---|---|
ssf list |
列出所有 changes 及状态 |
ssf validate <dir> |
验证工件完整性 |
ssf doctor |
健康检查(版本、hooks、skills、文档一致性) |
ssf version <semver> |
一键同步版本号到所有 manifest |
ssf state <sub> <dir> |
管理 .spec-superflow.yaml 状态文件 |
ssf inject <dir> |
生成 phase-guard 产物;仅在检测到单一平台标记时可省略 --platforms |
ssf audit <dir> |
生成决策点审计报告 |
ssf checkpoint save <dir> --task <id> --next <text> |
保存任务级会话恢复点 |
ssf checkpoint list <dir> |
列出 checkpoint 及 stale 状态 |
ssf checkpoint show <dir> <id> |
查看单个恢复点 |
ssf resume [change] |
只读恢复摘要;唯一活跃 change 可自动选择 |
ssf switch <change> |
只读返回明确 change 的恢复上下文;adapter 可据此切换当前 AI 对话关注对象 |
ssf save <change> --task <id> --next <text> |
手动写入兼容 checkpoint;不自动 commit、push 或 sync |
ssf handoff create <dir> --type <type> ... |
创建 prototype/research/experiment handoff |
ssf handoff list <dir> |
列出 handoff 生命周期状态 |
ssf handoff finish <dir> <id> |
校验 handoff 结果 |
ssf handoff resolve <dir> <id> --decision <decision> |
记录显式 handoff 决策 |
ssf execution recommend <dir> ... |
基于任务量、wave 和工作流列出可用执行方式并给出推荐 |
ssf execution plan <dir> ... |
在用户确认选择后,为 Full/legacy Hotfix 保存受 guard 保护的执行计划 |
ssf execution show <dir> [--json] |
查看并校验当前执行计划、wave 与 receipt |
ssf execution revise <dir> ... |
将已有计划保留/升级为 SDD,并生成新 revision;不允许降级 |
ssf execution review <dir> ... |
为一个计划 wave 记录 review receipt |
ssf install-cursor |
部署到 Cursor .cursor/ 目录 |
ssf install-workbuddy |
部署到 WorkBuddy marketplace 插件(含 skills/rules/runtime) |
ssf install-codebuddy |
部署到 ~/.codebuddy/(CodeBuddy Code CLI) |
ssf uninstall-codebuddy |
从 ~/.codebuddy/ 移除 spec-superflow(CodeBuddy Code CLI) |
ssf install-cline |
部署到 Cline .cline/ + .clinerules/ |
ssf install-kiro |
部署到 Kiro .kiro/ + .kiro/steering/ |
ssf install-windsurf |
部署到 Windsurf .windsurf/ + .windsurf/rules/ |
ssf install-qwen |
部署到 Qwen Code .qwen/ + .qwen/rules/ |
ssf install-amazon-q |
部署到 Amazon Q .amazonq/ + .amazonq/rules/ |
ssf install-roocode |
部署到 Roo Code .roo/ + .roo/rules/ |
ssf install-continue |
部署到 Continue .continue/ + .continue/rules/ |
ssf install-pi |
部署到 Pi .pi/skills/(无规则目录) |
ssf install-qoder |
部署到 Qoder .qoder/ + .qoder/rules/ |
v1.0.1ssf inject 示例:
ssf inject changes/my-change --platforms cursor
ssf inject changes/my-change --platforms all
省略 --platforms 时,只有在项目中恰好检测到一个平台标记时才会自动写入;如果检测到多个平台,必须显式指定 --platforms <platform> 或 --platforms all。
会话恢复与可选 prototype:
ssf resume # 只在唯一活跃 change 时自动选择
ssf resume changes/my-change # 只读恢复指定 change 的摘要
ssf switch changes/another-change # 只读返回明确 change 的恢复上下文
ssf save changes/my-change --task 1.1 --next "Run focused tests"
ssf checkpoint save changes/my-change --task 1.1 --next "Run focused tests"
ssf checkpoint list changes/my-change
ssf handoff create changes/my-change --type research --objective "Compare approaches" --expected-output "Recommendation" --acceptance "Evidence recorded"
resume 与 switch 都是只读恢复操作;resume 只会在恰好一个活跃 change 时自动选择目标。switch 只返回明确目标的恢复上下文,不修改 cwd、TUI 会话或任何隐藏指针;CLI 本身不切换当前对话关注对象,CodeBuddy/WorkBuddy adapter 或宿主 Agent 可用该上下文完成该动作。save 仅手动写入既有 checkpoint 协议,绝不自动 commit、push 或 sync。/ssf:resume、/ssf:switch、/ssf:save 是 CodeBuddy/WorkBuddy 使用的 Markdown command adapter:它们分发到同一 CLI guard,不为其他平台承诺完全相同的 slash 名称。
Prototype 只在用户明确确认后创建;后端、CLI、配置和内部重构不会自动进入 prototype 流程。handoff 结果不会自动修改 design.md 或 tasks.md。
Delta spec 的规范路径是 specs/<capability>/spec.md;扁平的 specs/<capability>.md 和根级 specs/spec.md 不会被视为合法规范。
Requirement 标题的规范形式是 ### Requirement: 名称。为兼容已存在的中文工件,解析器也接受 ### 需求:名称 和 ### REQ-<ID>: 名称;其它三级标题不会被当作需求。ssf sync 会先校验全部 delta,再一次性发布,任一 delta 无效时不会写入基线或发布回执。
活动工作流只以 changes/<change>/ 为事实来源:其中的 specs/ 是可审计的 delta spec。项目根 specs/ 是发布后的规范基线,不参与活动 change 的状态转换。运行 ssf sync changes/<change> 时,CLI 会把 ADDED/MODIFIED/REMOVED/RENAMED 操作应用到根基线的 ## Requirements,并在 change 状态写入可重算的发布回执。closing 会同时核验 delta 与基线;任一侧同步后被修改,都必须重新同步,spec_merged: true 不能绕过该检查。
本仓库发布的是 workflow、模板、脚本、测试和文档,不是某一次真实运行的工作目录。因此不会提交 changes/<change>/、.spec-superflow.yaml、.superpowers/ 或 ssf sync 生成的根 specs/;它们默认由 .gitignore 排除。需要展示完整流程时,只维护脱敏、固定的 docs/examples/ 示例。
在使用此插件的项目中,活动输入仍是 changes/<change>/specs/,根 specs/ 仍是可选的发布基线。消费者可按自己的审计或发布要求决定是否将这些项目工件纳入版本控制;这不会改变活动工作流只读取 change 的规则。
对 Full/legacy Hotfix,DP-4 不是一段任意文本:开始实现前必须保存并校验 current
execution plan。它位于 <change>/.superpowers/sdd/execution-plan.json,不写入
execution-contract.md。先运行 ssf execution recommend,它会根据任务量和 wave
策略列出 inline、batch-inline、sdd,并给出可审计的推荐理由,同时把当前 wave 的
推荐凭据保存为 <change>/.superpowers/sdd/execution-recommendation.json;Agent 必须将这些
候选项和推荐展示给用户。plan 或 revise 只接受匹配当前 artifact、contract 和 wave 的
凭据。用户用 --confirm 明确确认选择;若选择与推荐不同,必须额外
传入 --acknowledge-recommendation 记录已知风险。Batch Inline 始终串行,绝不冒充并行。
Quick、direct Hotfix 与 tweak 保持轻量例外:正常完成时不要求 contract、execution plan、wave receipt 或 DP;在边界内验证后持久化 test_result: pass。但一旦进入 DP-5 调试升级,任何路径都必须先有当前有效的 execution plan,才可记录失败尝试或持久化升级。
ssf execution recommend changes/my-change \
--wave foundation:parallel:1.1,1.2 \
--wave integration:serial:2.1:foundation --json
ssf execution plan changes/my-change --mode sdd --confirm --reason "independent work" \
--wave foundation:parallel:1.1,1.2 \
--wave integration:serial:2.1:foundation
ssf execution show changes/my-change --json
# 将已有 inline/batch-inl