Next AI Draw.io
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
A gooey, morphing toast component built on Sonner with Framer Motion animations
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/anl331-goey-toast)在同一工作中把 AI 连到服务的 MCP
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Verified React chart generation: select, validate, repair, render, and inspect charts through MCP.
同类工作,排序与 Skill 列表相同
| 本项 goey-toast | impeccable | diagram-design | frontend-slides | guizang-ppt-skill | |
|---|---|---|---|---|---|
| 作者 | anl331 | pbakaus | cathrynlavery | zarazhangrui | op7418 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 1,342 | 113,042 | 68,296 | 32,579 | 30,091 |
| 最近代码更新 | 2026年11月10日 | 2026年11月19日 | 2026年11月19日 | 2026年6月24日 | 2026年10月30日 |
| 许可证 | MIT | Apache-2.0 | MIT | MIT | AGPL-3.0 |
anl331 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
Claude CodeCursor
依据开发者 README 和 repo 中的文件夹
GitHub account anl331 (person), 9 years old
★ 1,342 stars · code last changed 2026年11月10日
No, plain text files the AI reads and follows
No scripts, so it does not go online by itself
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 6b877dd (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
Uploading to claude.ai would fail: the description is over 200 characters (254). Use "Let the AI install it" instead
复制这句话,粘贴到 Claude Code 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
重新打开 Claude Code,输入 /goey-toast,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
npx skills add anl331/goey-toast摘自开发者 README,会下载并运行开发者的代码
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/anl331/goey-toast.git /tmp/popnx-skill-anl331-goey-toast-6b877dd && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-anl331-goey-toast-6b877dd/skills/goey-toast' ~/.claude/skills/goey-toastChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
把 goey-toast 文件夹放到 ~/.agents/skills/goey-toast
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/anl331/goey-toast.git /tmp/popnx-skill-anl331-goey-toast-6b877dd && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-anl331-goey-toast-6b877dd/skills/goey-toast' ~/.agents/skills/goey-toastChecked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/anl331/goey-toast.git /tmp/popnx-skill-anl331-goey-toast-6b877dd && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-anl331-goey-toast-6b877dd/skills/goey-toast' ~/.agents/skills/goey-toast复制这句话,粘贴到 Cursor 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
在 Cursor 的 Agent 聊天中输入 / 并选择 goey-toast
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
git clone --depth 1 https://github.com/anl331/goey-toast.git /tmp/popnx-skill-anl331-goey-toast-6b877dd && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-anl331-goey-toast-6b877dd/skills/goey-toast' ~/.cursor/skills/goey-toast适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
✓ 命令已检查 2026年11月19日
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
7,857 个字符 · 在 GitHub 打开完整文件
---
name: goey-toast
description: Install and use goey-toast — a gooey, morphing React toast component built on Sonner with Framer Motion. Use when adding toast/notification UI to a React app (success/error/warning/info/promise toasts), or when the user mentions goey-toast / gooey toast.
license: MIT
---
# goey-toast
A gooey, morphing React toast component built on Sonner with Framer Motion
animations (pill → blob → pill). Use this skill to install the package and write
correct usage code in any React project.
## When to use
- Adding toast / notification UI to a React app (React >= 18).
- The user mentions "goey-toast", "gooey toast", or wants animated/morphing toasts.
- Replacing raw `sonner` toasts with the gooey variant.
## Install
```bash
npm install goey-toast react react-dom framer-motion
```
Peer deps (must exist in the host app):
| Package | Version |
| ------------- | --------- |
| react | >= 18.0.0 |
| react-dom | >= 18.0.0 |
| framer-motion | >= 10.0.0 |
### shadcn/ui projects
```bash
npx shadcn@latest add https://goey-toast.vercel.app/r/goey-toaster.json
```
Installs a wrapper at `components/ui/goey-toaster.tsx` and auto-installs deps.
The wrapper maps toast colors to shadcn tokens (`--popover`, `--border`, ...),
follows the `.dark` class automatically and defaults to `theme="system"` — no
theme prop needed. Import from `@/components/ui/goey-toaster` in that case.
## Two required steps to render toasts
1. **Mount `<GooeyToaster />` once** near the app root.
2. **Import the stylesheet once** at the entry point. Without it toasts render
unstyled.
```tsx
import { GooeyToaster, gooeyToast } from 'goey-toast'
import 'goey-toast/styles.css' // REQUIRED — import once at app entry
function App() {
return (
<>
<GooeyToaster position="bottom-right" />
<button onClick={() => gooeyToast.success('Saved!')}>Save</button>
</>
)
}
```
## API: `gooeyToast`
```ts
gooeyToast(title, options?) // default (neutral)
gooeyToast.success(title, options?) // green
gooeyToast.error(title, options?) // red
gooeyToast.warning(title, options?) // yellow
gooeyToast.info(title, options?) // blue
gooeyToast.promise(promise, data) // loading → success/error
gooeyToast.update(id, options) // update an existing toast in-place
gooeyToast.dismiss(idOrFilter?) // dismiss one, by type, or all
```
### Common options (2nd arg)
| Option | Type | Notes |
| --------------- | ------------------- | ---------------------------------------------- |
| `description` | `ReactNode` | String or component body |
| `action` | `GooeyToastAction` | `{ label, onClick, successLabel? }` |
| `icon` | `ReactNode` | Custom icon (`null` clears in `update`) |
| `duration` | `number` | ms |
| `id` | `string \| number` | Stable id (needed for `update`) |
| `fillColor` / `borderColor` / `borderWidth` | colors / px | Blob styling |
| `spring` / `bounce` | `boolean` / `number` | bounce `0.05`–`0.8`, default `0.4` |
| `preset` | `'smooth' \| 'bouncy' \| 'subtle' \| 'snappy'` | Animation preset |
| `showProgress` | `boolean` | Countdown bar (only on toasts with a description/action; starts when the toast expands) |
| `sound` | `boolean \| string \| { [type]?: url, default?: url }` | Per-toast sound override |
| `showTimestamp` | `boolean` | Default `true` |
| `onDismiss` / `onAutoClose` | `(id) => void` | Dismiss callbacks |
### `<GooeyToaster />` key props
`position` (`'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'`, default `'bottom-right'`),
`theme` (`'light'|'dark'|'system'`, default `'light'`), `closeButton`, `showProgress`, `closeOnEscape`,
`maxQueue`, `queueOverflow` (`'drop-oldest'|'drop-newest'`), `dir` (`'ltr'|'rtl'`),
`spring`, `bounce`, `preset`, `swipeToDismiss`, `showTimestamp`, `gap`, `offset`,
`sound` (`boolean | url | per-type map`, default `true`), `soundVolume` (0–1, default `0.4`).
`showProgress` and `sound` are both on by default — pass `false` to opt out.
## Theming & dark mode
Theme changes restyle toasts already on screen. Pick one:
```tsx
<GooeyToaster theme="system" /> // follow the OS
<GooeyToaster theme={resolvedTheme === 'dark' ? 'dark' : 'light'} /> // next-themes
```
Every color is a CSS variable, so app tokens (Tailwind, shadcn) can drive them.
Declare anywhere in the tree (`:root`, `.dark`, ...):
```css
:root { --gooey-fill: #fff; --gooey-title-default: #111; --gooey-description: #555; }
.dark { --gooey-fill: #18181b; --gooey-title-default: #eee; --gooey-description: #aaa; }
/* also: --gooey-border, --gooey-border-width, --gooey-timestamp, --gooey-close-fg,
--gooey-title-{success,error,warning,info,loading},
--gooey-action-{type}-{bg,fg,bg-hover,bg-active}, --gooey-progress-{type}, --gooey-progress-track */
```
Prefer these variables over `classNames` for colors. Per-toast `fillColor` /
`borderColor` still win over the variables.
## Sounds (on by default)
Built-in tones play by default. To customize, set once on the root
`<GooeyToaster>`; every toast uses it — don't pass `sound` on each toast:
```tsx
<GooeyToaster sound={false} /> // turn sounds off
<GooeyToaster sound={{ // custom files (fetched on mount)
success: '/sounds/success.mp3',
error: '/sounds/error.mp3',
default: '/sounds/notify.mp3', // fallback for unlisted types
}} />
gooeyToast.error('Quiet one', { sound: false }) // per-toast override
```
## Recipes
### Description + action button
```tsx
gooeyToast.info('Share link ready', {
description: 'Your link has been generated.',
action: {
label: 'Copy',
onClick: () => navigator.clipboard.writeText(url),
successLabel: 'Copied!', // morphs back to pill after click
},
})
```
### Promise toast
```tsx
gooeyToast.promise(saveData(), {
loading: 'Saving...',
success: (data) => `Saved ${data.count} items`,
error: (e) => `Failed: ${String(e)}`,
description: { success: 'All changes synced.', error: 'Try again later.' },
action: { error: { label: 'Retry', onClick: () => retry() } },
})
```
### Update in place
```tsx
const id = gooeyToast('Uploading...', { icon: <Spinner /> })
gooeyToast.update(id, { title: 'Done', type: 'success', icon: null })
```
### Dismiss by filter
```tsx
gooeyToast.dismiss(id) // one
gooeyToast.dismiss({ type: 'error' }) // all errors
gooeyToast.dismiss({ type: ['error','warning'] })
gooeyToast.dismiss() // all
```
## Gotchas
- Forgetting `import 'goey-toast/styles.css'` → unstyled toasts. Most common bug.
- `<GooeyToaster />` must be mounted exactly once, near the root.
- `update()` requires the same `id` returned from the create call.
- `framer-motion` is a peer dep — install it explicitly.
- Dark mode: default `theme` is `'light'`. Pass `"system"` or the app's resolved
theme; don't pass next-themes' raw `theme` value (it can be `"system"` or
`undefined` before mount — `"system"` is fine, map anything else to light/dark).
- Sounds are on by default; if the user/app wants silent toasts, pass
`sound={false}`. Browsers block audio until the user has interacted with the
page; sound files must be same-origin or CORS-enabled.
- Backward-compat aliases exist (`GoeyToaster`, `goeyToast`) for v0.2.x; prefer
the double-`o` names (`GooeyToaster`, `gooeyToast`).
## Reference
- Live demo & docs: https://goey-toast.vercel.app
- npm: https://www.npmjs.com/package/goey-toast
提问、分享技巧或报告无法使用。按“有帮助”数量排序。