# Documentation Cleaner / Consolidator

> Use when documentation is bloated, redundant, or sprawled across multiple files covering the same topic — consolidates into a single source of truth while preserving 100% of valuable content.

- Skill: `aashutosh396/documentation-cleaner-consolidator` (Agent Skill)
- Install (CLI): `npx get-skill add aashutosh396/documentation-cleaner-consolidator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aashutosh396/documentation-cleaner-consolidator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: aashutosh396 (https://skillmd.com/u/aashutosh396)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/aashutosh396/documentation-cleaner-consolidator

---


Consolidate redundant documentation. **Core principle: critical evaluation before deletion** — analyze each section's unique value first. Reduction without information loss.

## Workflow
**Phase 1 — Discovery:** find all docs covering the topic; count total lines; map content overlap.

**Phase 2 — Value Analysis:** per document, build a section-by-section table:

| Section | Lines | Value | Reason |
|---------|-------|-------|--------|
| API Reference | 25 | Keep | Unique endpoint docs |
| Setup Steps | 40 | Condense | Verbose but essential |
| Test Results | 30 | Delete | One-time record, not reference |

Value categories: **Keep** (unique/essential/frequently referenced), **Condense** (valuable but verbose), **Delete** (duplicate/one-time/self-evident/outdated).

**Phase 3 — Consolidation Plan:** propose target structure with before/after metrics:
```
Before: 726 lines (3 files, high redundancy)
After:  ~100 lines (1 file + reference in CLAUDE.md)
Reduction: 86%   Value preserved: 100%
```

**Phase 4 — Execution:** create consolidated doc with all valuable content → delete redundant sources → update references (CLAUDE.md, README, imports) → verify no broken links.

## Value-preservation checklist
Confirm preserved: essential procedures (setup/config), key constraints/gotchas, troubleshooting guides, tech-debt/roadmap items, external links, debug tips/code snippets.

## Anti-patterns
| Pattern | Problem | Solution |
|---------|---------|----------|
| Blind deletion | Loses info | Section-by-section analysis first |
| Keeping everything | No reduction | Apply value criteria strictly |
| Multiple sources of truth | Future divergence | Single authoritative location |
| Orphaned references | Broken links | Update all references after |

## Output artifacts
Consolidated document, value analysis (per-section justification), before/after metrics, updated references pointing to the new location.

