sync-docs

Installation
SKILL.md

Sync Docs

Bring a project's documentation in line with the code changes on the current branch, so doc updates land in the same PR as the code and get reviewed together. Project-agnostic: discover the project's doc conventions first, then apply this workflow.

Workflow

  1. Locate the docs and learn the conventions. Don't assume a layout — find it:
    git ls-files | grep -iE '(^|/)(docs?|documentation|content)/' | head -50
    
    Common homes: a docs/ dir, a packages/docs or website/ package (Astro/Starlight, Docusaurus, VitePress, mkdocs), a top-level README.md, or man/. Identify which generator (if any) by checking for astro.config.*, docusaurus.config.*, mkdocs.yml, *.vitepress, etc.
    • Read any docs-specific guidance first — a CLAUDE.md/AGENTS.md/README.md inside the docs dir, or a ## Docs section in the repo's root CLAUDE.md. Follow its house style and gotchas.
    • Note which files are generated (build artifacts like dist/, llms.txt, per-page .md exports, API reference dumps). Never hand-edit generated output — edit the source it's built from.
Installs
2
GitHub Stars
4
First Seen
Jul 8, 2026
sync-docs — richardbray/skills