agentleFS
89jobrien89jobrien/godmode/skills/doc-maintainer/SKILL.md

godmode:doc-maintainer

Skill1 starsChanged 56 days agoMITView on GitHub

Audit and maintain project documentation. Compares CLAUDE.md, README.md, agents/INDEX.md, and skill descriptions against actual source code. Detects stale references, undocumented features, and cross-doc inconsistencies. Use when asked to "check docs", "audit documentation", or "sync docs".

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep documentation in sync with code.

    line 14
  2. Distinctive:

    After adding or removing CLI subcommands

    line 18
  3. Distinctive:

    After adding or removing core modules

    line 19
  4. Distinctive:

    After adding or removing skills or agents

    line 20
  5. Distinctive:

    When docs feel stale or a user reports incorrect instructions

    line 22
  6. Very specific:

    Check godmode <cmd> --help flags against documented flag lists

    line 46
  7. Very specific:

    Check for new pub fn or pub struct exports not mentioned in architecture docs

    line 47
  8. Distinctive:

    When asked to fix (not just audit):

    line 72
  9. Distinctive:

    Use Edit for targeted changes — do not rewrite whole files

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Doc Maintainer

Keep documentation in sync with code. The code is always the source of truth.

When to Use

  • After adding or removing CLI subcommands
  • After adding or removing core modules
  • After adding or removing skills or agents
  • Before a release
  • When docs feel stale or a user reports incorrect instructions

Three-Check Audit

1. Stale references

Docs mention something that no longer exists in the codebase.

How to detect:

  • Extract every CLI subcommand from godmode --help; compare against the subcommand table in CLAUDE.md
  • Extract every pub mod from crates/godmode-core/src/lib.rs; compare against the module table in CLAUDE.md
  • List agents/*.yaml; compare against agents/INDEX.md
  • List skills/*/SKILL.md; compare against any skill inventories

2. Undocumented features

Code has something that docs don't mention.

How to detect:

  • Same comparisons as above, reversed — look for items in code not in docs
  • Check godmode <cmd> --help flags against documented flag lists
  • Check for new pub fn or pub struct exports not mentioned in architecture docs

3. Cross-doc inconsistencies

Two documents describe the same thing differently.

How to detect:

  • Compare feature descriptions between CLAUDE.md and README.md
  • Compare skill SKILL.md descriptions against their agent YAML descriptions
  • Compare module table entries against actual //! doc comments

Output Format

Prioritized finding list:

  • Blocking: broken paths, references to removed features, incorrect instructions that would cause errors
  • Suggestion: undocumented features, missing table rows, incomplete descriptions
  • Nitpick: wording differences, minor inconsistencies, style issues

Fix Mode

When asked to fix (not just audit):

  1. Fix blocking issues first
  2. Use Edit for targeted changes — do not rewrite whole files
  3. For agents/INDEX.md, prefer regenerating via godmode agent index; hand-edit only if the CLI output needs a targeted correction
  4. Re-audit after fixing to confirm zero blocking findings
  5. Make minimum edits — do not restructure or restyle documents

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.