documentation-sync-loop
Documentation Sync Loop. Goal: keep docs truthful — no drift between code and the docs/guardrails that agents rely on.
by Andersonlimahw★ 19 GitHub stars
Install documentation-sync-loop in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Documentation Sync Loop
Goal: keep docs/ truthful — no drift between code and the docs/guardrails that agents rely on.
Cadence: per merge / weekly.
Phase 0 · IDEA
- Detect drift via git logs and
/graphifycomparing changed modules vs their docs. - Candidate drifts: new repositories with no rules, renamed folders, outdated guardrails.
- verify: concrete list of drifted docs.
Phase 1 · PLAN
- Inline plan: list
<doc path> → <action>. - verify: mapped to concrete actions.
Phase 2 · IMPLEMENT
- Use
llm-wiki-curatorto enforce LLM-wiki standards (front-matter on all .md, regenerate llms.txt). - Update specific rules/guardrails that drifted.
- verify: valid front-matter on touched docs;
llms.txtgenerated.
Phase 3 · TEST
- Validate link and structure integrity.
- Run
rtk npm run build:docs. - verify: zero broken links; docs build succeeds.
Phase 4 · QUALITY GATE
rtk npm run build:docsmust pass (mirrors CI).- verify: docs build green.
Phase 5 · SHIP
- Create PR: "docs: weekly sync".
- Check CI jobs.
- verify: CI green (esp. Build Documentation).
Phase 6 · REFLECT
- Append to
ITERATION_LOG.md: which docs drifted and why. - If same doc keeps drifting, create a hook or reminder (Never-Repeat).
- verify: recurring drift sources flagged for automation.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the documentation-sync-loop skill do?
Documentation Sync Loop. Goal: keep docs truthful — no drift between code and the docs/guardrails that agents rely on.
How do I install the documentation-sync-loop skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the documentation-sync-loop skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…