agentleFS
vignesh-nagarajan-vnvignesh-nagarajan-vn/claude-workflow-skills/skills/prose-guard/SKILL.md

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.

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
  1. Distinctive:

    Run the linter first. Do not read files hunting for violations by hand, that is what the script is for.

    line 10
  2. Distinctive:

    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.

    line 40
  3. Distinctive:

    No em dashes anywhere.

    line 42
  4. Distinctive:

    Delete the opener. Start on the claim.

    line 43
  5. Distinctive:

    If a bullet is over forty words, it is a paragraph.

    line 45

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

FlagEffect
--fail-on mediumTreat medium findings as failures too. Use on docs meant for other people.
--fixRewrites 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.
--jsonMachine-readable, for wiring into a hook or CI.
--statsCounts 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 art and 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:

  1. No em dashes anywhere.
  2. Delete the opener. Start on the claim.
  3. One hedge per sentence, or none.
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.