Write effective Architecture Decision Records. Use when: (1) Creating a new ADR, (2) Recording a design decision, (3) User mentions ADR, decision, trade-off, or alternatives
日本語の概要は準備中です。原文の説明を表示しています。
Write well-structured Verification Guards. Use when: (1) Creating a new guard, (2) Editing guard check commands or patterns, (3) User mentions guard, verification, or check
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Write Verification Guards — reusable executable completion checks per [[RFC-0000:C-GUARD-DEF]].
This helper skill may be used standalone or by /gov or /spec.
It is responsible for guard definition and validation, not for deciding which workflow should execute the guard in day-to-day implementation.
govctl guard new "<title>"
govctl guard list
govctl guard show GUARD-ID
govctl guard set GUARD-ID command "new command"
govctl guard set GUARD-ID timeout_secs 600
govctl guard set GUARD-ID pattern "regex pattern"
govctl guard add GUARD-ID refs RFC-NNNN
govctl guard delete GUARD-ID
Every guard is a TOML file under gov/guard/ with two sections:
[govctl] — Metadata| Field | Required | Description |
|---|---|---|
id | yes | Unique ID, format GUARD-UPPER-CASE |
title | yes | Human-readable description |
refs | no | Array of artifact references |
[check] — Execution| Field | Required | Description |
|---|---|---|
command | yes | Shell command, runs from project root |
timeout_secs | no | Max seconds before failure (default: 300) |
pattern | no | Regex matched case-insensitively against output |
#:schema ../schema/guard.schema.json
[govctl]
id = "GUARD-CARGO-TEST"
title = "cargo test passes"
refs = ["RFC-0000", "RFC-0001"]
[check]
command = "cargo test"
timeout_secs = 300
#:schema ../schema/guard.schema.json
[govctl]
id = "GUARD-NO-FIXME"
title = "No FIXME comments in source"
[check]
command = "! grep -r FIXME src/"
pattern = "^$"
#:schema ../schema/guard.schema.json
[govctl]
id = "GUARD-CLIPPY"
title = "clippy passes with no warnings"
refs = ["RFC-0000"]
[check]
command = "cargo clippy --all-targets -- -D warnings"
timeout_secs = 300
GUARD- prefix followed by uppercase alphanumeric with hyphensbash -c '...' for pipelinespattern sparingly: Only when exit code alone is insufficientrefs: Link guards to the RFCs/ADRs they verifyGuards can be required by work items and by project-level config:
# In gov/config.toml — applies to all work items
[verification]
enabled = true
default_guards = ["GUARD-GOVCTL-CHECK", "GUARD-CARGO-TEST"]
# In a work item — additional guards for that item
[verification]
required_guards = ["GUARD-CLIPPY"]
Work items can waive guards with a reason:
[[verification.waivers]]
guard = "GUARD-CARGO-TEST"
reason = "Documentation-only change, no code modified"
After creating or editing a guard, validate:
govctl check
This verifies:
If the guard should be committed, hand off to /commit.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Write effective Architecture Decision Records. Use when: (1) Creating a new ADR, (2) Recording a design decision, (3) User mentions ADR, decision, trade-off, or alternatives
日本語の概要は準備中です。原文の説明を表示しています。
Commit changes with govctl integration — check work item status, update journal or notes, and run govctl check
日本語の概要は準備中です。原文の説明を表示しています。
Stress-test a design decision with premortem/backcast analysis, then produce a risk-calibrated recommendation that maps to ADR fields. Use when: (1) Multiple competing architecture options, (2) Irreversible or high-risk design choices, (3) /discuss identifies a complex trade-off
日本語の概要は準備中です。原文の説明を表示しています。
Facilitate design discussion — research context, clarify requirements, draft RFC/ADR
日本語の概要は準備中です。原文の説明を表示しています。
Execute governed implementation workflow with work items, RFC/ADR checks, phase gates, testing, and closure. Use when: (1) User invokes /gov, (2) A non-trivial change needs work item tracking, (3) Implementation may require RFC/ADR handling
日本語の概要は準備中です。原文の説明を表示しています。
Adopt govctl in an existing project. Discovers undocumented decisions, backfills ADRs/RFCs, annotates source code. Use when: (1) Project has no governance yet, (2) User mentions migrate, adopt, onboard, or brownfield
日本語の概要は準備中です。原文の説明を表示しています。