agentleFS
ZeeshanSultanZeeshanSultan/DocGov/skills/setup/SKILL.md

setup

Skill0 starsChanged 2 months agoMITView on GitHub

Establish DocGov documentation governance in this repository — infer the project mode and layout, create the taxonomy namespaces, install agent documentation rules, and build the initial registry and graph. Use when a repository has no .docgov/config.yaml yet.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-voice-transcription, add-discord and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • juancruzmunozalbeloSkill

    add-voice-transcription

    Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.

    Also in 5 projects that use this

  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • juancruzmunozalbeloSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 7 projects that use this

  • +8 more from microsoft

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the repository is small, say so and recommend compact + solo.

    line 28
  2. Very specific:

    Set up domains if the codebase has obvious ones: Look at the top-level source layout.

    line 31
  3. Very specific:

    Then run /docgov:review: if documentation already exists, or /docgov:create for the first document if not.

    line 46
  4. Very specific:

    Do not create documents during init.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Establish governance

Current repository

!docgov tools --json 2>/dev/null || echo '{}'

What to do

  1. Run docgov setup $ARGUMENTS. It infers mode from the repository (a LICENSE plus CONTRIBUTING means open-source; CODEOWNERS means team) and layout from document count. Report what it inferred and why, in one line each.
  2. Confirm the inferences with the user before anything else. These two choices shape everything afterwards and are annoying to change later:

    • mode decides how much blocks. solo blocks three rules; enterprise blocks twelve.
    • layout decides where documents live. compact is right for most repositories; full (the numbered 00-canonical … 99-archive tree) earns its overhead at roughly 25+ documents or when several teams own different parts of the tree.

    If the repository is small, say so and recommend compact + solo. Documentation architecture astronautics is a real failure mode and this is where it starts.

  3. Set up domains if the codebase has obvious ones. Look at the top-level source layout. If there are clear bounded areas (src/auth/, src/billing/, src/licensing/), add them to .docgov/config.yaml:

    domains:
      licensing:
        paths: ["src/licensing/**", "migrations/*licen*"]
        owner: platform

    Domains are what make docgov brief <domain> and invariant injection work. Without them most of DocGov's value stays switched off. This is the highest-leverage thing to get right during setup.

  4. Then run /docgov:review if documentation already exists, or /docgov:create for the first document if not.

Do not

Do not create documents during init. Do not populate empty namespaces with placeholder files — an empty namespace is a namespace, a file full of TODO is debt.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.