docs-cleaner
An agent skill by daymade, from daymade/claude-code-skills. Tags: code-quality, documentation, migration, review, validation.
What it does
Consolidates redundant documentation while preserving all valuable content; keeps a doc set truthful after things change. Modes: (1) POST-CHANGE GOVERNANCE — when code, scripts, config, env vars, ports, paths, deployment, auth, tests, or a documented procedure changed; also "which docs are now wrong", "check docs for inconsistencies", "过时的命令/路径", "文档同步". Use it even when the user mentions only the change and never the docs — updating them is part of the change, not optional cleanup. (2) CONSOLIDATION — "clean up docs", "documentation bloat", "reduce documentation sprawl", "consolidate documentation", "too many doc files", "merge redundant docs", "merge these docs", "文档太多/太乱", multiple files covering the same topic, or documentation exceeding 500 lines across multiple files on similar topics. Finds stale copies of a fact changed in only one place, values that should never have been persisted (counts, totals, "N items", restated summaries), rival definitions that drift apart, and orphaned cross-references.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add daymade/claude-code-skills --skill docs-cleaner
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/daymade/claude-code-skills
cp -r claude-code-skills/daymade-docs/docs-cleaner ~/.claude/skills/docs-cleaner
Safety box score
Not rated yet. A safety box score grades what a skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. Anyone can request one from this page; it is saved for everyone. How the score works.
Source
- Repository
- daymade/claude-code-skills (all skills from this repository)
- Path
- daymade-docs/docs-cleaner/SKILL.md
- Branch
- main
- Updated
- 2026-09-20
Related skills
- skill-reviewer — Reviews and improves Claude Code skills against official best practices.
- remediating-with-aws-security-agent — Pull AWS Security Agent findings (penetration tests and code reviews) and drive remediation.
- claude-md-progressive-disclosurer — md with progressive disclosure and zero information loss.
- claude-migrate-memory-to-doc — Migrates Claude Code personal memory (the per-project memory/ directory) into tool-agnostic reference docs.
- transcript-fixer — Corrects speech-to-text transcription errors with dictionary rules and Claude's built-in AI (no external API key required).
- audit-prep-assistant — Prepares codebases for security review using Trail of Bits' checklist.