用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/govctl-org/govctl --skill guard-writer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write durable work items with scoped descriptions, testable categorized acceptance criteria, governing references, and risk-matched guards
Explore a governance design, resolve ambiguity, and draft RFC or ADR artifacts without implementation
Execute governed implementation with work-item traceability, RFC/ADR authority, risk-scoped verification, and closure
基于 SOC 职业分类
正在显示 SKILL.md
| name | guard-writer |
| description | Define reusable, non-interactive verification guards with stable commands and risk-matched scope |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep, TodoWrite |
| argument-hint | [optional guard topic] |
Define reusable executable completion checks under [[RFC-0000:C-GUARD-DEF]]. This helper owns guard quality; the invoking workflow decides when a guard applies to a Work Item.
Inspect existing guards and effective project policy before adding another:
govctl guard list
govctl guard show <GUARD-ID>
govctl work show <WI-ID>
Use govctl guard --help and subcommand help for current creation, editing, and
deletion syntax. Inspect gov/config.toml for project defaults.
A guard has metadata (id, title, optional artifact refs) and an executable
check (command, optional timeout_secs, optional output pattern). Let
govctl guard own serialization and field validation.
Choose a command that:
Keep commands simple and portable within the repository's supported environment. Reference the RFC or ADR whose requirement or decision the guard helps verify.
When a reusable scenario has a Conformance Case, add the Guard to that Case's
guards field. Do not add CONF-* IDs to Guard refs; Cases own the derived
Case-to-Guard edge.
Project verification.default_guards are the intersection of checks required
by every Work Item. A default should be fast, stable, environment-independent,
and relevant even to documentation-only work.
Use Work Item verification.required_guards for reusable checks selected from
that item's changed surface, governing references, and acceptance criteria.
Full suites belong on cross-cutting items, release checks, or changes whose
blast radius cannot be covered by narrower guards.
Waivers need a specific reason and apply to the effective default plus Work-Item guard set. Repeated waivers are evidence that the guard's scope should be corrected.
A guard is ready when:
Run govctl check after creating or editing a guard. This validates schema,
identity, references, and pattern syntax. Exercise the command itself when the
guard is new or materially changed, then hand VCS work to the commit skill.