Frontend Design
AnastasiyaW/codex-claude-code-config
Создание высококачественных, визуально выдающихся фронтенд-интерфейсов.
Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and…
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add leepokai/Codync --skill ask-sonner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install leepokai/Codync ask-sonner --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ask-sonner .claude/skills/ask-sonner && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .claude/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonnerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add leepokai/Codync --skill ask-sonner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install leepokai/Codync ask-sonner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/ask-sonner .agents/skills/ask-sonner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .agents/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add leepokai/Codync --skill ask-sonner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install leepokai/Codync ask-sonner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/ask-sonner .cursor/skills/ask-sonner && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .cursor/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/leepokai/Codync.git --path .claude/skills/ask-sonner--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add leepokai/Codync --skill ask-sonner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install leepokai/Codync ask-sonner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/ask-sonner .gemini/skills/ask-sonner && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .gemini/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install leepokai/Codync ask-sonnerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add leepokai/Codync --skill ask-sonner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/ask-sonner .github/skills/ask-sonner && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .github/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add leepokai/Codync --skill ask-sonner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install leepokai/Codync ask-sonner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/leepokai/Codync.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/ask-sonner .opencode/skills/ask-sonner && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ask-sonner" agent skill from https://github.com/leepokai/Codync/tree/main/.claude/skills/ask-sonner into .opencode/skills/ask-sonner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-sonner", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ask-sonnerGuide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and…
Ask Sonner is an agent skill from leepokai/Codync. Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear, appear twice, lose their styles, ignore Tailwind classes, sit behind a modal, or don't follow dark mode.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `API.md`).
It sits in Frontend & Design, covering Theming and dark mode and CSS and styling. It works with React, Tailwind CSS, Google Gemini and SwiftUI. The repository describes itself as: The open-source Grok Bot alternative: message Claude Code, Codex, Cursor, Gemini and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal… The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c7790a4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
sonner.emilkowal.skiFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ask Sonner loads about 1.8k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 879 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
g → success/error tied to a promise | `toast.promise(promise, { loading, success, error })` — success/error accept functloading → success flows work without `toast.promise`:Infinity`, `dismissible: false`, or a `toast.promise` whose promise never settles — the loading toast waits forever. || `toast.promise` stuck on loading | It needs a promise (or a function returning one) as its first argument, and the proAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from leepokai/Codync at commit c7790a4, republished under its MIT licence (© leepokai). 879 words, ~1,787 tokens.
.claude/skills/ask-sonner/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.When this skill is first invoked without a specific question, respond only with:
I'm ready to help you set up, style, and troubleshoot Sonner, my knowledge comes from its author, Emil Kowalski.
Do not provide any other information until the user asks a question.
A guide skill for Sonner, the toast library. When a task involves Sonner — wiring it up, rendering toasts, styling them, or fixing them — answer from this file first. Full prop tables for <Toaster /> and toast() live in API.md; read it when you need an exact prop name, type, or default.
Two pieces, and only two:
<Toaster />, mounted once, as close to the root as possible (in Next.js: layout.tsx — it works inside server components). Never render it per-page or conditionally; a second mounted Toaster duplicates every toast.toast() called from client code — event handlers, effects, callbacks. It's a plain function, no hook or provider needed, but it does nothing on the server: in a server action, return the result and call toast() in the client code that receives it.import { Toaster } from 'sonner'; // once, in layout
import { toast } from 'sonner'; // anywhere client-side| You want | Call |
|---|---|
| Plain message | toast('Title') — add { description } for a second line |
| Success / error / info / warning icon | toast.success('…'), toast.error('…'), etc. |
| Spinner while you manage state yourself | toast.loading('…'), then update it by id |
| Loading → success/error tied to a promise | toast.promise(promise, { loading, success, error }) — success/error accept functions receiving the resolved value/error |
| Button that does something | { action: { label, onClick } } — closes the toast unless onClick calls event.preventDefault(); cancel is the secondary variant |
| Custom JSX, default toast shell | toast(<jsx />) |
| Custom JSX, no styles at all | toast.custom((t) => <jsx />) — headless, t gives you the id to dismiss |
Update a toast — call toast() again with the same id; only the props you pass change. Switching to toast.success(…, { id }) changes the type. This is how loading → success flows work without toast.promise:
const id = toast.loading('Uploading…');
toast.success('Uploaded', { id });Persist — { duration: Infinity }. Dismiss — toast.dismiss(id), or toast.dismiss() for all. Read active toasts — useSonner() in React, toast.getActiveToasts() outside it.
Links or components in the text — pass a function for the title or description: toast(() => <a href="…">View</a>).
Multiple toasters — give each an id and target with toast('…', { toasterId: 'canvas' }). Without toasterId, every toaster renders the toast.
Close callbacks — onDismiss fires on close button or swipe; onAutoClose fires on timeout. They are separate; there is no single "closed" callback.
Climb only as far as the change requires; jumping to the top rung too early is fine (it's the recommended end state), lingering in the middle is not.
richColors on the Toaster for colorful success/error, invert to flip against the theme.toastOptions={{ style: {…} }} on the Toaster for all toasts, or style per toast() call.toastOptions={{ classNames: { toast, title, description, actionButton, cancelButton, closeButton } }}. Sonner's injected styles win the cascade, so every class needs !important (Tailwind: !text-red-900). If you're marking more than a few things important, stop — go headless.toast.custom() with your own JSX, keeping Sonner's positioning, stacking, and swipe. The recommended approach for a design-system toast: wrap it in your own toast() abstraction. (unstyled: true exists as a halfway house, but headless gives more control for the same effort.)Icons — swap defaults per-type with the Toaster's icons prop, per-toast with icon, remove with null.
Theme — theme defaults to 'light' and does not track the OS. Pass theme="system", or wire your theme provider: <Toaster theme={resolvedTheme} /> from next-themes.
| Symptom | Cause → fix |
|---|---|
| Toast never appears | No <Toaster /> mounted, or it unmounted (conditional render, per-page placement). Mount one at the root. If calling from a server action: toast() is client-only — call it with the action's result on the client. |
| Same toast appears twice | Two Toasters mounted (layout and page) — keep one. Or toast() fired in an effect under React StrictMode's dev double-invoke — fire from the event handler instead, or pass a stable id so the second call updates rather than duplicates. |
| Tailwind/CSS classes have no effect | Default styles override them. Mark them !important, or use unstyled / headless (see the ladder above). |
| Toasts render completely unstyled (common in Astro, view transitions) | Sonner's injected stylesheet was lost — import it explicitly in a layout: import 'sonner/dist/styles.css'. |
| Unstyled inside Shadow DOM | Styles land in document.head, not the shadow root. Copy the style tag whose text includes [data-sonner-toaster] into the shadow root. |
| Toast behind a modal/overlay, or clipped | An ancestor creates a stacking context (transform, filter, overflow) or the overlay out-z-indexes the toaster. Move <Toaster /> to the document root, outside any dialog/portal container. |
| Dark mode ignored | theme defaults to 'light' — set theme="system" or pass the resolved theme (see Theme above). |
| Success/error look gray, not green/red | That's the default. Add richColors to the Toaster. |
| Toast never closes | duration: Infinity, dismissible: false, or a toast.promise whose promise never settles — the loading toast waits forever. |
toast.promise stuck on loading | It needs a promise (or a function returning one) as its first argument, and the promise must actually resolve/reject. |
| Swipe-to-dismiss goes the wrong way / doesn't work | Directions derive from position. Override with swipeDirections on the Toaster. |
| Toast shows up in every toaster | Multiple toasters need targeting: give each Toaster an id and pass toasterId in the toast() call. |
| Toasts too close to the screen edge on mobile | offset (desktop, default 32px) and mobileOffset (<600px, default 16px) — numbers, CSS strings, or per-side objects. |
© leepokai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .claude/skills/ask-sonner of leepokai/Codync.
Open the folder on GitHubat commit c7790a4
We found 7 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in leepokai/Codync, which our catalogue first saw on October 7, 2026.
Ask Sonner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ask Sonner this skillleepokai/Codync | 177 | 4 repos | ~1.8k | Automated safety check: Warn | MIT | |
| Frontend DesignAnastasiyaW/codex-claude-code-config | 154 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Tailwind CSS Patternsever-works/ever-works | 158 | 3 repos | ~1.6k | Automated safety check: Notes | AGPL-3.0 | |
| Tailwind V4 Shadcnever-works/ever-works | 158 | 2 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Bryl Minimal Designbryllim/bryl-minimal-design | 114 | — | ~2.9k | Automated safety check: Pass | MIT | |
| UI UX Pro Maxshobcoder/shob | 577 | — | ~3.7k | Automated safety check: Pass | MIT |
AnastasiyaW/codex-claude-code-config
Создание высококачественных, визуально выдающихся фронтенд-интерфейсов.
ever-works/ever-works
Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices.
ever-works/ever-works
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
bryllim/bryl-minimal-design
Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…
shobcoder/shob
UI/UX design intelligence expert for web and mobile applications.
jiushiwon/wg-skills
A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…
leepokai/Codync
Make a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from something that feels installed.
Categories
Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and…. Ask Sonner is an agent skill from leepokai/Codync. Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters.
Ask Sonner fits situations like: working with Sonner; troubleshooting it — toasts that dont appear; lose their styles; ignore Tailwind classes.
Run `npx skills add leepokai/Codync --skill ask-sonner -a claude-code`. Or copy the skill folder (.claude/skills/ask-sonner in leepokai/Codync) into .claude/skills/ask-sonner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add leepokai/Codync --skill ask-sonner -a codex`. Or copy the skill folder (.claude/skills/ask-sonner in leepokai/Codync) into .agents/skills/ask-sonner in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add leepokai/Codync --skill ask-sonner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ask-sonner, .gemini/skills/ask-sonner, .github/skills/ask-sonner and .opencode/skills/ask-sonner in your project.
SKILL.md names no scripts, command-line tools or credentials: Ask Sonner is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: sonner.emilkowal.ski. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 4 warning(s): mentions a paste, webhook or tunnelling service often used to send data out. Read the flagged lines before installing; the check is not a guarantee either way.
Ask Sonner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ask Sonner: Frontend Design (AnastasiyaW/codex-claude-code-config, 154 stars), Tailwind CSS Patterns (ever-works/ever-works, 158 stars), Tailwind V4 Shadcn (ever-works/ever-works, 158 stars) and Bryl Minimal Design (bryllim/bryl-minimal-design, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
leepokai (a GitHub user) maintains it in leepokai/Codync, which has 177 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 7, 2026.
Source: leepokai/Codync on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.