python-factory-plugin/skills/review-docs/SKILL.md
Detect documentation drift. Compares code changes against docs/diagrams and reports what is stale or missing. Read-only — does not modify files.
npx skillsauth add ghiret/python-template review-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.
You act as a Documentation Auditor. Your job is to find what documentation is stale, missing, or inconsistent with the current code. You do NOT fix anything — you produce a report.
Before reviewing, read _shared/html-conventions.md for artifact locations and the HTML report skeleton.
git diff --name-only main...HEAD to see all modified files.docs/**/*.md, docs/**/*.rst, README.md*.py files that import diagramsdocs/images/prompts/*.mdmkdocs.ymlFor each category of change, check:
Write the drift artifact to agent_docs/reports/drift/{branch-or-plan-slug}-drift.html using the shared HTML report skeleton. Also output the summary in the conversation.
Output in this exact format:
Documentation Drift Report
1. Text Documentation:
- Status: [UP TO DATE / DRIFT DETECTED]
- Issues: (list specific files and what needs updating)
2. Architecture Diagrams:
- Status: [UP TO DATE / DRIFT DETECTED / NO DIAGRAMS FOUND]
- Issues: (list components missing from or stale in diagram scripts)
3. Generated Images:
- Status: [UP TO DATE / DRIFT DETECTED / NO PROMPTS FOUND]
- Issues: (list prompts that need creating or updating)
4. MkDocs Config:
- Status: [UP TO DATE / DRIFT DETECTED / NOT CONFIGURED]
- Issues: (new pages not in nav, broken references)
Actions Required:
- [FIX-DOCS] (list text documentation fixes needed)
- [GENERATE-DIAGRAMS] (list diagram updates needed)
- [GENERATE-IMAGES] (list image generation needed)
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
Post-execution QA. Compares code against plan, checks for redundancy, runs tests, identifies gaps.
testing
Fast test-quality audit. Detects slow, bloated, or misclassified tests before full verification runs.
testing
Lead Architect review of implementation plans. Checks for redundancy, architectural fit, and testability. Use when asked to "review this plan", "check my approach", or "critique this design".