/everything-copilot-cli:doc-updatefrom everything-copilot-cli
Identifies stale documentation, finds gaps between implementation and docs, and applies targeted updates after code changes.
Ships in everything-copilot-cli. 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.
# Find all documentation files
# (Copilot glob tool) pattern="**/*.md"
# Find inline documentation (JSDoc, docstrings)
grep -rn "/\*\*" src/ --include="*.ts" | Measure-Object -Line
grep -rn '"""' src/ --include="*.py" | Measure-Object -Line
# List docs by last modified date
Get-ChildItem -Recurse -Include *.md | Sort-Object LastWriteTime | Select-Object LastWriteTime, FullName
# Find docs that reference renamed or deleted files
grep -rn "import.*from\|require(" docs/ --include="*.md" 2>$null
# Find docs referencing old function names or APIs
grep -rn "function_name\|ClassName\|/api/v1" docs/ --include="*.md"
# Compare documented CLI flags with actual implementation
grep -rn "\-\-[a-z]" README.md | Select-Object -First 20
To find which docs to re-read first, compare commits, not file dates (a checkout or copy resets modification times). The order of commits is a signal, not a verdict: a doc committed later may still describe old behavior, and code committed later may not touch what the doc says.
$code = git log -1 --format=%H -- src/rate-limiter.js
$doc = git log -1 --format=%H -- docs/rate-limiter.md
if (-not $code -or -not $doc) { "no order: one of the files has no commits" }
elseif ($code -eq $doc) { 'changed together in one commit' }
else {
git merge-base --is-ancestor $doc $code
if ($LASTEXITCODE -eq 0) { 'code changed after the doc: review the doc first' }
else {
git merge-base --is-ancestor $code $doc
if ($LASTEXITCODE -eq 0) { 'doc changed after the code' } else { 'no order: read both' }
}
}
A shallow clone, a rebase, or commits on different branches can leave the two unordered. Whatever the output, compare what the doc says with what the code does before calling it current.
Use the explore agent for deeper analysis:
task agent_type: "explore"
prompt: "Compare the README.md setup instructions with the actual package.json scripts and config files. Identify any mismatches."
For each stale section:
edit# Verify a documented command still works
npm run documented-command 2>&1 | Select-Object -First 5
# Find all markdown links
grep -rn "\[.*\](.*)" docs/ --include="*.md" | Select-String "http"
# Find internal links and verify targets exist
grep -rn "\[.*\](\./\|\.\./" docs/ --include="*.md"
# Check for broken markdown syntax
grep -rn "]\s*$" docs/ --include="*.md" # Unclosed links
# Verify code blocks have language tags
grep -n '```$' docs/**/*.md # Code blocks without language specifier
# Run any doc-specific tests or linters
npx markdownlint docs/ 2>&1 | Select-Object -First 20
# 1. Find what changed
git --no-pager log --oneline -10 -- src/api/
# 2. Check if README references the changed API
grep -n "api\|endpoint\|route" README.md
# 3. Update the relevant section
# Use edit tool to modify the specific outdated section
# Find functions where JSDoc params don't match actual params
grep -B 5 "function " src/utils.ts | Select-String "@param|function"
# Update JSDoc to match the current signature
# If a module was renamed from 'utils' to 'helpers'
grep -rn "utils" docs/ --include="*.md"
# Use edit tool on each file to update references
| Rationalization | Reality |
|---|---|
| "The code is the documentation" | Code explains what. Documentation explains why. They're complementary, not interchangeable. |
| "Too busy, I'll update docs later" | Context is lost by the next PR. Update docs alongside the change. |
| "It's an internal API, no docs needed" | Your future self in 3 months is also an internal API consumer. |
| "The README is already up to date" | Use commit order to decide what to re-read first (step 2), then check the README against what the code does now. |
task agent to run documented commands and verify they produce expected outputWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job