AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ux Error Handling

skill-parhamb-design-skills-error-handling · by parhamb

>

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add skill-parhamb-design-skills-error-handling

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-parhamb-design-skills-error-handling)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ux Error Handling? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Error Handling UX

Every error is a broken promise. How you handle it determines whether the user forgives you or leaves. Good error handling is preventive, informative, and always leaves a path forward.


Checklist

| Item | Guidance | |---|---| | Destructive action confirmation | Single dialog. Action button is styled red. Cancel appears on the left. | | Undo action | Snackbar with an "Undo" button for 5 to 7 seconds after deletions and moves. | | Empty state screens | Every empty screen shows an illustration, a message, and an optional action. | | Reduce human error | Inputs are constrained, defaults are smart, and validation catches mistakes early. | | Descriptive error messages | States what failed, why if relevant, and what the user can do next. | | Crash recovery | App restores the previous state on relaunch after a crash. | | Server error handling | 5xx and timeout errors show a human-readable message and a Retry button. |


Error Message Formula

[What happened] + [Why, if it helps] + [What to do next]

Examples that work:

  • "We couldn't save your post. Check your connection and tap Save again."
  • "Your session expired. Sign in to continue."
  • "This username is already taken. Try adding numbers or a different word."
  • "Payment declined. Your card ending in 4242 was not charged. [Try another card]"

Error Types and UI Patterns

| Error type | Pattern | |---|---| | Validation | Inline, below the field. Shown when focus leaves the field. | | Recoverable server error | Toast or inline message with a Retry button | | Blocking server error | Full-screen error page with Retry and Contact Support options | | Auth error | Redirect to login. Preserve the user's intended destination. | | Permission denied | Explain the issue and link to Settings to resolve it. | | Network error | Top banner with offline mode fallback | | Empty state | Positive framing with an invitation to act | | Content not found (404) | Friendly message with suggestions and a path to Home | | Crash | Offer to report the crash and restore the previous state |


Confirmation Dialog Standards

Title should state the action and what it affects: "Delete conversation?" Body should state the consequence: "This will permanently remove 48 messages." The confirm button label should match the title verb: "Delete" in red. Cancel should appear on the left, confirm on the right.

Never use "OK" or "Yes" as the label on a destructive confirm button. Never reverse the button positions.


Undo vs Confirm

| Use undo when | Use a confirm dialog when | |---|---| | The action can be reversed | The action is permanent or irreversible | | The cost of a mistake is low | The cost of a mistake is high | | Speed is important | The user should slow down and think | | Example: archive a message | Example: delete an account |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.