[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10942":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":8,"languages":8,"totalLinesOfCode":8,"stars":9,"forks":10,"watchers":11,"openIssues":12,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":14,"stars30d":14,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":15,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":8,"pushedAt":8,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":13,"starSnapshotCount":13,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},10942,"skill-always-ask-next","endman100\u002Fskill-always-ask-next","endman100",null,126,10,120,1,0,7,41.32,false,"main",true,[],"2026-06-12 04:00:53","# always-ask-next\n\n> **⚠️ 強制規則** — 此 skill 定義了「完成任務後必須詢問下一步」的強制模式，不可跳過、不可例外。\n\n[English version → README_en.md](README_en.md)\n\n## 說明\n\n`always-ask-next` 要求 Agent 在每次完成所有任務、宣告結束之前，必須呼叫 `AskUserQuestion`，動態生成 3 個後續行動選項供使用者選擇，避免 Agent 自行假設結束點或遺漏後續行動。\n\n---\n\n## 安裝方式（強制執行）\n\n若只是將此 skill 放在知識庫中，Agent **不會自動強制執行**。需要按照以下方式安裝，才能確保每次對話都生效。\n\n---\n\n### GitHub Copilot（VS Code）— 推薦，全域生效\n\n在 VS Code User Prompts 資料夾建立 `always-ask-next.instructions.md`，設定 `applyTo: \"**\"` 使其套用到所有工作區。\n\n**Windows：**\n```powershell\n$dest = \"$env:APPDATA\\Code\\User\\prompts\"\nNew-Item -ItemType Directory -Path $dest -Force | Out-Null\n```\n\n**macOS \u002F Linux：**\n```bash\nmkdir -p \"$HOME\u002FLibrary\u002FApplication Support\u002FCode\u002FUser\u002Fprompts\"\n# Linux:\n# mkdir -p \"$HOME\u002F.config\u002FCode\u002FUser\u002Fprompts\"\n```\n\n在該資料夾內建立 `always-ask-next.instructions.md`，內容如下：\n\n````markdown\n---\napplyTo: \"**\"\n---\n\n# 強制規則：完成任務後必須詢問下一步（always-ask-next）\n\n每次 **完成所有當前任務後、宣告結束前**，必須執行以下步驟：\n\n1. 呼叫 `AskUserQuestion`（或等效互動工具）\n2. `header` 固定為：`\"Next Action\"`\n3. `question` 固定為：`\"What would you like to do next?\"`\n4. 根據當前執行脈絡，**動態生成 3 個最相關的後續行動選項**\n\n⚠️ 此規則為強制規則，不可跳過，不可假設使用者不需要後續行動。\n\n## Skill 路徑\n\n`\u003CYOUR_SKILL_DIR>\u002Falways-ask-next\u002FSKILL.md`\n````\n\n> 將 `\u003CYOUR_SKILL_DIR>` 替換為你的 skill 知識庫實際路徑。\n\n---\n\n### Claude（claude.ai \u002F API system prompt）\n\n在 system prompt 最前面加入：\n\n```\nAdditional rule:\nAfter completing all tasks, before declaring done, you MUST call AskUserQuestion with:\n- header: \"Next Action\"\n- question: \"What would you like to do next?\"\n- 3 dynamically generated relevant next action options based on current context\nThis rule is mandatory. No exceptions.\n```\n\n---\n\n### Cursor \u002F Windsurf \u002F Cline — Rules 檔案\n\n**Cursor：** `.cursor\u002Frules\u002Fagent-next-action.mdc` 或 `.cursorrules`  \n**Windsurf：** `.windsurfrules`  \n**Cline：** `.clinerules`\n\n```\n# Agent Next Action — Mandatory Rule\n\nAfter completing all tasks, before declaring done, always ask:\n- header: \"Next Action\"\n- question: \"What would you like to do next?\"\n- 3 dynamically generated relevant options\nNo exceptions.\n```\n\n---\n\n## 快速安裝提示詞\n\n貼入任意 Agent（Copilot、Claude、Cursor 等）即可自動完成安裝：\n\n```\n請讀取以下 skill 的 README.md 並完成安裝：\n\u003CYOUR_SKILL_DIR>\u002Falways-ask-next\u002FREADME.md\n\n告訴我建立了哪個檔案以及放置的位置。\n```\n\n> 將 `\u003CYOUR_SKILL_DIR>` 替換為實際路徑，例如 `c:\\Users\\user\\.copilot\\skills`。\n\n---\n\n## 目錄結構\n\n```\nalways-ask-next\u002F\n├── SKILL.md    ← Skill 定義（Agent 執行邏輯）\n└── README.md   ← 本文件（安裝說明）\n```\n","`always-ask-next` 是一个旨在确保AI代理在完成任务后始终询问用户下一步行动的强制性技能。其核心功能是要求代理在每次完成所有任务、宣告结束之前，必须调用 `AskUserQuestion` 函数，提供三个根据当前上下文动态生成的后续行动选项供用户选择，从而避免代理自行假设对话结束或遗漏后续步骤。该技能适用于需要持续互动和明确用户意图确认的各种场景，如客户服务、项目管理和个人助理等。通过多种方式安装，包括VS Code全局生效配置以及Claude等平台的系统提示设置，确保了灵活性和广泛适用性。",2,"2026-06-11 03:30:54","CREATED_QUERY"]