Skills Plugins MCP Prompt Model 博客 我的中心

ask-user

You MUST use this before high-stakes architectural decisions, irreversible changes, or when requirements are ambiguous. Runs a decision handshake with the ask_user tool: summarize context, present structured options, collect explicit user choice, then proceed.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=edlsh-pi-ask-user-skills-ask-user-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name ask-user description You MUST use this before high-stakes architectural decisions, irreversible changes, or when requirements are ambiguous. Runs a decision handshake with the ask_user tool: summarize context, present structured options, collect explicit user choice, then proceed. metadata {"short-description":"Decision gate for ambiguity and high-stakes choices"} Ask User Decision Gate Use this skill to force explicit user alignment before consequential decisions. This skill is about decision control , not general chit-chat. Non-negotiable rule Invoke ask_user before proceeding when any of the following is true: The next step changes architecture, schema, API contracts, deployment strategy, or security posture. The work is costly to undo (large refactor, migration, destructive edit, production-facing behavior change). Requirements, constraints, or success criteria are unclear, conflicting, or missing. Multiple valid options exist and the trade-off is preference-dependent. You are about to assume something that can materially change implementation. Do not skip this gate unless the user has already provided a clear, explicit decision for the exact trade-off. Agent Protocol Handshake (required) Follow this handshake in order. 1) Detect boundary Classify the current step as: high_stakes ambiguous both clear (no gate needed) If classification is not clear , continue. 2) Gather evidence first Before asking, gather context from available tools ( read , bash , exa , ref , etc.). Do not ask the user to decide blind. 3) Synthesize context Prepare a short neutral summary (3-7 bullets or short paragraph) covering: current state key constraints trade-offs recommendation (if any) 4) Ask one focused question Call ask_user with one decision at a time: question : concrete decision prompt context : synthesized summary options : 2-5 clear choices when possible allowMultiple : false unless independent selections are genuinely needed allowFreeform : usually true displayMode (optional) : "overlay" (default) or "inline" . Use "inline" when preceding assistant context (summary, trade-offs, recommendation) is essential to the decision and should remain visible — overlays cover the conversation underneath. The user may set a personal default via the PI_ASK_USER_DISPLAY_MODE environment variable; only pass this when you intentionally want to override it for one call. contextExpanded (optional) : true opens oversized context fully expanded instead of collapsed behind a one-line summary. The user may set a personal default via PI_ASK_USER_CONTEXT_EXPANDED ; only pass this when the context is the evidence the user needs to weigh the options. 5) Commit the decision After response: restate the decision in plain language state what will be done next proceed with implementation 6) Re-open only on new ambiguity Ask again only if materially new uncertainty appears. Avoid repetitive confirmation loops. Anti-overasking guardrails (required) Apply a strict question budget per decision boundary: Max 1 ask_user call per decision boundary in normal cases. Max 2 ask_user calls for the same boundary when first response is unclear/cancelled. Never ask the same trade-off again without new evidence. Escalation ladder: Attempt 1: structured options + concise context. Attempt 2 (only if needed): narrower question with agent recommendation and explicit choices: Proceed with recommended option Choose another option (freeform) Stop for now After attempt 2: If boundary is high_stakes or both : stop and mark blocked . Do not keep asking. If boundary is ambiguous only and user says “your call” or equivalent: proceed with the most reversible default and state assumptions explicitly. ask_user payload quality standard Question quality Use: “Which option should we adopt for X?” “Do you want A (fast) or B (safer) for Y?” Avoid: broad/open prompts with no decision boundary multiple unrelated decisions in one question questions that should be answered by reading code/docs first Option quality Options must be: mutually understandable short and outcome-oriented explicit on trade-offs Good options include a short description when trade-offs are non-obvious. Recommended patterns Single-select architecture decision { "question" : "Which caching strategy should we use for the first release?" , "context" : "Current API has p95 latency issues. Redis is fastest but adds infra complexity; in-memory cache is simpler but not shared across instances." , "options" : [ { "title" : "In-memory cache" , "description" : "Simpler rollout, weaker horizontal consistency" } , { "title" : "Redis cache" , "description" : "Better consistency and scalability, more ops overhead" } ] , "allowMultiple" : false , "allowFreeform" : true } Multi-select when decisions are independent { "question" : "Select the first-wave hardening items to implement now." , "context" : "We can ship quickly with baseline controls, then add targeted hardening. Budget is limited to 1-2 days." , "options" : [ "Rate limiting" , "Audit logging" , "Input schema validation" , "Secrets rotation" ] , "allowMultiple" : true , "allowFreeform" : true } Anti-patterns Asking ask_user without first gathering context Using it for trivial formatting choices Forcing options when freeform is clearly better Asking the same question repeatedly without new information Proceeding with high-stakes implementation after unclear/cancelled answer If user cancels or answer is unclear Pause execution and explain what is blocked. Use at most one narrower follow-up ask_user question (attempt 2). After that, do not continue asking in a loop: for high-stakes decisions: remain blocked until explicit decision for ambiguity-only decisions: proceed only if user delegated the choice ("your call") Additional reference For full trigger matrix, UX conventions, and extension interaction details, read: references/ask-user-skill-extension-spec.md
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。