vitepress-doc-sync
Skill11 starsChanged 20 days agoMITView on GitHub
Analyze recent git commits and codebase changes to update, synchronize, and align VitePress documentation (docs/user/ and website/). Use when the user requests to update documentation from git diffs, sync VitePress docs, audit doc gaps, or update user guides after code changes. Triggers on "vitepress 문서 현행화", "git 변경사항으로 문서 업데이트", "최신 git commit 반영하여 docs 업데이트", "vitepress-doc-sync", "sync docs with git", "update vitepress docs", "doc sync".
In this repository48 other files it gives its agents.
- agents.mdAGENTS.md
- .agents/skills/react-best-practices/AGENTS.mdAGENTS.md
- .agents/skills/react-native-skills/AGENTS.mdAGENTS.md
- .agents/skills/react-view-transitions/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agent-initSkill
- agy-delegateSkill
- audit-docsSkill
- code-audit-expertSkill
- computer-diagnosisSkill
- create-builtin-toolSkill
- create-prSkill
- critique-builtin-toolSkill
- doc-auditorSkill
- docxSkill
- extract-log-debugSkill
- feature-refactor-proposalSkill
- gatekeeper-loopSkill
- harbor-harness-improvement-loopSkill
- i18n-language-standardsSkill
- jobs-trace-analyzerSkill
- lean-builtin-tool-auditorSkill
- libragent-qualitySkill
- libr-delegateSkill
- libr-tool-e2e-harness-loopSkill
- modular-large-file-refactorSkill
- performance-auditSkill
- pptxSkill
- vercel-react-best-practicesSkill
- vercel-react-native-skillsSkill
- vercel-react-view-transitionsSkill
- readme-showcase-syncSkill
- refactor-builtin-toolSkill
- release-managerSkill
- review-local-changesSkill
- review-pr-commentsSkill
- science-searchSkill
- setup-wizardSkill
- skill-creatorSkill
- soul-awakeningSkill
- sqlite-analyzerSkill
- sync-pending-approvalsSkill
- tool-creatorSkill
- trace-analyzerSkill
- trace-eval-loopSkill
- worker-loopSkill
- x-cliSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Run the automated gap detection script to inspect recent git commits and find unindexed markdown files:
- Very specific: line 48
Consult Mapping Guide: Read references/git_diff_analysis_guide.md for domain-specific mappings (e.g.
- Distinctive: line 58
Follow VitePress formatting guidelines in references/vitepress_formatting_guide.md:
- Very specific: line 60
Update both Korean docs (docs/user/*.md) and English docs (docs/user/en/*.md) to maintain language parity.
- Very specific: line 61
Add page frontmatter (title, description) if missing.
- Very specific: line 62
Use VitePress custom containers (::: tip, ::: info, ::: warning, ::: danger) for callouts and notes.
- Distinctive: line 63
Ensure code block snippets use accurate syntax highlighting and valid parameters.
- Very specific: line 69
If new .md files were created in docs/user/ or existing files were reorganized:
- Distinctive: line 85
Verify that VitePress compiles cleanly without dead links or syntax errors:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
VitePress Doc Sync
Analyze recent Git commits, PRs, and codebase diffs to detect outdated, missing, or inconsistent user-facing documentation in VitePress (docs/user/ and website/), and synchronize them to reflect the latest state of the codebase.
Workflow Decision Tree
1. Run Gap Analysis Script
└─ python .agents/skills/vitepress-doc-sync/scripts/detect_doc_gaps.py --since <GIT_REF>
2. Inspect Code Changes
└─ Review git log / diff & consult references/git_diff_analysis_guide.md
3. Update Target Docs
└─ Edit corresponding Korean (docs/user/*.md) and English (docs/user/en/*.md) pages
4. Sync VitePress Config
└─ If new files added, update website/.vitepress/config.ts (koSidebar & enSidebar)
5. Build & Validate
└─ Run pnpm --filter website build or pnpm refactor:validateStep 1: Detect Documentation Gaps
Run the automated gap detection script to inspect recent git commits and find unindexed markdown files:
python .agents/skills/vitepress-doc-sync/scripts/detect_doc_gaps.py --since HEAD~10This generates .agents/skills/vitepress-doc-sync/doc_gaps_report.json summarizing:
- Changed codebase areas (MCP tools, Rust backend, frontend UI, skills, etc.)
- Markdown files in
docs/user/that are not listed in the VitePress sidebar navigation.
Step 2: Analyze Git Diffs & Map to Docs
Inspect changed codebase files and map them to their target documentation files:
- Consult Mapping Guide: Read references/git_diff_analysis_guide.md for domain-specific mappings (e.g. MCP tools →
guides/builtin-tools.md, Skills →guides/skills.md). - Identify Impact:
- Added features or parameters → Add explanations to user docs.
- Deprecated or renamed APIs/CLI flags → Update existing references.
- New configuration options → Update configuration guides or FAQ.
Step 3: Edit & Update Documentation Pages
Follow VitePress formatting guidelines in references/vitepress_formatting_guide.md:
- Update both Korean docs (
docs/user/*.md) and English docs (docs/user/en/*.md) to maintain language parity. - Add page frontmatter (
title,description) if missing. - Use VitePress custom containers (
::: tip,::: info,::: warning,::: danger) for callouts and notes. - Ensure code block snippets use accurate syntax highlighting and valid parameters.
Step 4: Sync VitePress Sidebar & Navigation
If new .md files were created in docs/user/ or existing files were reorganized:
- Open
website/.vitepress/config.ts. - Register the new page under the appropriate category in
koSidebar:{ text: '새 기능 제목', link: '/guides/new-feature' } - Register the corresponding English page in
enSidebar:{ text: 'New Feature Title', link: '/en/guides/new-feature' }
Step 5: Validate VitePress Site Build
Verify that VitePress compiles cleanly without dead links or syntax errors:
pnpm --filter website buildOr perform full project validation:
pnpm refactor:validateDoes 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.

