/rain-prose-style:rain-prose-stylefrom rain-prose-style
How Rain (sunshowers) writes: plain, conversational, complete sentences that spell out the reasoning, drawn from their blog (sunshowers.io), nextest code comments, and commit messages. Use whenever writing prose that Rain will read or that goes out under their name: code comments, doc comments, commit messages, PR descriptions, changelogs, user docs, design notes, blog drafts, and explanations in chat. Also use when reviewing or rewriting comments and docs for clarity.
Ships in rain-prose-style. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rain's writing is plain, warm, and complete. A reader who doesn't share the writer's context can follow every sentence on the first read. It never sounds compressed, clever, or telegraphic. If a sentence would make someone ask "what in the world does that mean?", it has failed, however accurate it is.
This skill came from reading Rain's blog posts (sunshowers.io), the code comments and commit messages in nextest, and from Rain's reaction to comments like this one:
// sh's quoting whatever musubi runs on, unlike `ui::shell_word`, which quotes for the
// platform's own shell: these tests run on Windows too.
Every fact in that comment is true, and it's still unreadable. It drops words ("sh's quoting [is used] whatever [platform] musubi runs on"), it chains clauses with a colon instead of saying how they connect, and it assumes the reader already knows why Windows matters. The rest of this skill is about not writing like that.
Use subjects, verbs, and articles. Don't drop words to save space. Say how ideas connect with ordinary words: "so", "because", "but", "since", "which means", "as a result". Don't use a colon or semicolon to stand in for a connection you haven't stated.
-s hangs on maintenance."-s, because svcadm disable -s waits
forever if the instance goes into maintenance."Rain's comments state the reason in full, often with "so" or a parenthetical:
// Use create_new to ensure the file doesn't already exist. (It
// shouldn't, since we create a temporary directory for it.)
// This is the default value, but let's make it explicit.
// BufReader is still needed for read_until().
// A store format 2.x entry has `build-scope-args`, which this nextest
// ignores. We must still be able to load the entry.
If a decision depends on a fact the reader might not know, state that fact. Don't make them reconstruct the chain.
Rain's posts start with an example, a code block, or a command and its output, and only then explain the concept. "Let's say you're creating a temporary directory..." "Let's look at an example..." In a comment or an explanation, a specific case ("a path with a space in it") beats an abstract one ("words that need quoting").
The first time a term matters, define it, in italics in docs and posts: "The period during which the lock is held is called the critical section." Don't introduce private shorthand, and don't name a code identifier as though the reader already knows what it does.
Start with what the item is or does, in one plain sentence ("Creates a new TestFilter from
the given patterns."). Then add behavior a caller needs to know: edge cases, errors, and
platform differences.
The subject is an imperative summary. The body follows a set shape:
pymdownx.snippets instead."Example, from nextest:
The run log is decompressed as a stream, and each line was read in full with read_line. A crafted recording could compress a huge single line into a small run.log.zst, and replay would read all of it into memory.
Cap each line at MAX_MAX_OUTPUT_SIZE, the same limit used for files in the archive. Lines over the limit fail with an error.
backticks for code, commands, file paths, and config keys, italics for a term
being defined, and bold for a key claim.Before:
// sh's quoting whatever musubi runs on, unlike `ui::shell_word`, which quotes for the
// platform's own shell: these tests run on Windows too.
After:
// SMF runs this command line with sh, so it always needs sh's quoting. We can't use
// `ui::shell_word` here: it uses Windows quoting when musubi is built for Windows, and the
// tests for this function run on Windows too.
Better still, change the code so that the comment isn't needed: split the sh-only quoting
into its own function named sh_word, and call it here.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sunshowers/sunshowers-skills --plugin rain-prose-style