sync-docs
Skill1 starsChanged 4 months agoMITView on GitHub
Use on-demand to reconcile documentation with the current state of the codebase. Handles two cases — catching drift from past work and consolidating doc updates after iterating on a feature multiple times. Never runs automatically.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- nrjdalal/zerostartertheir own version, first seen Nov 30, 2026
- Kangentic/kangentictheir own version, first seen Nov 24, 2026
- richkuo/rk-skillstheir own version, first seen Nov 21, 2026
- MichaelRyanWood/claude-skillstheir own version, first seen Nov 16, 2026
- TanKaizokuO/claude-skillstheir own version, first seen Oct 20, 2026
- blakebauman/memoturn-dbtheir own version, first seen Oct 13, 2026
Used with
Projects with it also use prepare-release, review-pr 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.
ShopifySkillprepare-release
Prepare the changeset-release/main branch for release by syncing version.ts files and running pnpm install
Also in 4 projects that use this
DockerSkillreview-pr
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.
Also in 3 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
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 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- kube-hetzner/terraform-hcloud-kube-hetzner★ 3.9ksame name
- mysticaltech/terraform-hcloud-kube-hetzner★ 3.9ksame name
- onevcat/Prowl★ 682same name
- ayutaz/piper-plus★ 240same name
- joshzyj/open-scholar-skill★ 177same name
- Kangentic/kangentic★ 154same name
- guess/claude_code★ 96same name
- nrjdalal/zerostarter★ 65same name
- richkuo/rk-skills★ 50same name
- jiahao-shao1/sjh-skills★ 48same name
15 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- analyze-issueSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- apple-designSkill
- ask-emilSkill
- brainstormSkill
- break-uiSkill
- choreographSkill
- code-reviewSkill
- debuggingSkill
- emil-design-engSkill
- executeSkill
- find-animation-opportunitiesSkill
- find-skillsSkill
- frontendSkill
- gather-contextSkill
- gesturesSkill
- impeccableSkill
- improve-animationsSkill
- learn-tasteSkill
- mobile-nativeSkill
- obsidianSkill
- pick-ui-librarySkill
- planSkill
- prototypeSkill
- remove-animationsSkill
- review-animationsSkill
- specSkill
- sync-agentsSkill
- testingSkill
- writing-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 30 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
30
Distinctive
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
- Distinctive: line 19
Triggered explicitly: When the user says "update docs," "sync the docs," or similar.
- Distinctive: line 22
After iterating on a feature multiple times, when the design has stabilized
- Distinctive: line 23
When coming back to a project after a break and the docs feel stale
- Distinctive: line 24
Before a release or milestone, to make sure docs reflect reality
- Distinctive: line 25
When preparing a project for handoff
- Distinctive: line 28
After every small commit (that's what batching avoids)
- Distinctive: line 36
Check git diff and recent commits to understand what changed
- Very specific: line 58
If design docs exist in docs/designs/, merge them into SPEC.md first — they represent in-flight features that are now implemented
- Distinctive: line 59
Update architecture if structural decisions changed
- Distinctive: line 60
Update goals/non-goals if scope shifted
- Distinctive: line 61
Update key decisions table if choices changed
- Distinctive: line 62
Do NOT rewrite the whole spec — only update what shifted
- Distinctive: line 65
If a design doc has been fully implemented (code exists, feature works), merge its design decisions into SPEC.md and delete the design doc
- Distinctive: line 66
If a design doc is still in-flight (feature not yet shipped), leave it alone — it's the active source of truth for that feature
- Distinctive: line 67
When merging: integrate the design doc's sections into the appropriate SPEC.md sections.
- Distinctive: line 70
Update to match current behavior
- Distinctive: line 71
Remove sections describing removed features
- Distinctive: line 72
Add sections for new capabilities
- Very specific: line 75
ONLY update if one exists — do not create one during sync (use the sync-agents skill for creation)
- Distinctive: line 76
Update when: repo layout changed, commands changed, new dependencies added, architectural patterns shifted, new modules created, or gotchas …
- Distinctive: line 77
Do NOT rewrite the whole file — update only the sections that drifted
- Distinctive: line 79
Add new rules or constraints, remove stale ones
- Distinctive: line 80
Keep it concise — this file is loaded into every session, so every line should earn its place
- Distinctive: line 81
Do NOT use this to document features or behavior — that belongs in other docs
- Distinctive: line 84
Write from the user perspective — someone cloning the repo for the first time
- Distinctive: line 85
Update: how to install, configure, run, use
- Distinctive: line 86
Do NOT turn it into a changelog or developer notebook
- Distinctive: line 87
Keep it practical: what does this project do, how do I use it
- Distinctive: line 103
Wait for approval before saving.
- Distinctive: line 107
Write all approved changes.
- Distinctive: line 111
Only update what changed — don't rewrite untouched sections
- Distinctive: line 117
Don't commit unless explicitly asked
“Common” is measured: kept by at least 6 in 10 of the 21 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 Docs
Overview
Reconcile documentation with the current state of the codebase. This skill is invoked on-demand, never automatically. It handles two main cases:
- Drift correction — catching up docs that have fallen behind past work (features shipped without doc updates, refactors that weren't reflected in SPEC.md, etc.)
- Iterative reconciliation — after iterating on a feature 3-5 times without touching docs, run sync-docs once to consolidate all the changes into a single coherent update instead of rewriting SPEC.md after every iteration
Announce at start: "Using sync-docs skill to sync documentation."
When to Use
Triggered explicitly: When the user says "update docs," "sync the docs," or similar. Never triggered automatically.
Good times to run it:
- After iterating on a feature multiple times, when the design has stabilized
- When coming back to a project after a break and the docs feel stale
- Before a release or milestone, to make sure docs reflect reality
- When preparing a project for handoff
Do NOT run it:
- After every small commit (that's what batching avoids)
- In the middle of active iteration (wait until the design settles)
- In the middle of executing a plan (wait until the feature ships)
The Process
Step 1: Scan Recent Changes
- Check
git diffand recent commits to understand what changed - Identify the scope: is this a small fix, a new feature, a refactor, or an architectural shift?
Step 2: Identify Affected Docs
Scan the repo for documentation files and determine which ones are impacted. Common docs:
| Doc | When to Update |
docs/SPEC.md | Architecture, scope, goals, or key decisions changed |
docs/designs/*.md | In-flight design docs that have been implemented — merge into SPEC.md and delete |
TESTING.md | Test approach, frameworks, or commands changed |
MANUAL_TESTING.md | Manual test steps or flows changed |
LOGGING.md | Logging approach, format, or tooling changed |
AGENTS.md | Repo structure, commands, tech stack, conventions, or workflow changed |
README.md | Anything a user cloning the repo would need to know |
Step 3: Update Each Doc
For each affected doc, make targeted updates:
SPEC.md (docs/SPEC.md):
- If design docs exist in
docs/designs/, merge them into SPEC.md first — they represent in-flight features that are now implemented - Update architecture if structural decisions changed
- Update goals/non-goals if scope shifted
- Update key decisions table if choices changed
- Do NOT rewrite the whole spec — only update what shifted
Design docs (docs/designs/*.md):
- If a design doc has been fully implemented (code exists, feature works), merge its design decisions into SPEC.md and delete the design doc
- If a design doc is still in-flight (feature not yet shipped), leave it alone — it's the active source of truth for that feature
- When merging: integrate the design doc's sections into the appropriate SPEC.md sections. Don't just append.
Technical docs (TESTING.md, LOGGING.md, etc.):
- Update to match current behavior
- Remove sections describing removed features
- Add sections for new capabilities
AGENTS.md:
- ONLY update if one exists — do not create one during sync (use the sync-agents skill for creation)
- Update when: repo layout changed, commands changed, new dependencies added, architectural patterns shifted, new modules created, or gotchas discovered
- Do NOT rewrite the whole file — update only the sections that drifted
- Load the sync-agents skill's template if you need to add new sections that don't exist yet
- Add new rules or constraints, remove stale ones
- Keep it concise — this file is loaded into every session, so every line should earn its place
- Do NOT use this to document features or behavior — that belongs in other docs
README.md:
- Write from the user perspective — someone cloning the repo for the first time
- Update: how to install, configure, run, use
- Do NOT turn it into a changelog or developer notebook
- Keep it practical: what does this project do, how do I use it
Step 4: Present Changes
Show what you're updating and why:
Updating 3 docs:
- docs/SPEC.md: architecture section — switched from REST to tRPC
- TESTING.md: updated test commands to use vitest instead of jest
- README.md: updated install steps to include new env variable
Skipping AGENTS.md — no convention changes.Wait for approval before saving.
Step 5: Save
Write all approved changes. Do NOT commit unless asked.
Key Principles
- Only update what changed — don't rewrite untouched sections
- AGENTS.md updates are section-targeted — don't regenerate the whole file
- AGENTS.md stays lean — it's loaded into every session
- README is user-facing — think "first-time cloner"
- Plans are historical — never update them
- Present changes before saving — no surprise rewrites
- Don't commit unless explicitly asked
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.

