Skip to content
Skill

Docs governance

Routes broad docs-governance requests to the right skill and audits doc links and ADRs

Docs governance is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Docs governance

Docs Governance is a router for documentation work that spans several roles. When a request is broad, it picks the smallest matching capability from a routing table, such as a living-docs skill for long-lived project docs or an ADR skill for recording architecture decisions, rather than handling everything itself. It is meant to sit alongside those specialized skills and does not manage tasks, completion, or releases.

The skill points the agent to an artifact-role contract that maps logical documentation roles to files, so existing sources of truth get reused instead of duplicated. When a deterministic check is requested, the agent runs a bundled Python audit script with a chosen scope: spine, context, ADR, artifacts, modules, or full. The audit checks mapped roles, local Markdown links, ADR indexes, TEST-IDs and possible orphan docs, and can review selected module directories for local AGENTS.md and CONTEXT.md files.

The audit is read-only: it reads repository files and Git history but does not create, rewrite, archive, or commit anything. Its exit codes distinguish passing checks, mechanical integrity failures, and invalid input, while warnings are treated as prompts for human review. The skill expects a Python 3 environment and a repository to audit.

When your agent uses it

Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references. Use when a user asks for documentation governance, project-knowledge organization, documentation integrity, or a deterministic docs audit without naming a narrower skill.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (48 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/docs-governance:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docs-governance &&
cp -R "$tmp/.agents/skills/docs-governance" ~/.claude/skills/docs-governance &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/docs-governance inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/docs-governance to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docs-governance &&
cp -R "$tmp/.agents/skills/docs-governance" ~/.agents/skills/docs-governance &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/docs-governance inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/docs-governance to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docs-governance &&
cp -R "$tmp/.agents/skills/docs-governance" ~/.cursor/skills/docs-governance &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/docs-governance inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/docs-governance

Or copy the folder to ~/.gemini/skills/docs-governance yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docs-governance:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docs-governance &&
cp -R "$tmp/.agents/skills/docs-governance" ~/.copilot/skills/docs-governance &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/docs-governance inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/docs-governance into your agent's skills folder as docs-governance. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Routing table for doc tasks
Maps documentation intents to the specialized skill that owns each workflow.
Read-only documentation audit
Runs a Python script that checks roles, links, ADR indexes and test IDs without changing files.
Selectable audit scopes
Lets the agent run the spine, context, ADR, artifacts, modules or full checks.
Module boundary review
Checks selected module directories for local AGENTS.md and CONTEXT.md files and shared candidates.
Artifact-role contract
Resolves logical documentation roles to repository files before filenames are used as fallbacks.
Ownership boundaries
Keeps task status and merge decisions in the issue tracker and with maintainers.

Good for

  • Check whether a repository's documentation links and ADR index are intact
  • Organize long-lived project documentation into a consistent structure
  • Record why a particular architecture decision was made
  • Audit module directories for local agent instruction and context files
  • Run a deterministic docs integrity check before a release

Docs governance FAQ

What does the audit script need to run?

It is invoked with python3 and takes a --root repository path and a --scope option, optionally with --module for the modules scope.

Does the audit change any files?

No. It reads repository files and Git history and does not create, rewrite, archive, stage or commit anything.

When does Docs governance trigger?

When a user asks for documentation governance, project-knowledge organization, documentation integrity or a deterministic docs audit without naming a narrower skill.

Does a passing audit mean the documentation is accurate?

No. The skill states that passing links is not a semantic review, and business meaning and accuracy remain human decisions.

How do I install Docs governance in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/docs-governance to use it in all your projects, or to .claude/skills/docs-governance in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Docs governance run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Docs governance?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Docs governance?

The closest alternatives to Docs governance are Repository governance lifecycle, Docs sync audit, Docsync, Domain modeling and Docs adr.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments