skills/mp-update-docs/SKILL.md
Documentation updater for README and instruction docs. Use when: "update docs", "refresh README", "update instructions", "sync docs"
npx skillsauth add MartinoPolo/mpx-claude-code mp-update-docsInstall 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.
Unified doc maintenance for instruction files and README updates.
/mp-update-docs # Review and update docs
Glob for all documentation files — no hardcoded paths:
# Instruction files
~/.claude/CLAUDE.md
~/.claude/AGENTS.md
.claude/CLAUDE.md
.claude/AGENTS.md
./CLAUDE.md
./AGENTS.md
# README
./README.md
# Other docs
*.md in project root (excluding node_modules, .git)
Build inventory of found files with their last-modified timestamps.
Read existing docs from inventory, plus:
package.json (if exists) — name, description, scripts, dependenciesls top-level dirs, glob for src/lib/app patternsgit log --oneline -20 — recent changesgit diff HEAD~10..HEAD --stat — files changed recentlyFor instruction docs, also read recent conversation history:
~/.claude/projects/ (path with slashes→dashes).jsonl files (last few days)Per category, identify what needs updating:
Instructions (CLAUDE.md / AGENTS.md):
~/.claude/) vs project (.claude/)README:
Other Docs:
Show analysis summary organized by file:
## Documentation Analysis
### AGENTS.md (3 updates)
1. Add missing spawn rule for [tool]
2. Remove outdated [section]
3. Reinforce [violated instruction]
### README.md (2 updates)
1. Update scripts section (3 new scripts)
2. Fix install instructions (uses pnpm, not npm)
Then ask user:
question: "Which documentation updates should I apply?"
options:
- Apply all updates
- Review each file individually
- Show detailed analysis first
- Cancel
Edit files directly using Edit tool. Preserve:
<!-- CUSTOM --> marked sectionsFor each file changed, track: file path, what changed, why.
If any files were modified:
git add [changed doc files only]
git commit -m "docs: update documentation after [context]"
Context examples: "phase 3 completion", "instruction review", "README sync".
Do NOT create empty commits if nothing changed.
Documentation Update Summary
Files Updated:
- [file]: [changes made]
- [file]: [changes made]
Files Skipped:
- [file]: No updates needed
- [file]: [reason skipped]
Commit: [hash] docs: update documentation after [context]
(or "No changes needed — all docs are current")
development
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"