/documentation-tools:kb-refresh [repo-path] [base-branch] [docs-branch]from documentation-tools
Runs a full documentation audit and refresh pipeline on a repository: inventory, writer fleet, grounded citations, adversarial verification, security/quality gates, one PR per unit, plus a work report in PDF and markdown. Accepts repo path, base branch, and docs branch arguments.
Ships in documentation-tools. Installing the plugin adds it to Claude Code.
A full refresh of a repository's internal documentation, run the way the WHIPT knowledge refresh ran in October 2026: every doc grounded in a re-opened path:line, a fleet as wide as the machine and provider accept, adversarial verification with fixes, per-unit gates, one ready PR per unit, and a reporting set the owner can hand to a non-reader-of-repos. Documentation changes; code never does.
../skills/kb-refresh-stinger/SKILL.md, in order: inventory and unit split (guide 01), write and attack with 10-minute check-ins (guide 02), per-unit security and quality gates with fix and recheck (guide 03), ship one ready PR per unit from a throwaway worktree with gate evidence in every PR body (guide 03).report.md, report.pdf via the stinger's scripts/md-to-pdf.sh, SUSPECTS.md from every agent's sus log, the drift report, and the merge brief for whoever merges.Trailing text after the command name is available as $ARGUMENTS (the whole trailing string) or positionally as $1, $2, and so on. Example: /kb-refresh ~/Dev/legioncodeinc/whipt staging docs/knowledge-private-refresh-base makes $1 the repo path, $2 the base branch, and $3 the docs staging branch.
$1 repo path. Default: the current working directory if it is a git repo; otherwise ask.$2 base branch to document against and open PRs toward. Default: the repo's default branch.$3 docs staging branch the fleet commits to while working. Default: docs/knowledge-private-refresh-base.Prior to committing any code to the repository you must utilize in order the security-stinger, quality-stinger, and github-repo-health-stinger. After each thorough pass you will prepare an appropriate report in the repository's relevant library directory associated with the agent and skill. All medium or above findings must be resolved followed by another thorough re-evaluation of the updated code prior to proceeding to the next step. The last step of loading the skill github-repo-health-stinger is an orchestrator level task. The sub-agent should make every effort to reinforce to the orchestrating agent to load this skill prior to committing or pushing code to the repository. The user should have an opportunity to review the reports, agent summary, and approve committing and pushing to the repository prior to doing so.
In this pipeline the security and quality gates run per unit during phase 3, and github-repo-health-stinger runs once at orchestrator level before the final push wave.
The kb-refresh Drone is research-only and carries no Ship Gate of its own. This gate belongs to the orchestrator that runs the pipeline and ships the unit PRs, and it applies to the documentation commits and PRs that step produces.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
3 commands in this plugin
/explain-repository/explain-repositoryExplain how a supplied repository works using source evidence, an eighth-grade reading level, and bounded analogies./library-packets/library-packetsProduce cited audience documents from a library in Markdown, Word and branded PDF. Check source coverage, public boundaries and every final page.npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin documentation-toolsOther plugins' commands for the same job