executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
ui-tip-usage规范全局 $tip Toast 的调用方式(成功默认、错误需手动指定 icon)。
Independent GitHub snapshot · Automated classification · Original documentation governs
本 Skill 用于当用户提出“提示/Toast 怎么写”、“$tip 怎么用”、“复制成功要不要提示”等需求时。
同时:在你编写代码时,只要你想到需要向用户展示一个提示(成功/失败/警告/信息),也要优先按本 Skill 的规范调用 $tip。
const { $tip } = useNuxtApp();$tip(message, { color: string, icon: string, timeout: number })$tip(message)color: 'success'icon: 'mdi-check'(对勾)timeout: 3000timeout: -1 代表永久不自动关闭:
$tip('长期提示', { timeout: -1 })$tip(message, { color: 'error', icon: 'mdi-error' })成功提示:
const { $tip } = useNuxtApp();$tip('操作成功');错误提示(必须指定 icon):
const { $tip } = useNuxtApp();$tip('保存失败', { color: 'error', icon: 'mdi-error' });自定义颜色/超时(非 error 时可不传 icon):
$tip('正在生成报告...', { color: 'info', timeout: 5000 });