Agent skill

init

Set up govctl in the current project. Installs the binary if missing, initializes governance structure.

Stars 102
Forks 7

Install this agent skill to your Project

npx add-skill https://github.com/govctl-org/govctl/tree/main/.claude/skills/init

SKILL.md

/init - Set Up Govctl

Set up govctl in the current project.

Outputs: Initialized governance structure, verified local setup, and a recommended next workflow.

Critical Rules

  1. This is a setup workflow, not an implementation workflow. Do not create work items or change product code here.
  2. Ask permission before installing govctl with cargo install govctl.
  3. Prefer local govctl if it is already available. When working in the govctl repo itself, prefer cargo run --quiet -- before installing a global binary.
  4. Never edit governed files directly. Use govctl init.
  5. If setup succeeds and the user wants it recorded, hand off to /commit rather than embedding raw VCS commands here.

Steps

1. Check for govctl binary

bash
govctl --version

If you are working in the govctl repository itself, prefer:

bash
cargo run --quiet -- --version

If that works, use cargo run --quiet -- <subcommand> for the rest of this workflow instead of installing a global binary.

If no usable local invocation exists, ask permission, then install it:

bash
cargo install govctl

If cargo is also missing, tell the user to install Rust first: https://rustup.rs

2. Initialize the project

If gov/config.toml does not exist:

bash
govctl init

If it already exists, skip — the project is already initialized.

3. Verify

bash
govctl status

Show the user what was created and confirm everything is working.

Next Steps

  • Use /discuss for design work
  • Use /spec for governance-only artifact maintenance
  • Use /gov for implementation-bearing work
  • Use /quick for trivial non-behavioral cleanup

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results