sync-docs
Skill0 starsChanged 56 days agoMITView on GitHub
Finds and fixes drift between the claude-essentials code and its documentation - pins, gate lists, script names, rule paths, links, guides, rules, ADRs, the sourcing log and CLAUDE.md Current state. Use after changing scripts, gates, tooling, workflows or rules, before a commit that touches them, or when asked to sync, update or audit the docs.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- richkuo/rk-skillstheir own version, first seen Oct 4, 2026
- RichardBray/skillstheir own version, first seen Sep 29, 2026
- enerage/vibespacetheir own version, first seen Sep 28, 2026
- whchoi98/claude-code-dashboardtheir own version, first seen Sep 26, 2026
- joshzyj/open-scholar-skilltheir own version, first seen Aug 29, 2026
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- joshzyj/open-scholar-skill★ 166same name
- Kangentic/kangentic★ 124same name
- guess/claude_code★ 97same name
- richkuo/rk-skills★ 49same name
- jiahao-shao1/sjh-skills★ 38same name
- phj128/autoworker★ 19same name
- whchoi98/claude-code-dashboard★ 16same name
- RichardBray/skills★ 4same name
- Eipi-Tong/agentic-coding-starter-kit★ 3same name
- neuradex/sna★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-componentSkill
- cc-currencySkill
- new-pluginSkill
- plugin-versioningSkill
- release-pluginSkill
- review-prSkill
- run-marketplaceSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 18
Mechanical: Run scripts/check_docs.py.
- Very specific: line 37
Read documents with the Read tool: path-scoped rules in .claude/rules/ load only on Read, Write and Edit, not on cat.
- Very specific: line 38
Never edit between BEGIN GENERATED and END GENERATED.
“Common” is measured: kept by at least 6 in 10 of the 12 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.
Files
Sync the documentation
The code is the source of truth; documents follow it. Mechanical drift is caught by the docs gate; meaning drift needs reading.
- [ ] 1 Mechanical scripts/check_docs.py; fix at the source of truth
- [ ] 2 Changed for each changed file, update the docs that describe it
- [ ] 3 Records sourcing log, ADR, rule dates, Current state
- [ ] 4 Deep audit /drift-audit when many docs changed or before a release
- [ ] 5 Verify scripts/check.py- Mechanical. Run
scripts/check_docs.py. Each line names a file and the value it must have. Fix the copy, not the constant, unless the constant is what changed; when a pinned sentence was reworded on purpose, updatePIN_SITESinscripts/check_docs.pyand its test. Changed files. List them with
git diff --name-only main...HEADplusgit status --short. For each, update what describes it:Changed Update scripts/*.py, a gatedocs/testing.md,.claude/rules/testing/gates.md(.claude/rules/testing/drive-plugin.mdfordrive_plugin.py), CLAUDE.md Commands, the script's docstringRelease flow docs/releasing.md,.claude/skills/plugin-versioning,.claude/skills/release-plugin,.claude/rules/releasing.mdHooks, settings, skills, agents, workflows .claude/rules/automation.md, CLAUDE.md Where Knowledge LivesRepository settings, rulesets, Actions allowlist .claude/rules/ci-github.mdA tool or template added docs/sourcing-log.md,THIRD_PARTY_NOTICES.mdA decision a new dated ADR from templates/adr/; mark the old onesupersededA Claude Code fact the rule in .claude/rules/, with date and version- Records. Rewrite CLAUDE.md "Current state" to the repository's real state (what passes, what is open, what awaits the maintainer). Run
scripts/validate_adrs.pyafter an ADR change. - Deep audit. For drift a pattern cannot catch (a guide that describes a flow the code no longer has), ask the maintainer to start the
/drift-auditworkflow (workflows run many agents and start only on request) and fix what it confirms. - Verify.
scripts/check.pymust pass; report the raw summary line.
Gotchas
- Read documents with the Read tool: path-scoped rules in
.claude/rules/load only on Read, Write and Edit, not oncat. - Never edit between
BEGIN GENERATEDandEND GENERATED; runscripts/sync_readmes.py. - CLAUDE.md stays under 200 lines; procedures belong in skills, area facts in path-scoped rules.
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.

