/utils:doc-syncfrom utils
Detects and resolves documentation drift against code using bounded, scope-first audits. Supports code-to-docs, docs-to-code, and full reconciliation with dry-run and incremental modes.
Ships in utils. 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.
None: SKILL.md is the whole skill.
Detect and resolve documentation drift without front-loading a full repository audit. Treat standard Claude Code Sonnet context as the baseline.
Users may say:
direction is required:
code-to-docs: update docs to match codedocs-to-code: identify code gaps against docsfull: bidirectional reconciliation with human review for conflictsOptions:
--dry-run: report only, no file edits--scope <path>: limit the audit to a subtree or file group--incremental: start from changed files since the last sync, then current
git changed files if no last-run record exists--parallel N: cap concurrent auditors; default 2, maximum 4Treat every .aiwg/... path below as a logical artifact path. Before reading
or writing sync state, working evidence, or reports, run aiwg artifacts path
from the active workspace and use the returned absolute directory as
AIWG_ARTIFACT_ROOT. Never write these payloads to a literal project-local
.aiwg/ when AIWG_ARTIFACTS_PATH or .aiwg-location redirects the corpus.
git status --short, git diff --name-only, and
git diff --cached --name-only.--scope or --incremental is supplied, derive a candidate scope from
changed files and ask before expanding to the full repo.rg --files, find, git path lists) before reading file
bodies.$AIWG_ARTIFACT_ROOT/working/doc-sync/.commit-and-push.$AIWG_ARTIFACT_ROOT/reports/doc-sync-{timestamp}.md with scope, findings,
auto-fixable items, human-review items, and changed files.--dry-run, apply high-confidence fixes only.$AIWG_ARTIFACT_ROOT/reports/doc-sync-last-run.json.Return:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin utils133 skills in this plugin
/activity-logQuery and manage the unified .aiwg/activity.log chronological record of AIWG-managed workflow operations/add-agentScaffold a new agent definition file inside an existing addon or framework/add-behaviorScaffold a new behavior definition with BEHAVIOR.md and optional scripts inside an existing addon or framework/add-commandScaffold a new command definition inside an existing addon or frameworkOther plugins' skills for the same job