From sd0x-dev-flow
Refactors Markdown documents by simplifying without losing information: paragraphs to tables, steps to Mermaid sequence diagrams, duplicates consolidated. Validates line reduction for CLAUDE.md (<50), rules (<30), agents (<50).
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowThis skill is limited to using the following tools:
- Keywords: refactor doc, simplify document, doc-refactor, condense document
Condenses verbose technical documentation into concise developer-focused specs using paths-first, tables-over-prose, and structured markdown output. Deprecated; base model handles natively.
Mechanically tightens prose by restructuring sections by dependency order, splitting/merging paragraphs, and removing redundancy. Use to compress READMEs, ADRs, plan files, design docs without changing voice, tone, or phrasing.
Compresses Claude-facing docs like .claude/commands, hooks, CLAUDE.md by removing duplicates and reorganizing while preserving execution equivalence via validation.
Share bugs, ideas, or general feedback.
/simplify or /refactor)/codex-review-doc)/tech-spec or /create-request)Dispatch to the dedicated doc-refactor agent:
Agent({
description: "Refactor document — simplify without losing information",
subagent_type: "doc-refactor",
prompt: `Refactor the document at: $ARGUMENTS
Follow the task steps and simplification standards defined in this skill.`
})
For the file specified by $ARGUMENTS:
Analyze original content
Refactor
Validate
| File Type | Target Lines |
|---|---|
| CLAUDE.md | < 50 |
| rules/*.md | < 30 |
| agents/*.md | < 50 |
## Refactoring Result
- Original: X lines
- Simplified: Y lines (-Z%)
## Changes
- <summary>