一键导入
ask-questions-if-underspecified
clarify requirements before implementing. use when serious doubts arise.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
clarify requirements before implementing. use when serious doubts arise.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
MANDATORY for ALL git commits. this skill MUST be invoked before running `git commit` — never commit without it. triggers: /commit, 'commit this', 'commit', 'let's commit', 'save this', or any intent to create a git commit. also triggers when you are about to commit on behalf of the user after completing a task. covers commit messages (gitmoji format), staging, signing, and changeset creation.
react composition patterns for scalable components. use when refactoring boolean prop proliferation, building component libraries, or designing reusable apis.
基于 SOC 职业分类
| name | ask-questions-if-underspecified |
| description | clarify requirements before implementing. use when serious doubts arise. |
| version | 1.0.1 |
| metadata | {"repository":"https://github.com/trailofbits/skills","url":"https://github.com/trailofbits/skills/tree/c9b644a/plugins/ask-questions-if-underspecified/skills/ask-questions-if-underspecified"} |
use this skill when a request has multiple plausible interpretations or key details (objective, scope, constraints, environment, or safety) are unclear.
do not use this skill when the request is already clear, or when a quick, low-risk discovery read can answer the missing details.
ask the minimum set of clarifying questions needed to avoid wrong work; do not start implementing until the must-have questions are answered (or the user explicitly approves proceeding with stated assumptions).
treat a request as underspecified if after exploring how to perform the work, some or all of the following are not clear:
if multiple plausible interpretations exist, assume it is underspecified.
ask 1-5 questions in the first pass. prefer questions that eliminate whole branches of work.
make questions easy to answer:
defaults to accept all recommended/default choices)1b 2a 3c); restate the chosen options in plain language to confirmuntil must-have answers arrive:
if the user explicitly asks you to proceed without answers:
once you have answers, restate the requirements in 1-3 sentences (including key constraints and what success looks like), then start work.
1) scope?
a) minimal change (default)
b) refactor while touching the area
c) not sure - use default
2) compatibility target?
a) current project defaults (default)
b) also support older versions: <specify>
c) not sure - use default
reply with: defaults (or 1a 2a)