From govctl
Executes governed implementation workflow using govctl CLI: creates/manages work items, RFC/ADR checks, phase gates, testing, and closure. For non-trivial changes needing tracking.
How this skill is triggered — by the user, by Claude, or both
Slash command
/govctl:govThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute a complete, auditable workflow for: `$ARGUMENTS`
Execute a complete, auditable workflow for: $ARGUMENTS
Outputs: Implemented change, updated governance artifacts where needed, validated tests/checks, and a completed work item.
Use govctl for governance operations.
When working on the govctl repo itself, use cargo run --quiet -- instead. Commands below use govctl for brevity.
Use non-interactive CLI commands only. Prefer --stdin for multi-line content.
After each governance write or substantive code change, run the relevant validation (govctl check, tests, render when needed).
govctl status
govctl work list pending
govctl work show <WI-ID>
govctl work new --active "<title>"
govctl work move <WI-ID> <status>
govctl work set <WI-ID> description "Scope and why"
govctl work add <WI-ID> acceptance_criteria "add: Implement feature X"
govctl work add <WI-ID> journal "Ran tests; fixed parser bug" --scope parser
govctl work add <WI-ID> notes "Do not retry old fixture path; it fails because snapshots are stale"
govctl work add <WI-ID> refs RFC-0001
govctl rfc list
govctl adr list
govctl rfc new "<title>"
govctl adr new "<title>"
govctl rfc finalize <RFC-ID> normative
govctl rfc advance <RFC-ID> <impl|test|stable>
govctl check
govctl render
govctl for governance operations. Never edit governed files directly.spec -> impl -> test -> stable.govctl rfc finalize ... or govctl rfc advance ... unless $ARGUMENTS explicitly grant full authority.govctl check --has-active is the gate.[[artifact-id]].description: task scope and why; set once, rarely changejournal: execution log; append actions and outcomesnotes: durable learnings; record constraints, decisions, retry rules, and failure causes/spec when no implementation work is required.description, journal, or notes.The active work item is persistent working memory. Read it with govctl work show <WI-ID>; do not rely on raw TOML.
description tells you the scope.journal tells you what was tried and what happened.notes tells you what to remember before the next attempt.acceptance_criteria tells you what must be true before closure.journal entry after meaningful progress, verification, or failure.notes entry when you learn something future steps must obey.journal: what you ran and what failednotes: why it failed, what not to retry, or what to try insteadgovctl status
gov/config.toml.govctl work list pending
govctl work move <WI-ID> activegovctl work new --active "<concise-title>"Then immediately:
govctl work show <WI-ID>
govctl work set <WI-ID> description "Brief scope: what and why"
govctl work add <WI-ID> acceptance_criteria "chore: govctl check passes"
Add task-specific acceptance criteria and refs as needed:
govctl work add <WI-ID> acceptance_criteria "add: Implement feature X"
govctl work add <WI-ID> refs RFC-0001
Follow the wi-writer skill for acceptance criteria quality.
Skip this step for doc-only changes.
govctl rfc list
govctl adr list
Choose the smallest thing that matches reality:
/specIf you create artifacts:
rfc-writer or adr-writerBefore writing code:
govctl check --has-active
For RFC-governed work, verify the RFC state:
draft/spec: ask permission, then finalize and advance to implnormative/spec: ask permission, then advance to implnormative/impl+: proceeddeprecated: stopIf implementation reveals a spec bug, do not silently deviate. Amend the RFC per [[ADR-0016]] or stop and ask.
Implementation rules:
govctl work add <WI-ID> journal "Implemented X; govctl check passes" --scope <scope>
govctl work add <WI-ID> notes "Do not retry Y; it fails because Z"
If an RFC exists, ask permission before govctl rfc advance <RFC-ID> test unless full authority was granted.
Run the relevant verification for the change:
govctl checkIf a check fails:
journalnotesDo not continue until green.
If the change implements, removes, or materially alters RFC-governed behavior, invoke the compliance-checker agent before moving to stable.
Treat Critical compliance findings as a release gate; fix them before continuing.
Run final validation:
govctl check
govctl render
If an RFC exists and all required testing is done, ask permission before govctl rfc advance <RFC-ID> stable unless full authority was granted.
Before advancing to stable for RFC-governed behavior:
Before closing the work item:
wi-reviewerdoneExample:
govctl work show <WI-ID>
govctl work tick <WI-ID> acceptance_criteria "<pattern>" -s done
govctl work move <WI-ID> done
| Problem | Recovery |
|---|---|
govctl check fails | Read diagnostics, fix, rerun |
| Tests fail | Debug, fix, rerun |
work move ... done rejected | Add or tick acceptance criteria first |
| Same failure repeats | Read notes, then journal; record a new plan or stop and ask |
chore(work): activate or complete a work itemdocs(rfc) / docs(adr): draft governance artifactsfeat(scope) / fix(scope) / refactor(scope) / docs(scope) / test(scope): implementation commitsUse the commit skill for all raw VCS operations.
govctl work show <WI-ID> read before implementationdescription, journal, and notes used correctlyBEGIN EXECUTION NOW.
npx claudepluginhub govctl-org/govctl --plugin govctlDefines full-gates workflows (Feature, Bug Fix, API Change, Refactor, etc.) with structured agent orchestration, mandatory gates (@api-guardian for API paths), and parallel quality checks.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.