Init

From govctl-org/govctl · View interactive version

Init is an AI agent skill from the GitHub repository govctl-org/govctl. Set up govctl in the current project with explicit installation and overwrite authorization

How to use this skill

Skill file

Initialize Govctl

Create a valid governance scaffold and point the user to the right workflow for

their next task. Setup creates no product behavior or governance history.

Discovery

Check for gov/config.toml, a usable govctl, and existing local agent assets.

Use govctl init --help, govctl agent --help, and

govctl init-skills --help for current options and overwrite behavior. agent doctor|install|update manage user-scoped runtime

integration; init-skills writes project-local or custom-directory copies.

Hard Stops

running agent install or agent update.

for symlinks, and check whether it stays inside the project root. Confirm any

replacement of existing skills or agents.

ancestor, show it and get separate approval.

Setup

If govctl is missing, ask before installing it; if Rust tooling is also

missing, stop and name the dependency.

Run govctl init only when gov/config.toml is absent; otherwise inspect

govctl status. Outdated schemas go to govctl migrate; invalid artifacts go

to their owning workflows.

For runtime integration, run agent doctor first, report failures instead of

substituting manual commands, and tell the user to start a new session after

success. The installed hook is silent outside governed projects, and its

direct-edit guidance is advisory: use the CLI when it supports a change,

otherwise edit directly and run govctl check.

Local skills and agents are optional; install them only on request, default to

a non-symlinked destination inside the project, and keep existing assets

unless replacement was approved.

Done When

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.