Skill library

Agent skill Review & testing

Better Writing

Review the accessibility of visible web interface elements and interactions.

  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add jakubkrehel/skills --skill better-writing --agent claude-code --yes

Check this file in your project.claude/skills/better-writing/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add jakubkrehel/skills --skill better-writing

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Have the route, locale strings, expected states and approved link destinations.

View operation manual

What this skill helps with

  • Review the accessibility of visible web interface elements and interactions.

Good for

  • Accessible interfaces
Skill name
better-writing
Workflow
Make search results copy actionable
Deliverable
Localized messages and actions that match the site’s vocabulary and actual behavior.
Skill name
better-writing

Keep the request tied to one real task

A broad request

Make every empty state funny and say “Try again.”

No records, no matching filters, and a failed request require different next actions.

A checkable workflow

  1. Inventory the existing terms and states
  2. Write one direct next action per state
  3. Check the words against the running flow

Better Writing operation manual

Distinguish an empty workspace, an unmatched search, and an error while keeping project terminology consistent.

Replace the bracketed details with the component, route, or source you want to use.

  1. Inventory the existing terms and states

    Find which messages the route can actually show.

    Prompt · Step 1
    Use better-writing to review [search route and supported locales]. Find translation keys or API copy, then identify the three states actually available: empty workspace, no matching results, and request failure. Record the product’s current nouns, action verbs, tone, and capitalization. Confirm what action each state already supports and list the relevant files and keys.
  2. Write one direct next action per state

    Use a clear recovery option and project vocabulary.

    Prompt · Step 2
    Use better-writing to draft copy for [confirmed empty and error states]. If the workspace is empty, explain its purpose and link to the existing creation action. If filters match nothing, name the applied query when appropriate and offer the existing clear action. If the request fails, state the failure and one available recovery. Use whole localization messages with placeholders or plural rules where needed. Keep copy aligned with the existing actions.
  3. Check the words against the running flow

    Open each state and try its stated next step.

    • Each state offers the action it can actually perform.
    • Terminology and whole-message interpolation remain consistent.
    Prompt · Step 3
    Use better-writing to verify [approved search copy] on [local route]. Check existing locale keys, whole message interpolation and plural behavior when counts are shown. Trigger each available state with test data and follow its action to verify the wording matches the outcome. Check that long queries remain understandable in both target locales and report missing states or translations.

Find the relevant rule

Provide the actual target and point to the installed reference.

A generic empty message leaves users stuckReference
Command or reference
SKILL.md · Empty states point forward
Examples
Identify the empty condition and choose one real next action.
Translated strings are concatenatedReference
Command or reference
patterns.md · Plurals and placeholders
Examples
Move the value into a whole message and use locale plural rules where needed.

Better Writing troubleshooting

Can I replace a repeated product term with a clearer synonym?

Check the existing name used for the same object or action. Keep terminology consistent across the task unless a terminology change is in scope.