ifrankwang/openspec-agents

Plugin插件 Native原生 ⭐ 4 MIT Subagents & Orchestration子代理与编排

OpenSpec流程的代理团队:面向实施阶段的多代理工作流编排。

Project Overview项目介绍

openspec-agents is a multi-agent orchestration plugin for AI coding tools that extends the OpenSpec specification-driven development workflow. It automates the full implementation process from OpenSpec’s requirement and design output all the way to code implementation, validation, quality review, and final merge. It natively integrates with five major AI coding agents: Claude Code, Codex, ZCode, DeepSeek Harness (DSH), and OpenCode. Users can install it directly through their agent’s plugin management system, following simple one-line commands for most supported tools. To get started after installation, users only need to send a short prompt to their AI to kick off the full workflow.

The plugin offers two core workflows: full change orchestration for OpenSpec specifications, and standalone code review. For change orchestration, all work happens on an isolated change/{changeId} branch in a dedicated worktree, so changes do not interfere with work on the main base branch until they are fully reviewed and ready to merge. It also includes a built-in standardized OpenSpec proposal template that helps catch omissions early in the change drafting stage. This plugin is ideal for teams and projects that prioritize high code quality and auditable, reproducible development processes over raw speed.

Before installing openspec-agents, you need to have Node.js version 23.6 or higher (or the Bun runtime) and Git installed on your local system. The project is released under the open-source MIT license, so you can use it freely for both personal and commercial projects. Compared to single-agent direct code editing, openspec-agents is slower and consumes more LLM API tokens, but this tradeoff delivers a more stable, auditable, and reliable end result. Community contributions via issues and pull requests are always welcome.

openspec-agents 是一个支持多 AI 智能体分工协作的编码工具插件,可将 OpenSpec 定义的需求、设计与任务拆分成果,自动推进到代码实现、验证、质量审查到最终合并的完整流程。主智能体负责调度,不同专职智能体分别负责实现、检查与质量把控,每一步都有门禁确认,全流程可追溯、可中断恢复。

该插件支持变更流程编排和独立代码审查两种工作模式,变更流程使用独立分支和隔离工作区开展任务,不会干扰主分支的日常开发,全部任务完成后统一合并清理工作区。它内置 OpenSpec 提案标准,能在提案阶段避免遗漏问题,适合对代码质量和过程可控性要求较高的团队项目。

使用该插件需要先安装 Node.js ≥ 23.6 或 Bun 以及 Git 环境,可根据你使用的 AI 编码工具选择对应安装方式,安装后仅需一句提示语即可启动流程。本项目基于 MIT 许可证开源,相比单 AI 开发速度稍慢,API 消耗更高,但换来更稳定可控的开发过程。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @ifrankwang/openspec-agents

把 ifrankwang/openspec-agents 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

openspec-agents

License: MIT Built for OpenSpec

让多个 AI 智能体按规范流程协作,把 OpenSpec 变更规范落地为经过审查的高质量代码。

openspec-agents 是一组面向 AI 编码工具的插件,把 OpenSpec 的「需求 → 设计 → 任务拆分」成果,自动推进到「实现 → 验证 → 质量审查 → 收尾合并」的完整实施流程。主智能体负责调度,专职智能体分别承担实现、检查与质量把关,每一步都有门禁确认,全程可审计、可恢复。

特性

  • 多工具支持:Claude Code、Codex、ZCode、DeepSeek Harness(DSH)、OpenCode 均可原生接入。
  • 规范驱动:直接消费 OpenSpec 变更规范(proposal / design / tasks / specs),流程与规范一一对应。
  • 提案标准化:内置 OpenSpec 提案标准(关联场景清点、契约变更详列、动笔前访谈与用户确认),一键初始化到任意项目,在提 change 阶段防漏考虑、防拆分割裂。
  • 智能体团队:不再是单个 AI 从头写到尾,而是「实现者 + 审查者 + 质量把关者」分工协作,结果更稳。
  • 质量门禁:实现之后经过工具检查、任务验证与多维度质量审查;发现的问题自动回退修复,也可按规则豁免并留痕。任务验证层(任务审查 / 合并审查)以通过(passed)提交时必须逐项确认全部已申报任务(verified_tasks 全覆盖为工具强制门禁);已通过但漏带确认导致阻塞时,审查者可补交确认结果解除阻塞。simple 模式下验证按性质分流——开发者执行确定性检查并申报,审查者分级复验(低成本项实跑、高成本项核验申报加抽样重放)并专注对抗性判断。
  • 隔离执行:每个变更使用一条独立分支 change/{changeId} 与一个常驻 worktree(.worktree/{changeId}/ws),全部任务组在同一 worktree 内串行实施,互不干扰;收口合并前主仓库基准分支上看不到该变更代码(change 级进度可用 git log change/{changeId} 查看),完成后统一合并并清理。
  • 过程可审计:进度、结论、豁免与恢复点全程记录,随时可以接着上次的进度继续。人工执行或环境不可验证的任务经 blocker 上报、用户确认留痕(blocker_updates)后凭记录申报完成;恢复参数 reset_steps 按流程模式(full / simple)校验各自的审查步骤值域后生效。

快速开始

  1. 准备环境:Node.js ≥ 23.6(或 Bun)与 git。
  2. 按下方「安装」选择你正在使用的 AI 工具完成安装。
  3. 重启该工具后,把下面「一句话接入」的提示词发给你的 AI 即可开始。

安装

按你使用的 AI 工具选择一种方式:

Claude Code

claude plugin marketplace add https://github.com/ifrankwang/claude-code-plugins
claude plugin install openspec-agents@ifrankwang

Codex

codex plugin marketplace add https://github.com/ifrankwang/codex-plugins
codex plugin add openspec-agents@ifrankwang

ZCode

打开 ZCode 插件页,添加市场 ifrankwang/zcode-plugins,然后安装 openspec-agents。

DeepSeek Harness(DSH)

dsh plugin --profile web add @ifrankwang/openspec-agents

安装后重启 dsh web 即可。

OpenCode

npm install -D @ifrankwang/openspec-agents

然后在 OpenCode 配置中加载 @ifrankwang/openspec-agents 插件,重启 OpenCode。

让 AI 帮你接入(一句话)

安装后(甚至还没安装时),直接把这句提示词发给你的 AI 编码工具:

请帮我安装并启用 openspec-agents 插件,然后基于当前项目的 OpenSpec 变更规范,执行完整的变更实施编排流程。

英文版:

Please install and enable the openspec-agents plugin for my current AI coding tool, then run the OpenSpec change orchestration workflow on this repository.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev Living-Dream-DSH 下一个 Next DeepSeek-harness-lark →