docs-sync
Skill20 starsChanged 7 months agoMITView on GitHub
Diff src/ and .github/ against docs/ to detect drift between code and design spec. Use when auditing the docs folder, after merging structural changes (adding paths/modules/diagrams/syntax/agents/skills/hooks), or before a release. Use for questions like "is docs in sync?", "what changed since the last docs update?", "find docs drift". Produces a structured report with proposed edits — does not modify docs/ directly.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- bacsystem/skillstheir own version, first seen Nov 29, 2026
- Manshooo/astral-genesistheir own version, first seen Nov 29, 2026
- jackneil/claude-jackedtheir own version, first seen Nov 29, 2026
- kekzl/imptheir own version, first seen Nov 29, 2026
- vignesh-nagarajan-vn/claude-workflow-skillstheir own version, first seen Nov 29, 2026
- sunholo-data/ailangtheir own version, first seen Nov 27, 2026
Used with
Projects with it also use git-workflow, tdd and 3 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.
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 5 projects that use this
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 6 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- openai/openai-agents-python★ 31ksame name
- redis/node-redis★ 18ksame name
- redis/ioredis★ 15ksame name
- fossasia/visdom★ 10ksame name
- Kiln-AI/Kiln★ 5.3ksame name
- microsoft/apm★ 4.5ksame name
- danielmeppiel/apm★ 4.4ksame name
- openai/openai-agents-js★ 4ksame name
- pnp/powershell★ 915same name
- strands-agents/box★ 650same name
38 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- content-track-scaffolderSkill
- diagram-scaffolderSkill
- exercise-scaffolderSkill
- track-generatorSkill
- tutorial-content-qaSkill
- version-checkerSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
All relative links in every docs/*.md file.
- Very specific: line 64
Use the template at templates/report.md (see below).
- Very specific: line 96
Do not write to docs/. Output only.
- Distinctive: line 97
Do not change content lifecycle statuses or example tracks.
- Very specific: line 98
Do not run npm run build — that is the @reviewer's job.
- Very specific: line 100
Treat .github/CONTENT_LIFECYCLE.md as the source of truth when it conflicts with docs/lifecycle.md.
“Common” is measured: kept by at least 6 in 10 of the 39 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
Docs Sync (skill)
This skill is the diffing playbook the
@docs-auditor agent runs. You can also
invoke it directly with /docs-sync.
It produces a drift report. It does not write to docs/. Apply changes by
delegating to @author.
Inputs
$ARGUMENTS(optional) — restrict the audit to one of:paths|tracks|components|syntax|harness|routes|lifecycle|links|all. Default:all.
Procedure
Step 1 — Snapshot the code
Collect, in this order:
src/data/paths.tsexports.- All
path.jsonfiles undersrc/content/community/*/. - Frontmatter (
id,number,title,subtitle) of every markdown file undersrc/content/{tutorial,advanced,terminal}/. - The list of files under
src/components/diagrams/(excludingindex.ts). - The list of files under
.github/{instructions,prompts,skills,agents,hooks}/. - The route table from
src/App.tsx.
Step 2 — Snapshot the docs
Collect:
- The track tables in
docs/tracks/{foundation,agentic,terminal}.mdand the contribution-shape table indocs/community-contributions.md. - The component/diagram references in
docs/components.md. - The custom-syntax table in
docs/content-architecture.md(§5) and the route table (§2). - The harness inventory tables in
docs/harness.md. - The status table in
docs/lifecycle.md. - All relative links in every
docs/*.mdfile.
Step 3 — Diff
Compare each pair from Steps 1 and 2:
- Code item missing from docs →
add to docs. - Doc item missing from code →
remove from docs(only if file is gone) orflag for human review(if file might be renamed). - Mismatched fields (title, subtitle, status, applyTo, …) →
update doc. - Broken relative link →
fix link.
Step 4 — Group findings
Group by target file in docs/. Each group becomes one section in the
report.
Step 5 — Emit report
Use the template at templates/report.md (see below).
Report template
# Docs Sync — <ISO date>
Scope: `$ARGUMENTS`
Workspace: <git short SHA>
## Summary
- Files needing updates: N
- New items to document: N
- Items to remove: N
- Broken links: N
## docs/tracks/foundation.md
- ⚠️ Subtitle drift on Part 4: docs say "Different rules per folder", code says "Different rules for different folders".
- Proposed: update row.
## docs/components.md
- ❌ Diagram `NewFlowDiagram.tsx` exists in `src/components/diagrams/` but is not referenced.
- Proposed: add row to "Diagrams" section.
…
## Suggested next step
Run `@author` and paste this report.Boundaries
- Do not write to
docs/. Output only. - Do not change content lifecycle statuses or example tracks.
- Do not run
npm run build— that is the@reviewer's job. You may run it read-only if a link looks ambiguous. - Treat
.github/CONTENT_LIFECYCLE.mdas the source of truth when it conflicts withdocs/lifecycle.md.
Related
- Agent:
docs-auditor. - Spec:
docs/harness.md.
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.

