/uxcel:ux-error-recoveryfrom Uxcel Skills
Designs or critiques error recovery flows: prevention, validation, error messages, undo/confirmation, 404 pages, and graceful degradation. Activates when asked to review error states, form validation, or failure handling.
Ships in Uxcel Skills. 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.
None: SKILL.md is the whole skill.
This is a generative skill. Claude's default error handling is the failure mode: it writes "Something went wrong," validates only on submit, blames the user ("You entered an invalid value"), treats every error at the same severity, shouts in ALL CAPS or leaks codes ("Error 403: Forbidden"), offers no way back from a 404, and never thinks about preventing the error in the first place. Good error recovery inverts that. Its first move is to prevent errors (most are designable away with constraints, masks, and defaults), then make the unavoidable ones recoverable — tell the user what happened and what to do next, give them a safety net, and never leave a dead end. So this skill gates:
Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, ux-microcopy-audit, ux-dark-patterns-audit, and (when mobile) ux-mobile-responsiveness-audit for validation.
Scope & composition (per docs/orchestration-policy.md §9): this skill owns the error/failure/recovery experience — error states, message craft, validation behavior, undo/confirmation, degradation, and error pages — and composes lower-scope skills rather than re-deriving them. Core children (built as part of the recovery experience): input-field anatomy via ux-inputs-and-forms. Peers that own a sub-part (defer): toast/notification type & frequency to ux-notifications-and-toasts and confirmation-modal mechanics to ux-modals-and-dialogs (they own those sub-parts if reached). Downstream (offer, don't auto-build): first-use / no-results / cleared empty screens via ux-empty-states, the password-reset flow via ux-login-signup, save-state confirmation via ux-settings, and help/contact at the point of error via ux-contact-support. Inherit, don't regenerate: under an existing design system, take color/type/spacing from its tokens — only set those when designing from scratch.
Ask if not known; state the assumption if proceeding without an answer:
ux-contact-support).Present each with its trade-off and a recommendation tied to Step 0; let the user decide. Applying all of these by default is a mistake.
| Decision | Apply when | Avoid / adapt when | Default recommendation |
|---|---|---|---|
| Confirm vs. undo | Confirm irreversible, high-consequence actions (delete account, permanent data loss) | Confirming low-stakes/reversible actions (dialog fatigue); relying on undo alone for truly irreversible ones | Undo for reversible actions; confirm only high-consequence — and offer undo too where possible |
| Validation timing | Real-time for complex requirement inputs (passwords); on-blur for simple fields | Validating mid-typing on normal fields; validating only on submit | On-blur as the rule; real-time for password-style inputs |
| Humor / personality in copy | Friendly consumer brands, low-stakes errors, 404s | High-stakes (finance, health, security) or when the user came for support | Match brand; keep the functional path primary; skip the joke if unsure |
| AI/model confidence display | When it changes the user's decision and stakes are high (medical) | Meaningless precision (85.8% vs. 87%) that adds noise without changing behavior | Show only if actionable; prefer categorical (High/Med/Low) or N-best over raw percentages for laypeople |
| Progressive degradation / fallback | A feature or AI can partly fail — reduce capability step by step and offer manual takeover instead of a blackout | Sudden full manual handoff in unsafe moments; hiding that capability dropped | Degrade gracefully, preserve context, offer a manual path; always a human-escalation route when stakes are high |
| Transparency vs. security in explanations | Normal constraints users deserve to understand | Detail that teaches bad actors to exploit the system (spam filters, auth failures) | Guide the good-faith user's next action without revealing the vulnerability; "boring" failures for exploiters |
| "Help us learn" feedback on errors | Quick, binary, and you'll actually act on it (and tell users you did) | Interrupting recovery, or vanity collection that goes nowhere | Lightweight and post-resolution; framed as partnership, not "report a complaint"; optional |
| 404 richness (illustration/interactivity) | Brand benefits and the page stays uncluttered | Forced jokes or clutter that raise cognitive load and bury the exit | Concise on-brand copy + search + top links; add visuals/interactivity only if genuinely on-brand |
High-stakes contexts (finance, health, security, destructive/irreversible actions) flip several defaults at once: more conservative defaults, mandatory confirmation with undo where possible, serious tone over humor, explicit human escalation, and security-aware (not fully transparent) explanations.
Hand-offs name each lens by its installable skill
name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.
After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics, microcopy, and dark-patterns are Tier A (auto-run); accessibility, aesthetics, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.
ux-heuristics-audit (Tier A) — error prevention, "help users recognize, diagnose, and recover from errors," visibility of system status (the field stays in error until fixed; failures are surfaced), and user control & freedom (undo, escape from a 404).ux-accessibility-audit (Tier B — offer; narrow under a design system) — errors signaled by more than color (icon/text, not red alone), error text programmatically associated with its field, focus moved to the message, no ALL CAPS, sufficient contrast on error/success states.ux-aesthetics-audit (Tier B — offer; suppress under a design system) — an uncluttered 404/error page, error states that are noticeable without being alarming, no wall of text.ux-microcopy-audit (Tier A) — this skill lives on copy: the what-happened/why/what-next structure, action-first phrasing, plain human language, polite non-blaming tone, no jargon or codes.ux-dark-patterns-audit (Tier A) — the error-specific traps: confirmshaming on a cancel/delete confirmation, defaults set to benefit the business, a confirm button placed to catch an accidental double-tap, "Undo" hidden while the destructive path is one click, or feedback framed to guilt the user. Friction and confirmation should protect the user, never trap them.ux-mobile-responsiveness-audit (Tier B — offer) — constrained keypads, masks and OTP autofill, error text not hidden by the keyboard, touch-target size on retry/undo/confirm controls.If the audits surface a conflict (e.g., the business wants a hard "are you sure?" wall on every action, or a guilt-tripping cancel confirmation), resolve back toward the primary task: the user is already dealing with something going wrong — reduce friction, give them a clear way forward, and never use the error moment to manipulate them.
| ❌ Don't | ✅ Do |
|---|---|
| "An error occurred" / "Error 403: Forbidden" | What happened → why it matters → what to do next, in plain language |
| Validate only when they hit Submit | Validate on loss of focus (real-time for passwords) |
| Clear the error state the moment they retype | Keep it visible until the value is actually valid |
| Blame the user; ALL CAPS | Polite, action-first, sentence case, beside the field |
| Treat every error at one severity | Match friction to stakes — undo for reversible, confirm only high-consequence |
| Confirm everything | Reserve confirmation for irreversible actions to avoid dialog fatigue |
| Lose the user's work when a step fails | Preserve input, highlight what needs checking, carry context into manual takeover |
| A bare 404 that sends users back where they came | Explain + search + helpful links, on-brand, uncluttered |
| Pre-checked/manipulative "defaults"; guilt-trip cancel dialogs | Helpful, user-benefiting defaults; respectful confirmations |
| Skip prevention and only handle errors after they happen | Constrain, mask, and default so the error can't occur |
| Ship without checking | Hand off to heuristics + accessibility + aesthetics + microcopy + dark-patterns (+ mobile-responsiveness) |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uxcel-lab/product-skills --plugin uxcel59 skills in this plugin
/ux-accessibility-auditRun a structured WCAG 2.1 AA accessibility audit on a design, screen, component, or page. Produces a prioritized issue list — each finding cites the violated WCAG criterion, a severity rating (Critical/Major/Minor), and a concrete fix. Use when auditing for a11y compliance or as a validation step after generating UI./ux-activity-feedDesign or critique an activity feed / stream — a scannable list of updates where what matters stands out and noise fades. Gates the feed-type choice (chronological vs. algorithmic/ranked) and levers like notification aggregation, follow recommendations, and per-entry controls, while applying the always-true core (curated entries, legible text, relative timestamps, no empty feed, visible refresh status). Trigger when the user asks to design or review an activity feed, news/social feed, activity stream, notifications feed, or timeline./Other plugins' skills for the same job