revise
// Structurally edit and improve article drafts — reorder sections, tighten arguments, improve clarity. Use when user asks to "revise", "improve my article", "edit my draft", or "/revise". Don't use for typo fixes or formatting (use prose-fix), code documentation, or non-article content.
| name | revise |
|---|---|
| description | Structurally edit and improve article drafts — reorder sections, tighten arguments, improve clarity. Use when user asks to "revise", "improve my article", "edit my draft", or "/revise". Don't use for typo fixes or formatting (use prose-fix), code documentation, or non-article content. |
name: revise description: Edit prose in place — restructure article drafts (reorder sections, tighten arguments) or polish markdown/text (typos, dashes, filler). Use when asked to "revise", "edit my draft", "improve my article", "fix typos", or "fix dashes" in a doc or post. Don't use for code style or linting (/check), commit messages (/commit), or writing new docs (/to-doc) or articles (/draft).
Revise
Edit prose in place without changing the author's voice or meaning. Preserve code blocks, code references, technical terms, and proper nouns exactly. If no file is given, ask which.
Two depths:
- Full revise — an article draft: steps 1–4.
- Polish only — the ask is typos, dashes, AI tells, or formatting, or the file isn't an article: step 4.
1. Context
Ask for the one takeaway the reader should remember, unless the draft already states it. Assume engineers reading a public post unless told otherwise.
2. Analyze structure
Map the sections as an information DAG — each concept depends on prior concepts. Identify dependency violations (concept used before introduced), redundant sections, missing bridges, a weak intro (hook + expectations) or weak conclusion (does it reinforce the takeaway?).
Present the current outline and a proposed reordering. Wait for confirmation before rewriting. Already well-structured → skip to step 4.
3. Rewrite section by section
Edit in place, one section at a time:
- Lead with the point — first sentence states what the section proves or teaches
- Max 240 characters per paragraph — split longer ones
- Cut ruthlessly — drop sentences that don't serve the section's point
- Smooth transitions — each opening connects to the previous conclusion
- Show, don't tell — concrete examples over abstract claims
Re-read the whole for flow: intro promises what the article delivers, conclusion reinforces the takeaway.
4. Polish
One pass per category, in order: formatting → typos → AI tells → clarity. This pass only removes or substitutes; it never adds words, and never rewrites a sentence that is already clear.
Formatting
| Issue | Replace with |
|---|---|
—, –, or -- (with spaces) | Period, comma, colon, or parentheses depending on context |
Em dash — (no spaces) | Split into two sentences or use comma |
| Double spaces | Single space |
Run grep -nE '—| – | -- ' before and after to confirm none remain outside code.
Typos: misspellings, wrong word form ("teh", "dont"), missing apostrophes in contractions.
AI tells: cut or swap when vague, keep when it's the precise term ("robust estimator").
- "leverage", "utilize" → "use"; "delve into" → "look at"
- Cut "robust", "seamless", "powerful"
- Cut throat-clearing: "it's worth noting that", "let's dive in", "in conclusion"
- "It's not X, it's Y" → state Y
- Cut a closing sentence that only restates its paragraph
- Bold mid-sentence, emoji in headings → plain text
Clarity:
- Remove filler ("very", "just", "really", "basically", "actually")
- Split run-on sentences
- Flatten weak constructions ("is able to" → "can", "in order to" → "to")
Report structural changes (full revise), then polish changes by category.