/odin-writing:sync-docsfrom ODIN Writing
Detects and fixes stale documentation and CHANGELOG entries after behavioral code changes. Reports drift with file:line evidence and applies safe fixes like version bumps and Unreleased entries.
Ships in ODIN Writing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User says 'sync docs' or 'update changelog' after a behavioral change. |
| Authority | Reversible local: writes only named local doc files and a fix ledger; rollback reverts the edited files. No remote mutation. |
| Side effect | Applies only safe fixes (version bump plus CHANGELOG Unreleased entry) and writes a fix ledger with before/after evidence. |
| Done | Safe fixes are applied or explicitly unavailable, and all residual drift is flagged with file:line evidence and reasons. |
report (default) or apply. apply still edits only safe-fix issues.recent (changed files from current branch or last few commits), before-pr (branch diff against PR base), or all (all tracked code and docs).HEAD~5 for recent.reasonFlagOnly.bash only for git commands; use find, search, read, lsp, ast_grep, and edit for everything else. Done when: the scope and base are resolved and the changed-file list is computed.references/doc-issues.md for the full detection recipe. Done when: coupling terms are extracted for every changed file.README.md, CHANGELOG.md, docs/**/*.md, *.md at repo root. For each coupling term, search docs and record doc, line, term, referenceType. Done when: every coupling term is searched against docs.references/doc-issues.md for the severity taxonomy, safe-fix boundary, and default ignore list. Classify each finding as HIGH, MEDIUM, or LOW. Ignore generated docs unless explicitly in scope, vendored docs, changelog append-only entries, and versioned snapshots unless in scope. Done when: every finding is classified with severity and safe-fix eligibility.apply mode). Safe fixes are: version bump (replace stale semver in docs with the manifest version when the line clearly labels a version) and CHANGELOG ## [Unreleased] entry (insert a minimal bullet citing commit/file evidence). Load references/detection-recipes.md for per-ecosystem manifest version fields and changelog evidence commands. Do not auto-edit removed exports, import paths, examples, undocumented exports, dead-code docs, or doc-drift prose. Those require human intent. Done when: safe fixes are applied or confirmed unavailable.file, line, type, before, after, and evidence source. For every flag-only item record reasonFlagOnly. Done when: the fix ledger is complete.A JSON fix ledger: opCell, scope, base, changedCode array, relatedDocs array, fixesApplied array, flagged array. Completion means safe fixes are applied or explicitly unavailable, and all remaining drift is flagged. A clean report with no edits is valid only after the diff-to-doc mapping and taxonomy pass ran.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
documentation-sync, changelog, code-comments, drift-detection
35 skills in this plugin
/articulateUse when the user knows what they mean but cannot express it completely or clearly. Not for discovery, ideation, or style-only editing: use unslop for style./brand-authorityUse when the user asks for branded or style-governed output. Not for remote, credential, publish, deploy, or irreversible changes./clean-and-trueUse when the user just edited a durable artifact, or says "clean and true", "run the hygiene pass", or "taste the output". Routes the artifact through the hygiene passes it earned.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-writingOther plugins' skills for the same job