notifications-and-toasts
Installation
SKILL.md
Notifications & Toasts
Overview
Feedback tells users their action worked (or didn't). Pick the right channel for the message's importance and persistence: toasts for transient confirmations, inline alerts for contextual or blocking info, and a notification center for a history of async events. Overusing toasts trains users to ignore them.
When to use
- Confirming an action (saved, deleted, copied).
- Surfacing a recoverable error or important context.
- Async/background events users should be able to review later.
Pick the channel
| Channel | For | Persistence |
|---|---|---|
| Toast (sonner) | Transient success/error of a user action | Auto-dismiss (~4s) |
Inline Alert |
Contextual, blocking, or persistent info | Stays until resolved |
| Notification center | Async events, history | Until read/cleared |