Skip to main content

review-an-error-message

Review and rewrite one product error message so it explains the state, preserves user work, and offers a safe recovery. Use when an interface error is confusing, blaming, inaccessible, overly technical, or operationally unhelpful.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
review-an-error-message
category
design
description
Review and rewrite one product error message so it explains the state, preserves user work, and offers a safe recovery. Use when an interface error is confusing, blaming, inaccessible, overly technical, or operationally unhelpful.
# review-an-error-message Treat the message as one part of the failure experience. Improve the system state, recovery action, and support evidence as well as the sentence. ## Inputs - Gather the triggering action, user goal, exact system state, visible message, logs, recovery paths, and frequency. - Identify audience, language, accessibility, security, privacy, and support constraints. - Confirm what the system truly knows and whether user work is preserved. ## Procedure 1. Reproduce the error and capture the action, message, state, and available controls. 2. State what happened in user terms without pretending to know an unverified cause. 3. Explain whether work was saved, submitted, charged, changed, or left untouched. 4. Offer the safest next action and a different fallback when repetition could cause harm. 5. Move diagnostic detail to an expandable area or reference code when ordinary users do not need it. 6. Remove blame, jokes, internal identifiers, vague instructions, and false certainty. 7. Check link, button, focus, screen-reader announcement, contrast, localization, and mobile behavior. 8. Ensure the support reference maps to useful privacy-safe diagnostics. 9. Test the message for success, repeated failure, offline, permission, and partial-completion states. ## Boundaries Do not expose stack traces, secrets, account existence, security controls, or another user's data. Never tell the user to retry an action that might duplicate payment, deletion, submission, or other irreversible state. ## Done - The message accurately states what happened and whether user work or money changed - Primary recovery and fallback actions have been tested in the real error state - Accessibility, localization, privacy, security, and support evidence are checked - The revised message removes blame and unverified technical claims
在 GitHub 查看