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-useconfirm-usage规范全局确认弹窗 useConfirm 的调用方式。
Independent GitHub snapshot · Automated classification · Original documentation governs
本 Skill 用于当用户提出“删除确认/是否继续/确认弹窗怎么写”等需求时。
const { showConfirm } = useConfirm();showConfirm(options),并通过 onConfirm 提供确认后回调。onConfirm。showConfirm({ title: string, message: string, icon?: string, // 默认 'mdi-help-circle' confirmText?: string, // 默认 '确认' onConfirm: () => void | Promise<void> })
const { showConfirm } = useConfirm();
const { $tip } = useNuxtApp();
showConfirm({
title: '删除会话',
message: '确定要删除这个会话吗?此操作不可恢复。',
icon: 'mdi-delete',
confirmText: '确定删除',
onConfirm: async () => {
await store.removeSession(sessionToDelete);
$tip('删除成功');
}
});