openclaw-skills/docs-cleaner/SKILL.md
Consolidates redundant documentation while preserving all valuable content. This skill should be used when users want to clean up documentation bloat, merge redundant docs, reduce documentation sprawl, or consolidate multiple files covering the same topic. Triggers include "clean up docs", "consolidate documentation", "too many doc files", "merge these docs", or when documentation exceeds 500 lines across multiple files covering similar topics.
npx skillsauth add seaworld008/commonly-used-high-value-skills docs-cleanerInstall 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.
Consolidate redundant documentation while preserving 100% of valuable content.
Critical evaluation before deletion. Never blindly delete. Analyze each section's unique value before proposing removal. The goal is reduction without information loss.
For each document, create a section-by-section analysis table:
| Section | Lines | Value | Reason | |---------|-------|-------|--------| | API Reference | 25 | Keep | Unique endpoint documentation | | Setup Steps | 40 | Condense | Verbose but essential | | Test Results | 30 | Delete | One-time record, not reference |
Value categories:
See references/value_analysis_template.md for detailed criteria.
Propose target structure:
Before: 726 lines (3 files, high redundancy)
After: ~100 lines (1 file + reference in CLAUDE.md)
Reduction: 86%
Value preserved: 100%
Before finalizing, confirm preservation of:
| Pattern | Problem | Solution | |---------|---------|----------| | Blind deletion | Loses valuable information | Section-by-section analysis first | | Keeping everything | No reduction achieved | Apply value criteria strictly | | Multiple sources of truth | Future divergence | Single authoritative location | | Orphaned references | Broken links | Update all references after consolidation |
A successful cleanup produces:
Use deletion only when all of these are true:
Prefer consolidation when documents contain overlapping but non-identical procedures. Prefer archival when the content is historically useful but no longer operational. Prefer leaving content in place when ownership, accuracy, or downstream references are uncertain.
After cleanup, run project-appropriate checks:
rg "old-document-name|old/path" .
rg "TODO|TBD|placeholder" docs README.md
For documentation sites, also run the site build or link checker when available. Report both the reduction achieved and the content that was intentionally preserved.
Documentation cleanup should be reversible until the user accepts the new structure. Prefer a small staged change when removing high-traffic docs: first add redirects or pointers, then remove duplicates after references are updated. If docs are generated, update the source template or generator instead of editing generated pages directly.
When the cleanup affects onboarding, run a quick reader test: can a new contributor still find setup, architecture, commands, troubleshooting, and ownership information within two clicks from the main README?
development
Enumerating failure modes via pre-mortem analysis. Systematically identifies failure scenarios for plans, designs, and features, scoring them with RPN/AP. Does not write code.
testing
Orchestrating specialist AI agent teams as a meta-coordinator. Decomposes requests into minimum viable chains, spawns each as an independent session in AUTORUN modes, and drives to final output. Use when a task spans multiple specialist domains, requires parallel agent execution, or needs hub-and-spoke routing across the skill ecosystem.
development
Converting document formats (Markdown/Word/Excel/PDF/HTML). Converts specs from Scribe and reports from Harvest into distributable formats; generates reusable conversion scripts. Use when converting documents, building accessibility-compliant PDFs, or creating Pandoc/LibreOffice pipelines.
testing
Curating cross-agent knowledge and guarding institutional memory. Extracts patterns from agent journals into METAPATTERNS.md, detects knowledge decay, propagates best practices, prevents organizational forgetting. Use when consolidating cross-agent insights, curating memory, or auditing knowledge decay.