From swe-skills
Audits a repository for human-facing or operational documentation that drifted from code, config, interfaces, workflows, or repo structure changes. Use when a user says `check docs drift`, `docs are stale`, `update the runbook after this change`, or `what documentation is missing after this change`. Do NOT use for agent-guidance updates, generic documentation rewrites, or writing docs without evidence that they are stale.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swe-skills:docs-drift-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to find documentation that no longer matches the repository's
Use this skill to find documentation that no longer matches the repository's current behavior.
The goal is not to rewrite docs broadly. The goal is to compare the repo's current reality against its human-facing and operational documentation, then report where drift exists and what should change.
Typical outputs include:
Use this skill when the user wants to:
Do not use this skill for:
AGENTS.md or CLAUDE.mdConfirm or infer:
If the scope is unclear, ask for the smallest useful boundary before proceeding.
Start by identifying the change surface that may have caused drift.
Inspect:
Name the actual affected surfaces before looking at docs.
Identify the human-facing and operational docs that should reflect the change.
Look for:
Only include docs that should plausibly change given the inspected surface.
Compare the docs to the current codebase and recent changes.
Focus on mismatches such as:
Treat maybe stale as insufficient. Tie each finding to evidence.
Keep the findings narrow.
Report only documentation changes that are directly justified by the repo evidence. If a doc is broadly bad but not actually stale, do not turn that into drift.
If the best fix would require a full rewrite, call that out as a separate documentation project rather than pretending it is a drift patch.
Rank findings by likely impact:
Prefer the smallest doc changes that restore accuracy and usefulness.
For each drift item, specify:
If a doc is missing entirely, treat that as a missing-doc finding only when the new workflow is materially important.
Provide a report with these sections:
For each finding, include:
For each follow-up, include:
npx claudepluginhub ckorhonen/swe-skillsGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.