用途:帮助编写错误提示文案,覆盖校验错误、系统错误和恢复指引三类场景。
主要能力:给出错误文案公式“发生了什么 + 原因(如有帮助)+ 怎么做”,并配正反示例。正面示例如“File too large. Maximum size is 10MB. Compress the image or choose a smaller file.”“That email is already registered. Try signing in instead.”“Connection lost. Your changes are saved locally and will sync when you're back online.”反面示例包括只说“Error”、“Invalid input”、“Something went wrong. Please try again later.”以及“Error code 0x8004005”这类对用户无意义的写法。
语气规则:不指责用户,用“That password is too short”而非“You entered an invalid password.”;不过度道歉,用“Couldn't load”而非冗长致歉;保持冷静而非制造恐慌,用“Check your connection”而非“CRITICAL NETWORK FAILURE.”;即使在错误场景也要匹配品牌语气。
使用方式与限制:资料未提供具体安装命令、调用方式或平台信息,暂未提供。