/install openspec-skill
\r \r
OpenSpec\r
\r
Use OpenSpec to align on what before writing how. Specs and proposals live under openspec/ in the project. Each in-flight change gets its own folder with proposal.md, specs/, design.md, and tasks.md.\r
\r
When to use\r
\r
- The user asks to propose, scope, or specify a change before coding.\r
- The project already has
openspec/— keep using it.\r - The change touches multiple files or modules and benefits from a checklist.\r
- The user wants to archive a completed change ("close out the dark-mode change").\r \r Skip OpenSpec for trivial edits (one-line fixes, typos, log tweaks). The ceremony is not worth it.\r \r
Core workflow\r
\r
- Confirm the project is OpenSpec-enabled. Look for
openspec/at the project root. If missing and the user wants to start:openspec_initwith the appropriatetoolslist for their AI assistant.\r - Read state first.
openspec_list { kind: "changes" }shows active changes.openspec_statusshows artifact completion.\r - Propose a change. Create
openspec/changes/\x3Cchange-name>/with:\rproposal.md— why this change, what it changes, who benefits\rspecs/— requirements grouped by capability\rdesign.md— technical approach\rtasks.md— implementation checklist (each task on its own line)\r
- Validate.
openspec_validate { name: "\x3Cchange-name>" }catches structural issues.\r - Apply (implement). Work through
tasks.md, ticking each item as you finish. Keep diffs scoped — one task at a time.\r - Sync / archive.
openspec_archive { changeName: "\x3Cchange-name>", yes: true }rolls the change's specs into the main spec set and moves the folder underopenspec/changes/archive/\x3Cdate>-\x3Cname>/.\r \r
Tool reference\r
\r
| Tool | Purpose |\r
| --- | --- |\r
| openspec_init | Scaffold openspec/ in a project, optionally with --tools \x3Cids> and --profile \x3Cname> |\r
| openspec_update | Regenerate AI assistant instructions after upgrading openspec |\r
| openspec_list | List active changes (default) or specs |\r
| openspec_show | Show a single change/spec, optionally include raw files via includeFiles: true |\r
| openspec_validate | Validate change/spec structure |\r
| openspec_archive | Archive a completed change |\r
| openspec_status | Artifact completion status for the project or a change |\r
| openspec_run | Escape hatch for openspec subcommands not surfaced above |\r
\r
Anti-patterns\r
\r
- Do not invent specs for changes the user did not ask to formalize. Use OpenSpec when the user wants spec-driven flow, not as a tax on every edit.\r
- Do not skip
openspec_validatebefore declaring a change ready.\r - Do not archive a change that still has unchecked items in
tasks.mdunless the user explicitly accepts the partial state.\r - Do not edit
openspec/specs/directly in the middle of a change — drive spec updates through the change folder and let archive roll them in.\r \r For longer examples and trigger patterns, seereferences/workflow.md.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openspec-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/openspec-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
OpenSpec 是什么?
Use OpenSpec (`@fission-ai/openspec`) for spec-driven development when implementing non-trivial changes in existing projects. Use when the environment expose... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。
如何安装 OpenSpec?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openspec-skill」即可一键安装,无需额外配置。
OpenSpec 是免费的吗?
是的,OpenSpec 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenSpec 支持哪些平台?
OpenSpec 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenSpec?
由 juanclaw(@juanclaw)开发并维护,当前版本 v0.1.1。