/omniagents-writing:technical-writing [write|review] <doc, diff, or topic>from omniagents-writing
Use when writing, rewriting, or reviewing technical prose that instructs or informs: docs pages, READMEs, tutorials, how-to guides, runbooks, reference pages, explanations, PR descriptions, commit messages, changelogs, or release notes. A layered standard: Diátaxis modes, Google developer style, ASD-STE100 rules, and Global English syntax.
Ships in omniagents-writing. 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; scripts run unread.
Write so a tired engineer understands on the first read. Apply all four layers.
Three rules sit above the layers:
The codebase is the word list. Write the real symbol, file, flag, or command
name in code font. Don't use a synonym or a description of it: write "set
retry_budget", not "set the retry allowance".
Don't invent jargon. Use the words a developer would say out loud: "move",
"delete", "a budget that only decreases", not "evacuate", "ratchet", or
"endgame". A named pattern is fine when the doc says what it means the first
time. Terms of art are not metaphors, so "cache", "thread", and "handshake"
stay. When you meet a new offender, propose it and its plain replacement in your
reply as an addition to references/slop-patterns.md. Don't edit this skill's
files during a writing task.
This skill governs prose that instructs or informs. Neighbor skills own the rest:
measured-persuasion owns documents that ask the reader to decide, such as a
proposal, a strategy memo, or the case for an RFC. It owns their argument and
voice. This skill still governs the background, design detail, and rollout
steps around that argument.markdown-conventions owns Markdown syntax: fences, tables, list markers, and
link forms.documentation-and-adrs skill is present, that
skill owns both.docstrings skills own the structure of API docs inside code. This skill
governs their sentences.When two rules collide, the earlier item in this list wins:
STYLE.md,
CONTRIBUTING.md, or .vale.ini.Edit only what the user asked you to edit. Apply the standard to the text that you write and to the text that the user asked you to fix. Leave the rest, and name its problems in your reply when they matter.
A doc can obey every layer and still read machine-written: every sentence clipped short, no view anywhere, nothing specific.
One document, one mode. Two questions pick it. The first: does the content inform action (doing) or understanding (thinking)? The second: does it serve learning or work? Diátaxis calls this pair of questions its compass.
Use the compass on a whole document or on one sentence. A sentence that answers a different question from its document belongs in another document.
Tutorial: learning by doing. The learner's success is your job, not theirs.
How-to: steps to a goal. Solve a problem that a person has, not an operation that the machine can perform.
Reference: facts for lookup. Only describe. No procedures, no persuasion, no opinion.
b unless c is set."Explanation: understanding and why. One bounded topic, readable away from the product.
Don't mix modes: no reference tables inside a tutorial, no tutorial hand-holding
inside reference, no arguing inside a how-to. Split and link instead. For each
mode's skeleton, the signs that another mode leaked in, and a map from common
doc types to modes, read references/modes.md.
references/word-list.md.migrate --apply
drops every table that it can't convert."A wrong command costs the reader more than a clumsy sentence. Before the doc ships, run these checks:
--help or the source, and say in your reply that you didn't
run it.HEAD.<project-id>, and say what goes there.Commit messages, PR descriptions, and changelog entries are writing too. Every
layer except Diátaxis applies to them. Follow the repo's convention first: read
git log --oneline -20 and the PR template, if there is one.
pytest tests/api passed, 212 tests", not "all tests
pass".Templates, before-and-after examples, and changelog rules are in
references/commits-and-prs.md.
Read the draft once more for the tells that mark text as machine-written, and
remove them. The full catalog is references/slop-patterns.md. The common tells
are these:
Name the reader and the one task or question the doc serves. If you can't say it in one sentence, fix that first.
Pick the mode. If the request spans two modes, write two docs and link them.
List the nouns that the doc depends on. Give each one name, taken from the code.
Draft in the mode's skeleton from references/modes.md.
Prove the facts: run the commands and check the paths.
Revise in layer order: mode, headings, sentences, then words and tells.
Run the repo's prose linter if it has one, such as vale. Then run the
bundled checker on each file:
python3 ${CLAUDE_SKILL_DIR}/scripts/lint_prose.py <file>...
The scripts directory sits next to this file. Fix every error. Treat a
warning as a question: fix it unless the fix makes the sentence worse.
Read the whole doc before you mark anything.
Open the report with one sentence that names the question the doc answers and its mode. Then say what already works, and keep it. A review that replaces the author's voice with yours has failed.
Check in this order: mode and structure, facts, headings, sentences, then words and tells. A structural fix can delete the sentences that a later pass would polish.
Run the checker from step 7 of "Write a doc". Treat each hit as a lead, not a verdict.
Report each finding in this shape. List the findings that make the doc wrong first, the findings that cause a misread second, and style last.
<file>:<line> <wrong | misread | style> <rule>
Quote: "<the text as written>"
Rewrite: "<your version>"
Rewrite only when asked. Otherwise, offer to apply the fixes.
Before:
Configuration of the proto import ratchet budget script parameters is performed via budget.json. Note that it's important to remember that running with --write, which updates the committed budget to reflect the current count, should only be done when lowering it. If exceeded, CI fails.
After:
budget.mjsreads the committed budget frombudget.jsonand counts the files that import protos. If the count exceeds the budget, CI fails. Runbudget.mjs --writeonly to lower the budget.
The rewrite names the real files and gives the sentence an actor. It moves the
condition first and puts "only" next to the purpose that it limits. The filler
and the metaphor are gone. More pairs, one for each layer and mode, are in
references/examples.md.
references/modes.md: a skeleton and the leak signs for each mode, plus a map
from common doc types to modes. Read it before you draft or restructure a doc.references/word-list.md: plain-word swaps, words with two meanings,
inclusive terms, and formats for dates and units. Read it when you revise
words.references/slop-patterns.md: the catalog of machine-writing tells. Read it
before the final pass.references/commits-and-prs.md: commit messages, PR descriptions, changelog
entries, and release notes, with templates. Read it before you write any of
them.references/examples.md: before-and-after rewrites for each layer and each
mode.scripts/lint_prose.py: the checker. It flags only the rules that a pattern
can catch. Run it with --list-rules to see them.What SKILL.md sets; muted values are Claude Code's defaults
Trigger for "document this", "write the README", "make this clearer", "tighten this up", "review this doc", "write the PR description", "commit message", "release notes", "runbook", "Diátaxis", or prose that reads machine-written. Do not draft or review documentation without loading this skill first. Persuasive memos and RFC arguments go to measured-persuasion. Markdown syntax goes to markdown-conventions.
inheritnpx claudepluginhub gao-hongnan/omniagents --plugin omniagents-writing4 skills in this plugin
/blueprintGenerate standalone HTML + inline-SVG technical diagrams that come out format-clean every time — text that always fits its box, arrows that actually connect, no overlaps, no drift. Works by planning a coordinate grid first and sizing every box with monospace arithmetic instead of guessing pixels, then self-checking the geometry before delivery. Output is a single self-contained .html file (no build step, no dependencies) that opens in any browser./markdown-conventionsUse when authoring or reviewing Markdown, CommonMark, GitHub-Flavored Markdown, MyST, README files, docs pages, Markdown tables, fenced code examples, links, images, citations, or markdownlint / Prettier output./Other plugins' skills for the same job