/govctl:migrate [optional scope hint, e.g. "focus on database decisions"]from govctl
Adopts govctl in an existing project by discovering historical decisions, specifications, and active work before backfilling a governed baseline.
Ships in govctl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Adopt govctl incrementally in an existing codebase per [[ADR-0032]], recovering
governance from real evidence without inventing history or changing behavior.
This differs from the govctl migrate command, which upgrades outdated
artifact formats in an already governed project.
If gov/config.toml is missing, use init when the request authorizes
scaffolding; otherwise ask first. If it exists, find what earlier runs already
migrated with govctl status, govctl search <topic>, and the rfc, adr,
and work list commands. Use govctl <resource> --help for current syntax.
Read the smallest useful evidence: docs and changelogs, manifests, schemas, API contracts, deployment config, code comments that expose durable constraints, VCS history that shows why a choice was made, and issue trackers only for active work. Extend an existing artifact that already owns a subject instead of duplicating it.
govctl clause
for Clauses.| Candidate | Backfill when | Never as |
|---|---|---|
| ADR | Evidence shows a consequential choice and why it was made | A retroactive source of obligation |
| RFC | An existing specification or stable contract is identifiable | A dump of current behavior |
| Work Item | The user confirms unfinished active or queued work | A list of every TODO or cleanup |
| Source reference | A stable, high-signal code site relates to a recovered item | Blanket or generated-file markup |
Prefer decisions that are hard to reverse, cross-cutting, or repeatedly questioned; skip tool-enforced style, incidental dependencies, and behavior inferred only from code.
For each candidate record the evidence location, what it supports, what is
inferred, whether rationale and alternatives are recoverable, and the proposed
type and priority. Say plainly when evidence is missing: a historical ADR may
omit unrecoverable alternatives but never invents one, and RFC Clauses still
pass the rfc-writer contract test. Present this as a compact report and let
the user select, defer, or reject each group before any change.
Work in small batches so partial migration stays useful:
adr-writer, rfc-writer, or wi-writer.adr-reviewer or rfc-reviewer.govctl check and render affected projections.commit.discuss.impl, complete implementation for
test, and complete implementation and tests for stable. Otherwise stop at
the last defensible phase.[[...]] links, and never claim more conformance than the
evidence supports.On resume, rediscover existing artifacts and references, match candidates by subject and evidence rather than title, skip completed work, keep user changes instead of overwriting them, and report the prior partial state.
When a check, render, or review fails, keep the batch unpublished, fix the content, and rerun the failing check. Never advance lifecycle state to make validation pass; escalate when no authoritative recovery path exists.
govctl check passes and projections are current; andNormal workflows (discuss, spec, gov, quick) can start after the first
coherent baseline; exhaustive backfill is not required.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub govctl-org/govctl --plugin govctl13 skills in this plugin
/adr-writerWrite decision records that explain context, evaluated alternatives, chosen direction, and consequences without creating product obligations/commitRecord a focused VCS commit with govctl validation and Work Item traceability/decision-analysisStress-test consequential design options with premortem and backcast reasoning, then return a risk-calibrated recommendation to the owning governance workflow/detachRemove project-local govctl integration through an ownership-aware dry run, archival plan, explicit confirmation, and recoverable edits/discussExplore a governance design, resolve ambiguity, and draft RFC or ADR artifacts without implementation/govExecute governed implementation with work-item traceability, RFC/ADR authority, risk-scoped verification, and closureOther plugins' skills for the same job