# Format Plain Text

> Use this skill when the user wants to format plain text documents with one sentence per line.

- Skill: `yegor256/format-plain-text` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yegor256/format-plain-text`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yegor256/format-plain-text/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yegor256 (https://skillmd.com/u/yegor256)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yegor256/format-plain-text

---


## Lines

Start every sentence on new line.
Break any sentence over 80 characters across lines.
Split at commas, conjunctions, or clause boundaries.
Use 100 characters as margin for `.tex` files.
Indent every continuation line by two spaces.

## Scope

Apply to Markdown body, TeX paragraphs, and `.txt` prose.
Apply to blockquotes and full-sentence list items too.

## Skip

Skip fenced code and inline code.
Skip frontmatter, tables, headings, and link references.
Skip any line where hard break changes rendered output.

## Reflow

Preserve layout when document already follows these rules.
Reformat only sentences you touch when document does not follow them.
Reflow whole document only when asked.

## Output

Return input text with each sentence on its own line.
Indent every continuation line two spaces.
Preserve every word, punctuation mark, and code span unchanged.

## Done

Confirm every sentence begins on its own line.
Confirm prose lines fit 80 characters, or 100 characters for `.tex`.
Confirm wording and character count match input.

## Example

Reflow this input.

```text
The committee approved the budget. Work starts on Monday.
```

Return this layout.

```text
The committee approved the budget.
Work starts on Monday.
```

