Use when the current request has no remaining deterministic next action and the agent is about to end the interaction by handing control back to the user.
PURPOSE: After completing an assigned task, do not silently end the interaction. Invoke the vscode_askQuestions tool to ask the user what to do next.
TASK HANDOFF IS TERMINAL: This skill is only for the point where the agent would otherwise stop. It is not a progress-update pattern, not a clarification shortcut, and not a substitute for carrying out obvious next actions.
Only when the current request is truly at a stopping point — meaning all requested work is done, no explicit next action remains, and the agent is about to end the response — you MUST invoke vscode_askQuestions as an actual tool call instead of silently stopping.
If there is still a concrete action you can take without user input, you MUST do that action first and MUST NOT invoke handoff yet.
Do NOT invoke this skill in any of these cases:
Before invoking vscode_askQuestions, check all of these in order:
vscode_askQuestions TOOL — pass a single question with concise options.recommended: true — prefer topic-continuation over generic cleanup.vscode_askQuestions is unavailable, ask the same question in plain text.Prefer these recommendation types (in order):
{
"questions": [
{
"header": "下一步操作",
"question": "当前任务已完成,接下来你希望做什么?",
"options": [
{ "label": "[topic-continuation option]", "recommended": true, "description": "最自然的后续步骤" },
{ "label": "[adjacent concern option]" },
{ "label": "暂时不做其他操作,先收尾" }
]
}
]
}
vscode_askQuestions tool.Bad timing:
Good timing:
vscode_askQuestions.Task completed: 修复了 Stop hook 的编码乱码问题
Correct behavior: invoke vscode_askQuestions with:
{
"questions": [
{
"header": "下一步操作",
"question": "编码修复已完成,接下来你希望做什么?",
"options": [
{ "label": "验证修复效果:触发一次 Stop hook 观察输出是否正常", "recommended": true },
{ "label": "延伸优化:检查其他 hook 脚本是否有相同编码风险" },
{ "label": "暂时结束,稍后再看" }
]
}
]
}