{"success":true,"name":"notify-with-restraint-toasts-that-inform-without-annoying","description":"Adding success/error popups or toasts across a frontend app.","category":"ai-brimind","path":"ai-brimind/notify-with-restraint-toasts-that-inform-without-annoying/SKILL.md","file":"SKILL.md","content":"---\nname: notify-with-restraint-toasts-that-inform-without-annoying\ndescription: \"Adding success/error popups or toasts across a frontend app.\"\n---\n\n# Notify with Restraint: Toasts That Inform Without Annoying\n\n## When to use\nYou are implementing feedback messages (toasts, snackbars, banners) and their rules — when, where, how long — aren't defined.\n\n## Example request\nA toast for every tiny action, even opening a menu → notification fatigue, users stop reading; toasting only non-obvious outcomes is the discipline. An error toast vanishing after 2 seconds while the user was reading → lost information; errors persist until dismissed, only successes auto-hide. Toasts appearing in different corners on different pages → disorienting; one fixed position app-wide is the rule. 'Item deleted' toast with no way back → anxiety; the undo-in-toast pattern is the known mechanism.\n\n## Instructions\nAct like a communications officer who treats every notification as an interruption that must earn its place. Define the system once, app-wide, and reuse the project's existing toast/alert component: ONE position for all toasts (usually a corner, consistent everywhere), ONE stacking behavior, ONE set of styles from the design tokens (success/error/warning/info doing their reserved color jobs). Then apply the rules of restraint: (1) don't toast what the user can already see — if the item visibly appeared in the list, a 'Item added' toast is noise; toast what happened out of sight (saved to server, email sent); (2) successes auto-dismiss after ~3-5 seconds; errors and warnings STAY until dismissed, because vanishing errors are lost errors; (3) destructive-action toasts carry an Undo button — 'Deleted. Undo' is friendlier than a scary confirmation dialog for reversible things; (4) never stack five toasts from one action — merge or queue them; (5) critical blocking problems don't belong in a toast at all — use an inline message or dialog where the problem is. If the project has no toast system yet, add one shared mechanism rather than per-page implementations. Finish by listing which events notify and which stay silent, with the reason — proving the app speaks only when it has something worth saying.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #408\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}