Skip to content
SkillModel-led1,689 tokens in use

ask-sonner

A guide to Sonner, the React toast library: setup, the right toast call, promise toasts, styling, theming, positioning and fixes for common problems.

58,388 stars on the repository MIT Licenseemilkowalski/skills · skills/ask-sonner
npx skills@latest add emilkowalski/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing ask-sonner costs

99tokens idle
1,689tokens in use
2,996tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure19/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity80
  • Maintenance40
  • Community52
  • Maturity28
  • Momentum40

Ask Sonner helps an agent work with Sonner. It covers installing and wiring up the Toaster, picking the right toast call, promise and loading toasts, updating, dismissing and persisting toasts, styling and theming, icons, positioning and running multiple toasters. It also handles trouble such as toasts that do not appear, appear twice, lose styles, ignore Tailwind classes, sit behind a modal or ignore dark mode.

What You Get

  • A correct Toaster setup for the app
  • The right toast call for the job, including promise and loading toasts
  • Styling steps ordered from lightest to heaviest
  • Fixes for toasts that are missing, duplicated or unstyled

Common Use Cases

  • Adding toasts to a React app
  • Showing a loading toast that resolves from a promise
  • Fixing toasts that sit behind a modal or ignore Tailwind classes

What Makes It Unique

It is tied to one library, so every answer uses Sonner’s own API and conventions. The styling section is an escalation ladder that starts with the lightest option and moves to heavier ones only when needed, and the troubleshooting section is written around the symptoms people report.

Under The Hood

A SKILL.md plus one more reference file read on demand. It runs no scripts and makes no network calls itself. The model reads the project’s setup, edits the files that hold the Toaster and toast calls and follows the recipes.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers