/qq:doc-syncfrom qq
Detects doc↔code drift, drafts reconciling updates as a reviewable diff, and lands only what the human approves. Goes beyond reporting by closing the loop without auto-committing.
Ships in qq. 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.
Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).
Pull drifted docs back in line with the code, run on demand when the human knows they changed something doc-affecting. doc-sync calls /qq:doc-drift (and the project's drift detectors) as its detection stage, then adds the two stages doc-drift lacks: draft the fixes and land what the human approves.
Arguments: $ARGUMENTS
--since <ref>: only docs affected by code changed since <ref> (windowed reconcile)--scope <design|memory|seams|rules>: restrict to one class of living doc--all: also include Docs/archive/ and old review artifactsDetectors are read-only; doc-sync is the sole writer, and only of docs — never code; the human is the sole lander. Reference drift (a dead anchor) is auto-drafted; semantic/process drift is only flagged for the human to decide. Graphs say "what is wired now"; the seam registry says "what should be wired / what breaks if missing" — neither overwrites the other.
Probe for these and use whatever exists — degrade gracefully when absent (a generic project just gets doc-drift + git-diff reasoning):
| If present | Use it for |
|---|---|
Tools/blast_radius.py | "changed files → affected docs + code-side ripple" (diff [base] / who <token>) |
Tools/check_doc_drift.py | symbol-anchor drift in docs (LINEREF / missing file / missing GUID / 0-hit symbol) |
Tools/check_memory.py | memory consistency + staleness (audit); re-stamp via stamp <date> <files> |
Tools/check_seams.py | .claude/seams.yml anchor drift |
.claude/seams.yml | cross-cutting seam registry (fan-out points) |
Tools/asset_graph.py / Tools/event_graph.py | Unity asset / event-bus blast-radius |
--since <ref>, run python Tools/blast_radius.py diff <ref> to get changed-files → affected docs + ripple. Otherwise sweep: check_doc_drift.py over Docs/ + .claude/rules/, check_memory.py audit, check_seams.py./qq:doc-drift (using the Skill tool) for the affected modules — design-doc-vs-code intent mismatches the anchor checkers can't see..meta files, formatting churn, dependency bumps, and pure internal refactors..claude/rules/ process note went stale, an architecture model differs.One concern per pass. Feed the drafting work the project's own context (CLAUDE.md, .claude/rules/, the memory dir) so the prose keeps the author's voice and doesn't repeat known mistakes.
Foo.cs:123) into symbol anchors (a class or method name, a unique string, or a GUID).git diff -M rename detection + surrounding-context fingerprint to propose OldSymbol → NewSymbol (confidence) rather than just reporting a 0-hit.last_verified on facts you re-verified..claude/rules/ + CLAUDE.md process advice → flag only, never auto-edit.The "draft" is uncommitted working-tree changes scoped to doc/config files — not a PR, not a scratch dir. Present git diff grouped by doc class. For each group, ask apply / skip / edit. Never auto-commit.
Keep the approved subset; git checkout -- the rest. Re-stamp touched memory: python Tools/check_memory.py stamp <today> <files>. Then offer /qq:commit-push <the approved doc/config files>.
Docs/design/, the current branch's Docs/qq/<branch>/, the memory dir, .claude/seams.yml, .claude/rules/.Docs/: reconcile them, don't freeze them.${CLAUDE_PLUGIN_ROOT}/bin/qq-run-record.py is available, persist a doc-sync run record after the sweep so controller state can advance./qq:plan or /qq:test, never edit code here). And unrequested protections or restrictions (only in code): never draft them into the doc body; draft a "Needs the user's decision" entry for the human to approve.What SKILL.md sets; muted values are Claude Code's defaults
28 skills in this plugin
/add-tests0. Read qq project state first when availableAuthor Unity EditMode, PlayMode, or regression tests for the current change without conflating that with test execution./best-practiceScope DetectionQuick Unity best-practice check — run after editing C# files to catch anti-patterns, performance issues, and runtime safety problems./bootstrapPhase 1: Understand the VisionDecompose a high-level game vision (pillars + rules + references) into executable epics, then orchestrate the full qq pipeline for each. Use when starting a new project, bootstrapping a prototype from a pitch, or breaking a large initiative into parallel workstreams.npx claudepluginhub tykisgod/quick-question --plugin qqOther plugins' skills for the same job