notifications-feedback

Toast notifications, alerts, feedback messages, and their timing. Use when adding user feedback, success messages, or alerts.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "notifications-feedback" with this command: npx skills add moderndegree/agent-skills/moderndegree-agent-skills-notifications-feedback

Notifications & Feedback

This skill covers notification patterns — toast types, placement, timing, and dismissible patterns for providing user feedback.

Use-When

This skill activates when:

  • Agent adds success/error/warning toasts
  • Agent provides user feedback
  • Agent creates notification systems
  • Agent builds alert components

Core Rules

  • ALWAYS use appropriate toast type (success, error, warning, info)
  • ALWAYS allow dismissing notifications
  • ALWAYS position toasts consistently (usually top-right or bottom-center)
  • ALWAYS auto-dismiss non-critical toasts (3-5 seconds)
  • NEVER stack more than 3 toasts at once
  • NEVER use toasts for critical info requiring user action

Common Agent Mistakes

  • Wrong toast type for message (error shown as success)
  • Toasts that can't be dismissed
  • Toasts that disappear too quickly or stay too long
  • Stacking too many toasts
  • Using toasts for critical alerts

Examples

✅ Correct

// Appropriate toast usage
<Toast variant="success" onDismiss={() => {}}>
  Changes saved successfully
</Toast>

<Toast variant="error" action={{ label: 'Retry', onClick: retry }}>
  Failed to save. Would you like to retry?
</Toast>

❌ Wrong

// Generic message
<Toast>Something happened</Toast>

// Can't dismiss
<div className="toast">
  Message
</div>

References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

design-systems

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

dialogs-modals

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

shadcn-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

a11y-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review