Logo Ux Error Recovery

Ux Error Recovery

Tổ chức
Uxcel-Lab
ux-error-recovery

Thiết kế hoặc đánh giá cách sản phẩm ngăn ngừa, hiển thị và khắc phục lỗi — lỗi nhập liệu/kiểm tra dữ liệu, sự cố hệ thống và mạng, lỗi AI/dự đoán, hành động có tính phá hủy dữ liệu và trang 404/ngõ cụt. Ưu tiên phòng tránh (có thể thiết kế để tránh phần lớn lỗi), áp dụng các nguyên tắc cốt lõi luôn đúng (kiểm tra dữ liệu mà không làm gián đoạn, viết thông báo dễ khắc phục, tạo phương án dự phòng, không để người dùng rơi vào ngõ cụt) và cân nhắc các yếu tố tùy ngữ cảnh (xác nhận hay hoàn tác, thời điểm kiểm tra dữ liệu, cách dùng hài hước, khả năng hoạt động suy giảm, minh bạch hay bảo mật) cùng các đánh đổi liên quan. Kích hoạt khi người dùng yêu cầu thiết kế hoặc xem xét trạng thái lỗi, thông báo lỗi, kiểm tra dữ liệu biểu mẫu, trang 404/trang lỗi, quy trình hoàn tác/xác nhận, xử lý sự cố hoặc khả năng suy giảm dịch vụ một cách linh hoạt.

Add to TypingMind

Tổng quan

Nhà phát hànhUxcel-Lab
Kho mãproduct-skills
Tên kỹ năngux-error-recovery
Sao
35
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Uxcel-Lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ux Error Recovery trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Uxcel-Lab/product-skills/tree/main/ux/flows/error-recovery
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/flows/error-recovery .claude/skills/ux-error-recovery
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ux Error Recovery trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ux Error Recovery ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ux Error Recovery với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Error Recovery Skill

How this skill behaves (read first)

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:

  1. Establish stakes, error source, and where in the journey the error happens — these decide how much friction, confirmation, and escalation is warranted.
  2. Apply the always-true core — prevent first, validate without interrupting, write recoverable messages, give a safety net, never dead-end.
  3. Surface the context-dependent decisions (confirm vs. undo, validation timing, humor, AI degradation/confidence, transparency vs. security) with trade-offs.

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.


Step 0 — Establish context before designing

Ask if not known; state the assumption if proceeding without an answer:

  • What are the stakes if this goes wrong? Error handling must match real-world consequences. A wrong balloon-color suggestion is minor disappointment; an unsafe-food recommendation, a wrong-account transfer, or a permanent delete is serious harm. Low-stakes can fail playfully; high-stakes demand detailed explanations, conservative defaults, undo, and a human-escalation path. When stakes are unclear, choose caution over convenience.
  • Is this a slip or a mistake? Slips are autopilot lapses by users who know the system (clicking "Reply all" instead of "Reply") — fix with constraints, suggestions, good defaults, and undo. Mistakes come from a wrong mental model, usually in newer users (archiving instead of deleting because the icon is unclear) — fix with clearer labels, guidance, and closing the gap between the user's and the system's mental model (found through research). Don't assume users will "just learn" a confusing system; they leave.
  • Where in the journey does the error happen? Three surfaces with different design: input/validation (a form field), system/AI failure (server, network, or a wrong prediction), and navigation (404, broken link). Each needs its own recovery move.
  • Platform. Mobile tightens prevention — constrained keypads, input masks, OTP autofill, larger touch targets, and error text that stays visible above the keyboard.

The always-apply core (correct for almost every error experience)

1. Prevent before you handle

  • Constrain the input. Set boundaries so the wrong value can't be entered: a numeric keypad for phone/card fields, business-hours-only time pickers, grayed-out invalid options.
  • Use forgiving formats + input masks. Let users type the way that's natural to them and format as they go (add the spaces/parens/hyphens, strip stray letters). Masks show and apply the format, cutting confusion for phone numbers, dates, card numbers.
  • Set reasonable defaults that match what most users want — but never a default that benefits the business over the user (pre-checked subscriptions are a dark pattern, not a helpful default).
  • Ease memory burden. Keep a visible running summary (multi-leg flights, multi-step bookings) and auto-detect SMS codes so users don't switch screens. Clear, skimmable labels and hints over walls of instruction.

2. Validate without interrupting

  • Validate after loss of focus, not on every keystroke and not only on submit. Let users finish a field and shift focus before flagging it; a form that waits until the Submit click to reveal errors gets abandoned.
  • Real-time is the exception for requirement-based inputs (new passwords) — show checkmarks as each rule is met so users aren't guessing.
  • Keep the error state visible until the input is actually valid — not the moment the user starts retyping. The field returns to default/success only when the value truly passes, so users keep the context of what they're fixing.

3. Write messages that recover, not blame

  • Structure every message: what happened → why it matters → what to do next. ("The code you entered doesn't match. Didn't get it? Resend code.") Lead with the action, not the problem ("Try better lighting or a different angle," not "Image recognition failed").
  • Plain, human language. No jargon, no codes, no "unauthorized/restricted" robot-speak. Short — 1–2 sentences; people read even less when stressed.
  • Be precise, never generic. "An error occurred" helps no one; name the field and the fix.
  • Be polite; never make users feel stupid. No blame, no condescension.
  • No ALL CAPS — it reads as shouting, slows reading 13–20%, and hurts accessibility for low-vision and dyslexic users.
  • Place the message next to the thing it's about — beside the field, not in a banner they'll miss.

4. Give a safety net

  • Undo for reversible actions. Make it immediate and obvious (the "Undo send" window). It removes the fear of permanent mistakes and lets people experiment.
  • Confirm only genuinely destructive / irreversible actions — match the interruption to the regret. Overusing confirmations causes dialog fatigue and users stop reading them. Spatially displace the confirm button from the trigger so a double-tap can't auto-confirm.
  • Preserve work on failure. When a system or AI step fails, don't make users start over — keep their input, highlight what needs checking, and carry context into a manual takeover.

5. Never dead-end

  • Every error offers a path forward — retry, go home, search, or a relevant link. This is Nielsen's "help users recognize, diagnose, and recover from errors."
  • 404s are a recovery surface, not a wall. Explain plainly and apologetically why the page isn't there, stay on-brand, and give a clear exit: a search input and/or a short list of helpful links (spell-check the URL for close matches). Keep it uncluttered — concise copy + search is enough.
  • Offer help at the moment of error. When the next step is "get help," link the right channel right there (defer the support experience itself to ux-contact-support).

The context-dependent decisions (surface, don't auto-apply)

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.

DecisionApply whenAvoid / adapt whenDefault recommendation
Confirm vs. undoConfirm irreversible, high-consequence actions (delete account, permanent data loss)Confirming low-stakes/reversible actions (dialog fatigue); relying on undo alone for truly irreversible onesUndo for reversible actions; confirm only high-consequence — and offer undo too where possible
Validation timingReal-time for complex requirement inputs (passwords); on-blur for simple fieldsValidating mid-typing on normal fields; validating only on submitOn-blur as the rule; real-time for password-style inputs
Humor / personality in copyFriendly consumer brands, low-stakes errors, 404sHigh-stakes (finance, health, security) or when the user came for supportMatch brand; keep the functional path primary; skip the joke if unsure
AI/model confidence displayWhen it changes the user's decision and stakes are high (medical)Meaningless precision (85.8% vs. 87%) that adds noise without changing behaviorShow only if actionable; prefer categorical (High/Med/Low) or N-best over raw percentages for laypeople
Progressive degradation / fallbackA feature or AI can partly fail — reduce capability step by step and offer manual takeover instead of a blackoutSudden full manual handoff in unsafe moments; hiding that capability droppedDegrade gracefully, preserve context, offer a manual path; always a human-escalation route when stakes are high
Transparency vs. security in explanationsNormal constraints users deserve to understandDetail 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 errorsQuick, binary, and you'll actually act on it (and tell users you did)Interrupting recovery, or vanity collection that goes nowhereLightweight and post-resolution; framed as partnership, not "report a complaint"; optional
404 richness (illustration/interactivity)Brand benefits and the page stays unclutteredForced jokes or clutter that raise cognitive load and bury the exitConcise 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.


Validate the result (orchestration)

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.


Common do/don't patterns

❌ 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 SubmitValidate on loss of focus (real-time for passwords)
Clear the error state the moment they retypeKeep it visible until the value is actually valid
Blame the user; ALL CAPSPolite, action-first, sentence case, beside the field
Treat every error at one severityMatch friction to stakes — undo for reversible, confirm only high-consequence
Confirm everythingReserve confirmation for irreversible actions to avoid dialog fatigue
Lose the user's work when a step failsPreserve input, highlight what needs checking, carry context into manual takeover
A bare 404 that sends users back where they cameExplain + search + helpful links, on-brand, uncluttered
Pre-checked/manipulative "defaults"; guilt-trip cancel dialogsHelpful, user-benefiting defaults; respectful confirmations
Skip prevention and only handle errors after they happenConstrain, mask, and default so the error can't occur
Ship without checkingHand off to heuristics + accessibility + aesthetics + microcopy + dark-patterns (+ mobile-responsiveness)

Source lessons (Uxcel)

Câu hỏi thường gặp

Kỹ năng AI Ux Error Recovery làm được gì?

Thiết kế hoặc đánh giá cách sản phẩm ngăn ngừa, hiển thị và khắc phục lỗi — lỗi nhập liệu/kiểm tra dữ liệu, sự cố hệ thống và mạng, lỗi AI/dự đoán, hành động có tính phá hủy dữ liệu và trang 404/ngõ cụt. Ưu tiên phòng tránh (có thể thiết kế để tránh phần lớn lỗi), áp dụng các nguyên tắc cốt lõi luôn đúng (kiểm tra dữ liệu mà không làm gián đoạn, viết thông báo dễ khắc phục, tạo phương án dự phòng, không để người dùng rơi vào ngõ cụt) và cân nhắc các yếu tố tùy ngữ cảnh (xác nhận hay hoàn tác, thời điểm kiểm tra dữ liệu, cách dùng hài hước, khả năng hoạt động suy giảm, minh bạch hay bảo mật)...

Vì sao nên dùng Ux Error Recovery trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ux Error Recovery là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ux Error Recovery trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Uxcel-Lab/product-skills/tree/main/ux/flows/error-recovery. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ux Error Recovery?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ux Error Recovery với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ux Error Recovery với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ux Error Recovery có miễn phí không?

Có. Kỹ năng này được Uxcel-Lab phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇