From sd0x-dev-flow
Refactors documents by simplifying content, converting paragraphs to tables, and visualizing flows with sequence diagrams. Useful for condensing long docs while preserving key information.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sd0x-dev-flow:doc-refactorThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Keywords: refactor doc, simplify document, doc-refactor, condense document
/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>
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowDEPRECATED: Summarizes verbose technical docs with 40% length cap, paths-first format, and tables. Retained for reference as base models now handle this natively.
Mechanically tightens prose by restructuring sections, splitting/merging paragraphs, and removing redundancy. Preserves voice, register, and tone. Use for compressing plan files, READMEs, ADRs, and design docs.
Creates, edits, and analyzes .docx files with text extraction, raw XML access, tracked changes, and redlining workflows for professional document processing.