dsh-doc-defrag: Consolidating Fragmented Markdown into a Few Authoritative Documents

dsh-doc-defrag is a DSH community plugin (by chrischjh) that addresses the Markdown fragmentation and mixed old/new content issues caused by high-frequency AI-generated output. It reads your documents, infers the project type, and offers a default document set for you to choose from. Valuable content is merged into a small number of authoritative files, while the rest is moved into archive/ at the byte level with original paths preserved and an index generated—nothing is deleted. Before any changes, a snapshot and journal are created, and one-click rollback is supported. Only .md files are processed, and the tool is read-only by default until you approve changes. Install with: `dsh plugin add dsh-doc-defrag` or `dsh plugin add github:chrischjh/dsh-doc-defrag`. Typical one-liner trigger: "help me tidy up the project docs."

Read More