godmode:doc-sync
Skill1 starsChanged 57 days agoMITView on GitHub
Detect drift between documentation and code. Use when docs may have fallen behind the implementation — stale CLI flags, removed modules, renamed types, outdated paths. Triggers on "sync docs", "docs are stale", "update docs", "check docs vs code".
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-ledger-applySkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
After a refactor, rename, or module restructure
- Distinctive: line 19
Before a release to catch stale references
- Distinctive: line 20
When a user reports incorrect documentation
- Very specific: line 32
Check: every documented subcommand/flag exists in --help.
- Distinctive: line 87
Do not apply fixes yourself — this skill is read-only
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Doc Sync
Find where documentation no longer matches the code. Code is always the source of truth. This skill is read-only — it detects and reports drift; it does not fix.
When to Use
- After a refactor, rename, or module restructure
- Before a release to catch stale references
- When a user reports incorrect documentation
- As part of the
gm:auditworkflow
Drift Detection Checklist
CLI surface
<binary> --help → compare against documented subcommands
<binary> <cmd> --help → compare against documented flags per commandCheck: every documented subcommand/flag exists in --help; every flag in --help
is documented (or explicitly marked internal).
Crate / module surface
ls crates/ → compare against documented crate list
grep -r '^pub mod' src/lib.rs → compare against module table in CLAUDE.md/README
grep -r '^pub (fn|struct|enum|trait)' src/ → compare against API referenceSkills and agents
ls skills/*/SKILL.md → compare against skill tables in README/CLAUDE.md
ls agents/*.md → compare against agents/INDEX.md and README agents tableFile paths
Extract every literal path from all docs (README.md, CLAUDE.md, docs/**/*.md).
For each path: check it exists. Flag missing paths as Blocking.
Cross-doc consistency
- Same feature described in multiple docs → descriptions must agree
- Skill
name:in frontmatter must match its entry in any skill index - Agent
name:must match its entry inagents/INDEX.md
Output Format
Group findings by severity:
Blocking — would cause a user to fail following the docs:
- References to removed CLI flags or subcommands
- Paths that no longer exist
- Instructions that would produce errors
Suggestion — docs are incomplete or misleading:
- Undocumented features that exist in code
- Descriptions that don't match current behaviour
- Missing table rows for new crates/skills/agents
Nitpick — minor drift:
- Wording differences between docs that describe the same thing
- Outdated version numbers or dates
After Reporting
- For each Blocking finding: suggest the minimal edit needed
- Hand off to
godmode:doc-writerfor missing docs - Hand off to
godmode:doc-reviewafter fixes are applied - Do not apply fixes yourself — this skill is read-only
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
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.

