Write clear, helpful error messages that tell users what happened and how to fix it. Use when asked to write an error message, validation text, a failure/empty-error state, or to rewrite a cryptic system error. Produces human, blame-free error copy — what went wrong, why (if useful), and the next step — with options per surface (inline, toast, full page) and the related success/empty states.
Last scored 2026-10-18 on claude-sonnet-4-6 (5.00 of 5). The skill may have been edited since, and a newer model may behave differently. With and without comparisons are in the uplift ledger.
“Write an error message.”“Write validation text for this form.”“Rewrite this cryptic system error.”“Make our error messages less blaming.”“Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/error-message-writer.html”
What to give it
▸What failed — the action or system, and the likely cause(s).
▸The surface — inline field, toast/snackbar, modal, or full-page error.
▸Recovery — what the user can actually do (retry, fix input, wait, contact support).
▸Voice & constraints — tone, length limits, and whether a support/error code is needed.
✅ The bar it holds itself to
Every skill in this library self-verifies — these are this skill's own quality checks, straight from its definition.
✓States what happened in plain language — no codes, no jargon, no stack traces shown to the user
✓Gives a concrete next step the user can take
✓Blame-free — never "you entered it wrong"; focus on the fix
✓Tone matches severity (minor validation vs. serious failure)
✓Variants fit the surface (inline vs. toast vs. full page) and any length limits
✓Separates what to log (technical) from what to show (human)
⚠️ What it refuses to do
Do not show raw/technical errors ("Error 500", "null pointer") to end users
Do not blame the user ("Invalid input") — say what to do instead
Do not write a dead-end ("Something went wrong") with no next step
Do not be jokey about serious failures (payment, data loss) — match the tone to the stakes
Do not bury the action — the recovery step should be obvious
Install
npx pm-claude-skills add --agent claude # or codex · cursor · gemini · hermes
# or one-line MCP (every skill, any client):
claude mcp add pm-skills -- npx -y -p pm-claude-skills pm-claude-skills-mcp