Format plain text
A collection of skills for an AI agent that helps writing texts
npx -y skills add yegor256/critic --skill format-plain-textAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill when the user wants to format plain text documents with one sentence per line.
SKILL.md
1.4 KB, as published. Nobody here has run it
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.
The committee approved the budget. Work starts on Monday.
Return this layout.
The committee approved the budget.
Work starts on Monday.