/rightsize:rightsize [audit | write | rewrite] [path | PR | branch | pasted text | brief] [--dry-run]from rightsize
Audits, writes, or rewrites design docs, ADRs, plans, specs, and policies to eliminate overengineering and prevent oversimplification. Useful when reviewing architecture or drafting project documentation.
Ships in rightsize. 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.
Read when SKILL.md points to them.
Make work the minimum adequate system: it meets its required outcomes and constraints with the least burden. Overbuilt work has what it does not need; oversimplified work lacks what it does need. All three modes use the rules in references/rules.md:
Run in this conversation, never in a subagent: only this conversation holds the work, the material and your notes, and only it can ask the user.
Paths are relative to this skill's directory. Outside Claude Code:
| Claude Code feature | Fallback |
|---|---|
| AskUserQuestion | Ask in plain text and wait for the answer |
| Edit and Write | Use the agent's file-edit tool (apply_patch in Codex). If the sandbox blocks the write, request escalation |
| Arguments | Take them from the user's request |
Invocation arguments: $ARGUMENTS
If that line is empty or still shows the literal placeholder, take the subcommand, target and flags from the user's request. An empty request is normal: the conversation then holds the work and the intent.
| Subcommand or flag | Purpose |
|---|---|
audit | Audit the target and report broken rules, issues, gaps and suggestions |
write | Write a new document or message from the brief and the material it names |
rewrite | Rewrite the target document or message and report the content changes |
--dry-run | write and rewrite: print the text in chat instead of writing the file |
If the first word is audit, write or rewrite, it is the subcommand, and the rest is the target or the brief. Otherwise infer the subcommand from the arguments, then from the user's latest messages in this conversation. Use the first case that applies:
write: they ask for a document or message that does not exist yet ("we need a design doc for this", "turn these notes into a plan", "write the announcement"), or they collected material for one and no draft exists.rewrite: they ask to change an existing document or message, in a file, pasted or earlier in this conversation: shorten, simplify, slim down, clean up, restructure or fix it. A document or message that you just wrote is not a reason to rewrite it.audit: they ask whether work is too complex, too simple or justified; the target is code, a diff, a PR or a branch; or nothing points to write or rewrite.Two cases equally likely, one of which changes a file: ask once with AskUserQuestion. State the inferred subcommand in the first line of your reply only when the user named none and the case was not plain.
Read the mode's file in full before you start, and follow it:
agents/openai.yaml (opens in a new tab)references/audit.md (opens in a new tab)references/documents.md (opens in a new tab)references/prose/elements-of-style.md (opens in a new tab)references/prose/lossless-method.md (opens in a new tab)references/prose/patterns.md (opens in a new tab)references/prose/usage.md (opens in a new tab)references/prose/voice-guide.md (opens in a new tab)references/rewrite.md (opens in a new tab)references/rules.md (opens in a new tab)references/write.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub smykla-skalski/sai --plugin rightsize