New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Prose transformation plugin that synthesizes, distills, and checks drafts against a house style rubric.

version
1.4.5
GitHub stars
60
View on GitHub

What it does

  • Adds /prose:synthesize, /prose:distill, and a prose-check skill for drafts before they ship
  • Covers unstructured notes, verbose text, and outward-bound drafts such as PR bodies, issues, and docs
  • Runs vale, harper, and a positional-tic script, flagging findings as candidates for judgment rather than defects
  • Designed for writers who want a self-check against a fixed house rubric before posting to GitHub

Prose transformation and style control - synthesis, distillation, tone, voice, clarity, and consistency for written text

Add marketplace

/plugin marketplace add laurigates/claude-plugins

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install prose-plugin@laurigates-claude-plugins

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

/prose:check

Run a draft through the house prose rubric before it ships.

When to Use This Skill

Use this skill when...Use something else when...
A PR body, issue body, doc, rule, or commit body is drafted and about to shipThe text is already written and just needs shortening — use prose-distill
Checking whether a draft carries the three tics communication.md says to cutTurning notes into a plan — use prose-synthesize
A long answer needs a TL;DR (ELI5) footer decisionThe artifact must survive a zero-context reader — use agent-patterns-plugin:cold-read-gate
Wording a ticket body in the neutral registerAssembling the GitHub issue itself — use git-plugin:github-issue-writing

Not for chat responses that never hit a file — there is nothing to lint. Draft to a file first if you want the check.

The Rubric This Encodes

~/.claude/rules/communication.md is the canonical source. It names three forms to cut on sight:

FormShape
Chiasmus / mirrored clausesA-not-B, B-is-A — content mirrored across a pivot
Significance-assertiontelling the reader the fact matters instead of stating it
Aphorism / general maxima sentence that would work as a standalone epigram

The tell is position plus shape: the sentence lands at the end of a paragraph or section, and it generalizes past the specific claim.

Everything under styles/House/ and in scripts/ is a derived encoding of that rule, not a second source of truth. Each rule file carries a link: back to the rule that owns its criterion. A maintainer check in the marketplace's source repository, check-prose-house-style.sh (it does not ship with the plugin), pins the derived copy against drift.

Execution

bash ${CLAUDE_SKILL_DIR}/scripts/prose-check.sh --kind doc path/to/draft.md
FlagEffect
--kind docdefault; the three tics plus token and grammar layers
--kind answeradds the TL;DR (ELI5) footer check for a complex answer
--kind ticketsame checks; ticket rules (TicketHype, TicketPlaceholder) carry their own weight
--long-words Nparagraph-final sentence word threshold (default 40)
--strictexit 1 when any candidate is found

Read the rollup first — === PROSE CHECK === carries STATUS= and ISSUE_COUNT=. Only open the per-layer sections when the count is non-zero.

Reading the Output — Candidates, Not Verdicts

Every line the script emits is a sentence to judge, not a defect to fix. Whether a mirrored clause is a chiasmus, or a general statement is an aphorism, is irreducibly a judgment call. The deterministic layers exist to narrow the candidate set so that judgment lands on a handful of flagged sentences instead of a whole document — the split in .claude/rules/offload-to-deterministic-substrate.md, applied to writing.

Two consequences worth internalising:

  • A hedge carrying real uncertainty is a true negative that still shows up here. communication.md is explicit: hedges that carry real uncertainty, stated caveats, and explicit noise floors all stay — they are information. Do not strip a Hedge hit reflexively.
  • A document that discusses filler words will be flagged for containing them. prose-distill/SKILL.md scores weak-word hits because listing filler words is its subject matter. That is not a defect in the document or in the check.

Verdict types the script layer emits:

TYPE=Means
significance_assertionparagraph-final sentence carries a portentous noun from the rule's own list
chiasmusparagraph-final sentence has a negation plus content mirrored across a pivot
aphorismparagraph-final sentence restates its own subject in the predicate
long_final_sentenceparagraph closes on a sentence at or above the word threshold
long_sentenceany sentence at or above the threshold — position-independent
missing_tldr_footer--kind answer only; complex enough to warrant a footer, none present

Fixing What You Confirm

communication.md gives the fix in one line: end on the fact. State the mechanism or the number and stop. If the significance genuinely is not obvious from the fact, add one plain clause — never a mirrored or generalizing one.

The script never rewrites. It locates; you decide.

Hook

hooks-plugin/hooks/prose-house-style-nudge.sh runs the same check automatically after a Write/Edit of a .md file and before gh pr create / gh issue create. It never blocks — style is a nudge, per .claude/rules/hook-block-vs-nudge.md — and is opt-in behind CLAUDE_HOOKS_ENABLE_PROSE_CHECK=1.

Agentic Optimizations

ContextApproach
One draft filebash ${CLAUDE_SKILL_DIR}/scripts/prose-check.sh --kind <kind> <file>; read the rollup, open sections only if ISSUE_COUNT > 0
Many filespass them all in one invocation — the script batches and reports per file
Tool missingcheck the *_AVAILABLE=false line before concluding a document is clean
Pre-commit / CIadd --strict to turn candidates into a non-zero exit

For the three-layer architecture, the optional-tool/binary-discovery behaviour, and the vale/segmenter mechanics that bite when adding a House rule, see REFERENCE.md.

Readme

Prose Plugin

Prose transformation and style control for Claude Code. Synthesize, distill, tune, and enforce prose standards.

Overview

This plugin provides skills for transforming and controlling written output — synthesizing unstructured thinking into plans, tightening verbose text, enforcing consistent tone, and maintaining stylistic discipline across documents.

Skills

SkillDescription
prose-distillCompress verbose text to its essence. Lossless condensation — precis, verbal economy, Strunk & White's "omit needless words" as executable practice.
prose-synthesizeSynthesize unstructured thinking into a structured, actionable plan. Takes stream-of-consciousness thoughts and imposes order — goals, actions, priorities, open questions.
prose-checkSelf-evaluate a draft against the house rubric before it ships — the three tics from communication.md, end-on-the-fact, the TL;DR footer. Runs vale, harper, and a positional-tic script; every finding is a candidate for judgment, not a defect.

Planned Skills

SkillPurpose
prose-toneControl register and tone (technical, conversational, formal, neutral)
prose-voiceActive/passive voice enforcement and conversion
prose-claritySentence-level clarity — eliminate ambiguity, simplify without dumbing down
prose-consistencyTerminology and style consistency across a document
prose-rhythmSentence length variation and paragraph cadence
prose-structureDocument-level organization, flow, and information hierarchy
prose-audienceAdapt text for a target audience (developer, executive, end-user)

Usage

Synthesize

Turn stream-of-consciousness thinking into a structured plan:

/prose:synthesize I need to fix the auth system, tests are broken, maybe move to JWT, deployment keeps failing, Sarah mentioned rate limiting, should do a security audit, docs are out of date

Result: structured plan with objective, key decisions, ordered actions, dependencies, and open questions.

Check

Run a draft through the house rubric before it ships:

prose-plugin/skills/prose-check/scripts/prose-check.sh --kind ticket /tmp/pr-body.md

Result: a STATUS= / ISSUE_COUNT= rollup over three layers — vale token rules, harper grammar, and paragraph-final tic detection — with each flagged sentence quoted. Read the rollup first; open a layer only when the count is non-zero.

Distill

Condense verbose text while preserving all meaning:

/prose:distill "The end result of this process is that each and every individual component is tested and verified to ensure and confirm that it meets the required specifications."

Result: "This process verifies each component meets the required specifications."

Plugin Structure

prose-plugin/
├── .claude-plugin/
│   └── plugin.json
├── styles/                      # vale style package (House = derived rubric)
│   ├── .vale.ini                # curated third-party allowlist; E-Prime OFF
│   ├── house-only.vale.ini      # offline fallback, no downloaded packages
│   └── House/
│       ├── Filler.yml
│       ├── Hedge.yml
│       ├── MeanSentenceLength.yml
│       ├── SignificanceAssertion.yml
│       ├── ThroatClearing.yml
│       ├── TicketHype.yml
│       └── TicketPlaceholder.yml
├── skills/
│   ├── prose-check/
│   │   ├── SKILL.md
│   │   └── scripts/
│   │       ├── positional-tics.py   # PEP 723; pysbd
│   │       └── prose-check.sh       # orchestrator
│   ├── prose-distill/
│   │   └── SKILL.md
│   └── prose-synthesize/
│       └── SKILL.md
└── README.md

The House Style Package

styles/House/ encodes ~/.claude/rules/communication.md. It is a derived copy: each rule carries a link: back to the rule that owns its criterion rather than restating the rationale, and scripts/check-prose-house-style.sh in the repo root asserts the derived tokens have not drifted from the source.

Three tools, three limits:

LayerCoversWhy not the layer above it
valetoken shapes, doc metrics, markdown scopingfree code/table/heading skipping; no ordinal scope, so it cannot express "paragraph-final"
harpergrammar, readability, sentence lengthan independent segmenter and a second opinion on length
scriptparagraph-final position + tic shape, TL;DR footerthe position half of "position plus shape"
modelis this a chiasmus?irreducibly judgment

vale, harper-cli, and uv are each optional; a missing one is reported as AVAILABLE=false and the other layers still run.

Automatic Nudge

hooks-plugin/hooks/prose-house-style-nudge.sh runs the same check after a Write/Edit of a .md file and before gh pr create / gh issue create. It never blocks, and is opt-in behind CLAUDE_HOOKS_ENABLE_PROSE_CHECK=1.

Details

Marketplace
laurigates/claude-plugins
Source
prose-plugin
Author
Lauri Gates
Category
Communication
License
MIT
Keywords
prose, writing, style, synthesis, planning, structure, distillation, concision, tone, voice, clarity, editing, prose-check, vale, harper, house-style, linting
Listed since
Apr 7, 2026

More from laurigates/claude-plugins

All 52

Similar to prose-plugin

More Writing & Content