🎯

docs-cleaner

🎯Skill

from aleister1102/skills

VibeIndex|
What it does

Cleans and consolidates redundant documentation files, preserving all valuable content while dramatically reducing total document lines.

πŸ“¦

Part of

aleister1102/skills(54 items)

docs-cleaner

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add aleister1102/skills --skill docs-cleaner
3Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Use when cleaning up redundant documentation, merging duplicates, or consolidating sprawling guides while preserving all valuable content.

Overview

# Documentation Cleaner

Consolidate redundant documentation while preserving 100% of valuable content.

When to Use

  • You need to merge overlapping docs that currently span several files or exceed 500 lines.
  • Multiple materials cover the same topic and reviewers are confused about the canonical source.
  • Documentation editors request a value-preserving consolidation before publishing or sharing the guidance.

When NOT to Use

  • The docs are short, focused, and already reference each other intentionally.
  • You are performing unrelated documentation like simple typo fixes or formatting tweaks.
  • The goal is to keep historical drafts or archives rather than remove redundancy.

Core Principle

Critical evaluation before deletion. Never blindly delete. Analyze each section's unique value before proposing removal. The goal is reduction without information loss.

Workflow

Phase 1: Discovery

  1. Identify all documentation files covering the topic
  2. Count total lines across files
  3. Map content overlap between documents

Phase 2: Value Analysis

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:

  • Keep: Unique, essential, frequently referenced
  • Condense: Valuable but verbose
  • Delete: Duplicate, one-time, self-evident, outdated

See references/value_analysis_template.md for detailed criteria.

Phase 3: Consolidation Plan

Propose target structure:

```

Before: 726 lines (3 files, high redundancy)

After: ~100 lines (1 file + reference in CLAUDE.md)

Reduction: 86%

Value preserved: 100%

```

Phase 4: Execution

  1. Create consolidated document with all valuable content
  2. Delete redundant source files
  3. Update references (CLAUDE.md, README, imports)
  4. Verify no broken links

Value Preservation Checklist

Before finalizing, confirm preservation of:

  • [ ] Essential procedures (setup, configuration)
  • [ ] Key constraints and gotchas
  • [ ] Troubleshooting guides
  • [ ] Technical debt / roadmap items
  • [ ] External links and references
  • [ ] Debug tips and code snippets

Anti-Patterns

| 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 |

Output Artifacts

A successful cleanup produces:

  1. Consolidated document - Single source of truth
  2. Value analysis - Section-by-section justification
  3. Before/after metrics - Lines reduced, value preserved
  4. Updated references - CLAUDE.md or README with pointer to new location

More from this repository10

🎯
codeql-database-building🎯Skill

Builds comprehensive CodeQL security analysis databases for Go, Python, and JavaScript codebases in a single automated workflow.

🎯
commit-batching🎯Skill

Batches and commits multiple staged files with a single, auto-generated descriptive commit message based on the changes.

🎯
obsidian-markdown🎯Skill

Generates and edits Obsidian Flavored Markdown with wikilinks, embeds, callouts, and custom metadata.

🎯
security🎯Skill

Conducts comprehensive security audits by scanning code for critical vulnerabilities, prioritizing high-impact risks with detailed exploit paths and remediation guidance.

🎯
prompt-optimizer🎯Skill

Optimizes prompts by analyzing and refining input to improve AI model performance and response quality.

🎯
skill-installer🎯Skill

Installs Codex skills from curated, experimental, or custom GitHub repositories with easy-to-use helper scripts.

🎯
obsidian-bases🎯Skill

Generates and configures dynamic, database-like views, filters, and summaries for Obsidian notes using `.base` files.

🎯
code-reviewer🎯Skill

Performs comprehensive code reviews of local changes or GitHub PRs, evaluating correctness, maintainability, security, and project standards with professional, structured feedback.

🎯
gh-address-comments🎯Skill

Adds GitHub issue and PR comments with detailed address information for easier location tracking and reference.

🎯
i18n-expert🎯Skill

Automates internationalization setup, audits UI codebases for localization, and ensures consistent translations across en-US and zh-CN locales.