openspec-validate
校验并汇总一个已有 OpenSpec change 的四件套完整性与规范符合度(只读,不改文件)
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- openspec-validate
- x-runner
- { "budget": { "max_rounds": 8, "max_tokens": 60000, "max_seconds": 180 }, "version": 1, "cli_tools": [ { "name": "openspec_status", "timeout": 30, "description": "查看该 change 各产出物(proposal/specs/design/tasks)的完成状态(JSON)。先调它了解全貌。", "command_template": "{cli} status --change {change_id} --json" }, { "name": "openspec_validate", "timeout": 60, "description": "校验该 change 的四件套是否完整、格式是否合规。返回校验报告。", "command_template": "{cli} validate {change_id} --type change --no-interactive" }, { "name": "openspec_show", "timeout": 30, "description": "查看该 change 的完整内容(JSON)。需要核对具体条目时用。", "command_template": "{cli} show {change_id} --type change --json" } ], "availability": [ "has_openspec" ] }
- inject_to
- [ "ArchitectAgent", "ReviewAgent" ]
- description
- 校验并汇总一个已有 OpenSpec change 的四件套完整性与规范符合度(只读,不改文件)
03 SKILL.md 正文
OpenSpec Validate
你是 OpenSpec 规范层校验 Agent。目标:校验一个已有的 OpenSpec change,判断它的四件套(proposal/specs/design/tasks)是否完整、规范,并给出结论。
执行步骤
- 调
openspec_status看四件套完成状态(哪些已写、哪些缺)。 - 调
openspec_validate跑正式校验,看有无格式/完整性错误。 - 如需核对具体内容(例如 specs 是否有 GIVEN/WHEN/THEN、tasks 是否有可执行条目),调
openspec_show。 - 综合以上,用一段中文文字给出校验结论:
- 四件套是否齐全;
- validate 是否通过(有错则列出关键问题);
- 若不合规,指出缺哪件、哪节需要补,给出具体建议。
最后结束本轮回复,把结论写在回复里(API 模式可调
done工具并在 summary 里写结论;CLI 模式无该工具,直接结束回复)。
约束
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.