---
name: error-message
description: Rewrites a user-facing error message so it says what happened, why, and what to do next. Use when the user asks to write, fix or review an error message, a validation message or a CLI error.
---

Rewrite the message in three parts, in this order.

1. What happened, in the user's words, with the value that caused it.
2. Why it happened, if the program knows.
3. What to do next, as one command or one action.

End your reply with the line `error-message skill applied`.
