ask-sonner
Skill4 starsChanged 10 days agoMITView on GitHub
Set up, style, or troubleshoot Sonner React toasts: Toaster placement, promise/loading lifecycles, duplicate messages, theme, portals, and custom content.
31 other projects use a version of this.
Adopted by
Most recently taken up by
- 1-Pankaj/AutonomousMarketingtheir own version, first seen Nov 8, 2026
- alunadev/ald-skillstheir own version, first seen Nov 8, 2026
- Tresnanda/kyberntheir own version, first seen Nov 8, 2026
- leepokai/Codynctheir own version, first seen Nov 4, 2026
- HackIndiaXYZ/ai-first-startup-hackathon-build-a-startup-using-ai-only-arclighttheir own version, first seen Nov 1, 2026
- LuanRoger/next-dxtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use brandkit, design-taste-frontend-v1 and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnasX7Skillbrandkit
Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.
Also in 6 projects that use this
HK-hubSkilldesign-taste-frontend-v1
The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is `design-taste-frontend` (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.
Also in 4 projects that use this
OpenAISkillimage-to-code
Implement a selected image, screenshot, mockup, or Image Gen reference as a faithful, responsive frontend.
Also in 6 projects that use this
AnasX7Skillimagegen-frontend-mobile
Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured surfaces, image-led composition, tasteful custom iconography, and clean phone mockup framing. By default, screens should be shown inside a subtle premium iPhone or similar phone mockup with a visible frame, while the main focus stays on the app content itself. This skill generates images only. It does not write code.
Also in 4 projects that use this
HK-hubSkillstitch-design-taste
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
Also in 4 projects that use this
- +7 more from AnasX7
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- emilkowalski/skill★ 55ksame name
- emilkowalski/skills★ 55ksame name
- leepokai/Codync★ 2ksame name
- Tresnanda/kybern★ 83same name
- kv0906/cc-skills★ 42same name
- alunadev/ald-skills★ 4same name
- anis-dr/skills★ 3same name
- robinbril/claude-code-harness★ 3same name
- idexal/idexal-skills★ 2same name
- ReyYang/SkillYard★ 2same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- agent-watchdogSkill
- aipSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- ask-benSkill
- bazelSkill
- bend-lawsSkill
- blast-radiusSkill
- brain-dumpSkill
- break-uiSkill
- ci-fixesSkill
- codebase-designSkill
- codex-compatSkill
- codexSkill
- commit-push-prSkill
- connect-querySkill
- create-verification-skillSkill
- demoSkill
- development-lifecycleSkill
- diagnosing-bugsSkill
- docsSkill
- dogfoodSkill
- domain-modelingSkill
- e2e-testingSkill
- effect-tsSkill
- effect-v3-to-v4Skill
- efficient-frontierSkill
- eli5Skill
- excalidraw-diagramSkill
- extend-harnessSkill
- frontend-invariantsSkill
- frontend-starter-kitSkill
- full-sendSkill
- gesturesSkill
- golang-reviewSkill
- golangSkill
- goSkill
- grillingSkill
- handoffSkill
- hook-auditSkill
- implement-specSkill
- improve-animationsSkill
- improve-codebase-architectureSkill
- improveSkill
- launchdarklySkill
- lie-detectorSkill
- maintain-verification-skillSkill
- make-pr-easy-to-reviewSkill
- mobile-nativeSkill
- plan-arbiterSkill
- plow-aheadSkill
- postgresqlSkill
- primeSkill
- productSkill
- protobufSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Use the installed Sonner version and existing design-system wrapper.
- Distinctive: line 8
Read installed types/current official docs before using version-dependent props or return values.
- Very specific: line 16
Call toast on the client at the operation boundary.
- Very specific: line 18
Use success/error/info/warning calls for outcomes.
- Distinctive: line 20
Read RECIPES.md for update/dismiss and error-handling patterns.
- Distinctive: line 21
Keep important failure/recovery state inline as well as transient notification.
- Distinctive: line 22
Never treat a loading toast, optimistic start, or swallowed rejection as success.
- Very specific: line 40
Use wrapper variants/tokens first.
- Distinctive: line 45
Verify one operation gives one notification, resolves/rejects correctly, can dismiss, and stays usable with keyboard, screen reader …
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use the installed Sonner version and existing design-system wrapper. Adapted from Emil Kowalski; provenance. Read installed types/current official docs before using version-dependent props or return values; this is guidance, not a frozen API spec.
Integration
- Reuse the project's Toaster wrapper, usually under
@/components/ui/. Mount once at a stable app root outside clipping/stacking ancestors. Additional Toasters need a supported, explicit targeting scheme; do not assume multi-toaster props exist. - Call
toaston the client at the operation boundary. Server code returns a result; the client announces it. Prefer event/mutation outcomes over render/effect side effects. - Use success/error/info/warning calls for outcomes;
toast.loadingplus a stable id for manual lifecycle, ortoast.promisefor a promise that actually settles. Read RECIPES.md for update/dismiss and error-handling patterns. - Keep important failure/recovery state inline as well as transient notification. Never treat a loading toast, optimistic start, or swallowed rejection as success.
Diagnosis
| Symptom | Inspect before changing |
| Missing toast | Toaster lifetime, client call, targeted id if supported |
| Duplicates | Multiple Toasters or effect replay; stable operation id |
| Loading forever | Unsettled promise, missed catch/finally, persistent duration |
| Wrong theme | Resolved theme passed by the existing provider/wrapper |
| Behind dialog/clipped | Portal placement, ancestor transform/filter/overflow, stacking layers |
| Lost styles | Installed package CSS export and framework stylesheet lifecycle |
| Classes ignored | Cascade/layers and wrapper configuration; scope override at its owner |
| Mobile overlap | Supported offset props, safe area, keyboard and placement |
| Swipe jumps, ignores flicks or cannot be caught | Existing Sonner gesture driver and CSS overrides; load gestures without adding a competing drag handler |
Styling and verification
Use wrapper variants/tokens first; fix specificity at the source instead of scattering
!important. Consider unstyled or toast.custom only when the installed API supports
the needed behavior. Custom controls use the project's Button/Link and accessible labels;
headless content does not supply semantics automatically.
Verify one operation gives one notification, resolves/rejects correctly, can dismiss, and stays usable with keyboard, screen reader announcements, reduced motion, themes, and dialogs. Verify the persistent error path too. Explain/review requests return findings; build/fix requests continue through project tests and delivery gates.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

