Righter

From ommakes/Skills · View interactive version

Righter is an AI agent skill from the GitHub repository ommakes/Skills. Apply UX content writing principles to review existing UI copy or write new UI copy from scratch. Use this skill whenever someone asks you to: review, audit, critique, or improve UI text, error messages, button labels, tooltips, empty states, permission prompts, onboarding copy, form helper text, ac

How to use this skill

Skill file

Righter

A UX writing skill. Review existing UI copy against a defined set of principles, or write new copy from scratch applying those principles from the start.

Reference files: read these when relevant:

Every numbered principle below and every rule in Error Message Guidelines carries a stable id in backticks. Cite the id, not the number, when referencing a rule from outside this file (numbers shift when principles are added or reordered).


How to Use This Skill

If a vois_get_microcopy tool is available in your environment, call it first before writing or reviewing any copy.

The vois_get_microcopy MCP tool returns workspace-specific copy rules, approved terminology, and tone overrides that take precedence over the general principles in this skill. If the workspace has an entry for the copy type you're working on, use it. Don't improvise.

Tool: vois_get_microcopy
Arguments:
  context: <description of the UI context, e.g. "destructive confirm button for invoice deletion">
  intent: <what the user just did or is about to do, e.g. "user clicked Delete on an invoice list row">
  constraints: <optional object>
    maxLength: <optional positive integer, maximum character count>
    placement: <optional one of: button | title | description | helper | toast | error | label>
    tone: <optional one of: neutral | warning | celebratory>

There is no copy_type argument on the real tool: context and intent are both required; placement (nested under constraints, and a different set of values than "copy type") is the closest equivalent, and it's optional.

Resolution order (returned as provenance on the response):

  1. WORKSPACE_OVERRIDE: use this verbatim, no changes
  2. KNOWLEDGE_BASE: apply as a strong starting point, adapt if needed
  3. LLM_FALLBACK / NO_MATCH / tool not available: apply the principles in this skill directly

When falling back to the principles, note it at the top of your output: Source: LLM fallback (no vois_get_microcopy tool available, or no workspace/knowledge base match for this copy type).

When the tool is available, it logs every query. When you write copy that isn't in the knowledge base, it gets flagged for human review and may become a new entry. This is how the system improves. This logging has no effect on how you should write or review copy either way.


Two Modes

Mode 1: Review Existing Copy

For each piece of content:

  1. If vois_get_microcopy is available, call it with the relevant context and intent
  2. Check against the review checklist below
  3. Identify every violation
  4. Rewrite it
  5. Output in the review format below

Mode 2: Write New Copy

  1. If vois_get_microcopy is available, call it with the relevant context and intent
  2. Apply all relevant principles
  3. For labels, CTAs, and microcopy: query data/phonaesthetics.json and apply sound guidance
  4. For copy that's allowed personality (marketing surfaces, taglines, empty states, and feature names; not error messages or system copy): query data/rhetorical-devices.json and consider one device before settling for plain phrasing
  5. Output in the new copy format below

Output Formats

Review format

Use this block for every piece of copy reviewed:


Before: [original copy]

After: [rewritten copy]

Source: [Workspace override | Knowledge base | LLM fallback]

Principles applied:

Weakeners removed:

Phonaesthetics:

Rhetorical device:

Reading metrics (Before → After):


New copy format


Copy: [final copy]

Source: [Workspace override | Knowledge base | LLM fallback]

Principles applied:

Weakeners avoided:

Phonaesthetics:

Rhetorical device:

Reading metrics:



UX Writing Principles

Apply all of these when reviewing or writing. These are the fallback when vois_get_microcopy is unavailable or returns LLM_FALLBACK/NO_MATCH.

1. Use active voice `id: active-voice`

Subject → verb → object. Active voice is shorter and easier to follow.

2. Write at or below a fifth grade reading level `id: reading-level`

Short sentences. Simple words. Clear structure. Target ARI ≤ 6. This is the default consumer target. See Audience and Reading Target for other tiers.

3. Avoid jargon `id: avoid-jargon`

Replace technical terms with plain language. Don't assume domain knowledge.

4. Avoid complex sentence structures `id: simple-sentences`

One idea per sentence. Avoid dependent clauses stacked on independent clauses.

5. Avoid double negatives `id: no-double-negatives`

Double negatives increase misreads and cognitive load.

6. Use contractions `id: use-contractions`

Contractions sound human. Formal constructions feel stiff.

7. Write in present tense `id: present-tense`

Describe what's happening now or what the user can do.

8. Frame around the user's goals, not the system `id: user-goal-framing`

Users care about what they're doing, not how the system works.

9. Avoid describing the interface `id: no-interface-references`

Don't reference UI elements like "tab," "panel," "menu," "page," or "section."

10. Use consistent terminology `id: consistent-terminology`

Pick one word for each concept and stick to it.

11. Apply progressive disclosure `id: progressive-disclosure`

Lead with what the user needs now. Offer detail only when needed.

12. Don't apologize unnecessarily `id: no-unnecessary-apology`

Reserve "sorry" for serious errors. Hollow apologies undermine trust.

13. Limit exclamation marks `id: limit-exclamation-marks`

Use words to convey energy, not punctuation. One per screen max, only for genuine celebration.

14. Check prepositions `id: check-prepositions`

Prepositions sit between two nouns. Never start or end a sentence with one.

15. Eliminate weakeners `id: eliminate-weakeners`

Remove all hedging words, softeners, empty intensifiers, filler adverbs, throat-clearing, passive-aggressive politeness, vague quantifiers, redundant framing, weak verb phrases, and meta-commentary.

Load data/weakeners.json. Check the copy against every category's terms

(or replacements for the weak-verb-phrases category, which is pairs, not

a flat list). Each category carries its own description and example;

surface those in your output instead of re-deriving them.

Key patterns to catch immediately:

16. Don't use em dashes `id: no-em-dashes`

Em dashes read as a hedge in short-form UI copy and are a well-known AI writing tell. Use a period, comma, or colon instead.

17. Reach for a rhetorical device before settling for plain phrasing `id: rhetorical-devices`

Applies only to copy that's allowed personality: marketing surfaces, taglines, feature names, empty states, onboarding. Skip entirely for error messages, form fields, and system copy. There, plain and literal beats clever every time.

Query data/rhetorical-devices.json. Pick at most one device per surface. Stacking two reads as trying too hard, not as clever.

On marketing pages the word limits in data/marketing-limits.json win. A device has to fit inside the slot's limit. If it doesn't, cut the device.

18. Make copy work without the visuals `id: accessible-copy`

Screen reader users often hear labels and links as a list, out of context. Write copy that still makes sense that way. Detail and the brevity trade-off are in references/accessibility.md.

19. Don't invent claims or commitments `id: no-invented-claims`

Never write a number, time, guarantee, price, legal term, or compliance or security claim that the product team or legal didn't give you. A made-up promise reads as a real one and becomes a support ticket or a legal problem.

20. Keep personal data out of shared copy `id: no-pii-in-copy`

Don't put personal data in copy that gets logged, shared, previewed, or shown outside the screen: error messages, toasts, page titles, URLs, push and email subjects, notification previews, and analytics labels. Name the record by its role, or mask the value.


Error Message Guidelines

Apply these on top of the general principles when reviewing or writing error messages.

Structure `id: error-structure`

Every error must answer:

  1. What happened? (required) id: error-what-happened
  2. Why? (only if it genuinely helps) id: error-why
  3. What should they do next? (required) id: error-next-step

Voice and tone `id: error-voice-and-tone`

Mechanics `id: error-mechanics`

Don't blame the user `id: error-no-blame`

Describe the situation, not the mistake.

Form field vs system errors `id: error-field-vs-system`

Other rules `id: error-other-rules`

Component decision tree `id: error-decision-tree`

Use this before writing any error message to pick the right component. Then look up that component's id in data/components.json for full writing rules. A shared shared_prefix_format block covers the "Action Required:" / "Approval Required:" / "Review:" / "Verify Now:" prefixes used by Alert Dialog, Inline Alert, and Alert Banner.

Walk the questions in order and stop at the first "Yes". Don't keep checking once one matches.

Does it block progress and require immediate action?
  └─ Yes → Alert Dialog

Is it a system-level issue (outage, permissions, account)?
  └─ Yes → Alert Banner

Is it confirming something that just happened?
  └─ Yes → Toast

Is it attached to a specific form field?
  └─ Yes → Helper Text

Is it contextual to a page section, non-blocking?
  └─ Yes → Inline Alert

Is it a hover label for an icon or interactive element?
  └─ Yes → Tooltip

None of the above?
  └─ Default to Inline Alert, the safest non-blocking option until the case is clear enough to fit one of the rows above

Other components

The tree above is for errors only. For non-error surfaces, look up the component by id in data/components.json:

Table copy. Tables use the components above. An empty table is empty-state. A validation message on one editable cell is Helper Text. A table-level partial failure, such as an import where some rows failed, is an Inline Alert above the table, not an Alert Banner. A bulk delete confirmation is an Alert Dialog. A failed single-row action is a judgment call: anchor it to the row and say which component you picked.


Phonaesthetics

When writing new copy, especially labels, CTAs, empty states, and microcopy, consider sound alongside meaning. Copy that sounds good is easier to remember and more pleasant to use.

Query data/phonaesthetics.json for the full concept guide and sound cluster table.

Core rules to apply immediately:

Sound clusters to reach for:


Audience and Reading Target

The reading target depends on who the copy is for. Pick a tier, then score against it.

| Tier | Use when | ARI target | Grade |

|---|---|---|---|

| consumer (default) | General public, consumer apps, marketing-adjacent UI | ≤ 6 | Grade 5 |

| professional | Work tools where users know the domain | ≤ 10 | Grade 9 |

| technical | Developer or admin tools | ≤ 12 | Grade 11 |

Choose the tier in this order:

  1. If vois_get_microcopy returns a tier or audience, use it.
  2. If the person states the audience or product type, infer the tier from that.
  3. Otherwise use consumer. If the audience is unclear, stay on consumer. Don't guess upward.

Reading Metrics

Calculate and show these for all reviewed and written copy.

If Node is available, run node scripts/ari.mjs "<copy>" (or node scripts/ari.mjs --before "<old>" --after "<new>" for reviews) instead of computing the formula by hand. Multi-step arithmetic done in-context is error-prone; the script is deterministic. Fall back to the formula below only if Node isn't available in the environment.

ARI Formula

ARI = 4.71 × (characters ÷ words) + 0.5 × (words ÷ sentences) − 21.43

Round to one decimal place. Always include grade and age range.

Grade Level Table

| ARI | Grade | Age |

|---|---|---|

| 1 | Kindergarten | 5–6 |

| 2 | Grade 1 | 6–7 |

| 3 | Grade 2 | 7–8 |

| 4 | Grade 3 | 8–9 |

| 5 | Grade 4 | 9–10 |

| 6 | Grade 5 | 10–11 |

| 7 | Grade 6 | 11–12 |

| 8 | Grade 7 | 12–13 |

| 9 | Grade 8 | 13–14 |

| 10 | Grade 9 | 14–15 |

| 11 | Grade 10 | 15–16 |

| 12 | Grade 11 | 16–17 |

| 13 | Grade 12 | 17–18 |

| 14+ | Professional | 18+ |

Target: ARI ≤ 6 (Grade 5, age 10–11) for the default consumer tier. Other tiers are in Audience and Reading Target above.


Label pairs for motion morphs

A label morph animates only the part of a label that changed. That works only

when the words are right, so righter approves every pair before a component

builds a morph.

For each pair, check:

  1. Both labels pass the principles above on their own.
  2. The pair shares text at the start or end, so the change reads at a glance

(Save to Saved, Review order to Submit order). A pair with no shared

text is a crossfade, and righter says so.

  1. The new label names the step it moves to. Continue to Pay $42 changes

the commitment, so the approved pair must say that.

  1. The longer label fits the narrowest width the component supports.

Record the result in a Motion pairs block with the review or the copy handoff:

Motion pairs
- "Save" -> "Saved": approved, morph (shared prefix "Save")
- "Continue" -> "Pay $42": approved, crossfade (no shared text)
- "Cancel order" -> "Confirm": rejected, rewrite the new label or use a crossfade

Gate: a component builds a label morph only from a pair marked approved. An

unapproved or unlisted pair gets no morph code. Its label crossfades or swaps

instantly, and the copy goes back to righter.



Review Checklist

Run through this for every piece of copy before finalizing.

Before starting

Voice and structure

Clarity

Tone

Claims and data

Mechanics

Personality (marketing/taglines/empty states/feature names only)

Marketing pages (only)

Errors (if applicable)


Maintaining This Skill

evals/cases.json is a fixed regression corpus: copy paired with the rule ids a correct review must flag. It isn't wired to an automated scorer; when you change a principle, a data file, or the decision tree, manually re-review each input and confirm the same ids (and expected_component, where set) still come out right before publishing the change.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.