Prompt LibraryEngineering
User-Facing Error Message Improver Prompt
Rewrite error messages to be actionable and clear.
The prompt
Rewrite the error message below so a user can fix the problem without support.
Rules:
- Say what went wrong in plain words.
- Say what the user can do about it.
- Never expose a stack trace, internal ID, or raw exception.
- Keep under two sentences.
Original error: {{error}}
Context: {{context}}Replace the {{fields}} with your own context and tighten the rules to match your domain.




