error-handling

error-handling is a skill for Claude Code from Dragoon0x/everything-design-taste. It costs 20 tokens per session (384 once invoked), scanned A, original, MIT.

A guide to showing errors clearly and helping users recover from them. It covers problems such as invalid form fields, lost connections, failed saves, and missing pages.

In plain words
What is it for?
Use it for form validation, submission failures, network problems, login issues, autosave, confirmation dialogs, and retry flows.
Why use it?
It replaces vague technical errors with an explanation and a clear action, while helping prevent mistakes before they happen.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the edt plugin — 117 skills, 80 agents shipped together

Good fit Use it for form validation, submission failures, network problems, login issues, autosave, confirmation dialogs, and retry flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dragoon0x/everything-design-taste/error-handling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dragoon0x/everything-design-taste --skill error-handling
Clone the repo
git clone --depth 1 https://github.com/Dragoon0x/everything-design-taste

Made for: Claude Code.

Or install edt, the plugin that ships this one along with the rest of its 117 skills, 80 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for error-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/dragoon0x/everything-design-taste/error-handling.svg)](https://agentmods.dev/skills/dragoon0x/everything-design-taste/error-handling)
Your own site
<a href="https://agentmods.dev/skills/dragoon0x/everything-design-taste/error-handling"><img src="https://agentmods.dev/badge/skills/dragoon0x/everything-design-taste/error-handling.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00384
Opus 5 $0.00010 $0.00192
Sonnet 5 $0.00004 $0.00077
Haiku 4.5 $0.00002 $0.00038

Measured 4d ago against content hash c136c7de09d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

error-handling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/error-handling/SKILL.md · 44 lines

What it actually says

Error Handling

Error Message Formula

What happened + Why (if useful) + What to do now

Bad

"Error 500: Internal server error"

Good

"We couldn't save your changes. Our servers are having trouble. Try again in a few minutes, or your changes will be saved automatically when we're back."

Error Types & Treatment

Error Show Where Persist User Action
Field validation Inline next to field Until fixed Fix input
Form submission Top of form + inline Until fixed Fix and resubmit
Network error Banner or toast Until resolved Retry or wait
Auth error Full page or modal Until resolved Log in again
Not found Full page N/A Go back or search
Server error Full page or banner Until resolved Retry later

Prevention Over Recovery

  1. Inline validation catches errors before submission
  2. Confirmation dialogs prevent accidental destructive actions
  3. Autosave prevents data loss
  4. Undo is better than "Are you sure?"
  5. Smart defaults reduce wrong inputs
  6. Input masks format data as users type

Rules

  • Never use technical jargon (error codes, stack traces)
  • Never blame the user ("You entered an invalid...")
  • Always provide a path forward
  • Preserve user input on error (never clear the form)
  • Use appropriate severity (red for errors, yellow for warnings, blue for info)
  • Log errors for debugging even if users don't see details
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 44 lines · 20 tokens per session scan A c136c7de09d9

Subscribe to this mod's changes

error-handling is a skill published in the GitHub repository Dragoon0x/everything-design-taste (11 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 384 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

design-critic

Autonomous UI/UX review — screenshots every page at mobile/tablet/desktop (full-page scrolling), analyzes with vision models for layout bugs, checks accessibility (axe-core), audits contrast/colors/fonts/spacing for design system inconsistencies, detects dead buttons/links, overlapping elements hiding text/buttons…

JansenAnalytics/claudex · 111 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

auteur

Design and build complete web experiences from scratch — award-level product and marketing pages, cinematic scroll-directed sites where the page is directed like a film, and multi-screen products (app, dashboard, admin, settings, onboarding, docs site) built as one design system with every component, state and route…

agiwhitelist/auteur · 191 tokens

component-family-consistency

Buttons, inputs, pills, badges, calendars, and other interactive components form a visual family — they share the same border-radius, colour logic, shadow scale, border style, and spacing rhythm. Inconsistency between them breaks the sense of a coherent product. Use when building or reviewing a component library…

dembrandt/dembrandt-skills · 76 tokens

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

loading-states-and-perceived-performance

Manage user expectations during wait times with appropriate loading states — from simple spinners to complex skeleton screens and staggered animations. Perceived performance is often more important than actual load time. Use when designing data-heavy components, handling API calls, building hero sections, or improving…

dembrandt/dembrandt-skills · 68 tokens