prose-guard
Skill4 starsChanged 11 days agoMITView on GitHub
Enforce this user's writing conventions on any human-facing English, chiefly no em dashes, no AI-tell vocabulary, no hedge stacking, and no bullet bloat. Use when writing or editing a README, docs, CLAUDE.md, commit message, PR body, or release note, and whenever asked to review, tighten, de-slop, or humanize writing. Detection runs through scripts/prose_lint.py rather than by reading files.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-contractSkill
- claim-traceSkill
- docs-syncSkill
- llm-evalsSkill
- llm-pipelineSkill
- readme-brandSkill
- repo-scoutSkill
- session-handoffSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run the linter first. Do not read files hunting for violations by hand, that is what the script is for.
- Distinctive: line 40
When you are producing the text rather than reviewing it, apply the hard rules as you write and run the linter once at the end.
- Distinctive: line 42
No em dashes anywhere.
- Distinctive: line 43
Delete the opener. Start on the claim.
- Distinctive: line 45
If a bullet is over forty words, it is a paragraph.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
prose-guard
Order of operations
Run the linter first. Do not read files hunting for violations by hand, that is what the script is for.
python <skill>/scripts/prose_lint.py <paths...>With no paths it lints every git-tracked .md file in the repo. Output is one finding per line as path:line:col [rule] message.
Then fix what it found, and re-run until clean.
Flags worth knowing
| Flag | Effect |
--fail-on medium | Treat medium findings as failures too. Use on docs meant for other people. |
--fix | Rewrites the two unambiguous shapes: a pair of dashes around an aside becomes commas, and a dash after a bold or code term that opens a line becomes a colon. Reports the rest. Re-read the touched lines afterwards. |
--json | Machine-readable, for wiring into a hook or CI. |
--stats | Counts by rule instead of per-line findings. Use on a large first pass. |
Fixing
The rules themselves live in references/rules.md. Read that file when you need the reasoning or the rewrite patterns, not before.
Two rules need judgment rather than a mechanical swap:
- Em dashes. The replacement depends on the clause. A parenthetical takes commas or parentheses. A pivot takes a period and a new sentence. A list intro takes a colon. Do not blanket-replace with commas.
- Medium-severity words.
robust,curated,comprehensive,state of the artand similar are legitimate in technical writing. Keep them where they carry meaning, cut them where they are decoration. Full list and the replacement table are in references/tells.md.
Writing new prose
When you are producing the text rather than reviewing it, apply the hard rules as you write and run the linter once at the end. The four that catch most output:
- No em dashes anywhere.
- Delete the opener. Start on the claim.
- One hedge per sentence, or none.
- If a bullet is over forty words, it is a paragraph.
Scope
Skip files the user has said are stored verbatim, vendored third-party text, and generated output. If a file is exempt for good, add <!-- prose-lint: off --> at the top rather than remembering to pass --exclude every time.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

