plugins/up-docs/skills/repo/SKILL.md
Update repository documentation (README.md, docs/, CLAUDE.md) based on session changes by dispatching the up-docs-propagate-repo sub-agent. This skill should be used when the user runs /up-docs:repo.
npx skillsauth add l3digitalnet/claude-code-plugins up-repoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Update the active repo's docs via the up-docs-propagate-repo sub-agent (Haiku).
Before doing anything else, check for unstaged changes:
git status --porcelain
If the output is non-empty, STOP immediately:
/up-docs:repo to prevent data loss."If the output is empty, continue.
First, verify Python 3 is available — all helper scripts depend on it:
command -v python3 >/dev/null 2>&1 || { echo "ERROR: python3 not found in PATH — install python3 and retry."; exit 1; }
bash ${CLAUDE_PLUGIN_ROOT}/scripts/context-gather.sh
Combine with conversation history.
Read ${CLAUDE_PLUGIN_ROOT}/templates/session-change-summary.md for the canonical format. Produce a concrete summary following that template — name exact keys/values/paths, not vague "updated config" language.
up-docs-propagate-repoInvoke the sub-agent via the Agent tool with subagent_type: "up-docs:up-docs-propagate-repo" (the up-docs: prefix is required — plugin-defined agents are only addressable through their plugin namespace). The prompt has the session-change summary at the stable front, followed by any repo-specific context (CLAUDE.md ## Documentation section if present).
The sub-agent returns a markdown table conforming to templates/summary-report.md single-layer "Repo" format. Emit it as the skill's final output. Do not make your own edits — the sub-agent did the work.
If the sub-agent fails entirely (MCP timeout, spawn error), report a single-row table noting the failure with a one-sentence reason.
Read ${CLAUDE_PLUGIN_ROOT}/templates/post-propagation-steps.md and follow both procedures against the sub-agent's output:
## Stale File Candidates section, present it via AskUserQuestion (multiSelect) and git rm only user-approved paths. Skip silently if none.Both are READ-only over already-updated state files; the skill makes no further edits here.
templates/post-propagation-steps.md (shared with /up-docs:all) — the single source of truth for both. git rm deletions require explicit AskUserQuestion consent; layout detection (V2/V1/NONE) is probe-based, not flag-based.up-docs-audit-drift auditor. Pre-existing drift your session didn't touch (stale versions, renamed-file references, outdated labels) is invisible here — run /up-docs:drift or /up-docs:all periodically (e.g. after a release) to catch it.development
Use when you're stuck or missing current information mid-task - the same command/API/approach failed twice, an error looks like a changed or deprecated API, or you need the current version of something, a fact from after your training cutoff, or to verify something you cannot confirm from the code in context. Starts with a cheap inline lookup and only escalates to a full research sweep if that fails. Do not use for routine pre-emptive checks before ordinary library work - for deliberate research, use /qdev:research.
documentation
Update Outline wiki documentation with implementation-level details from the current session by dispatching the up-docs-propagate-wiki sub-agent. This skill should be used when the user runs /up-docs:wiki.
documentation
Update Notion pages with strategic and organizational context from the current session by dispatching the up-docs-propagate-notion sub-agent. This skill should be used when the user runs /up-docs:notion.
testing
Comprehensive documentation drift analysis across infrastructure and wiki by dispatching the up-docs-audit-drift sub-agent. This skill should be used when the user runs /up-docs:drift.