From c1ac241655dbe74f66e56eb0eb3c2491f20aea2e Mon Sep 17 00:00:00 2001 From: Erik Kotsiuba Date: Fri, 17 Apr 2026 19:13:59 +0200 Subject: [PATCH] docs(ask): update prompt snippet and guidelines --- src/ask-tool.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ask-tool.ts b/src/ask-tool.ts index f8a27cf..894fc84 100644 --- a/src/ask-tool.ts +++ b/src/ask-tool.ts @@ -12,6 +12,13 @@ export function registerAskTool(pi: ExtensionAPI) { label: "Ask User", description: "Ask the user one or more structured questions when clarification is required. Supports single-select, multi-select, and preview questions. Use `preview` when an option needs a dedicated preview pane (for example, code, layout, or configuration previews). Return the selected answers as structured data instead of guessing.", + promptSnippet: + "Ask the user structured clarification questions and return the answers as structured data", + promptGuidelines: [ + "Use this tool when requirements are ambiguous or when user preferences materially affect implementation.", + "Ask 1-3 concise questions instead of guessing.", + "Prefer short labels and 2-4 clear options per question.", + ], parameters: AskParamsSchema, async execute(_toolCallId, params: AskParams, _signal, _onUpdate, ctx) {