用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rlaope/bestwork-agent --skill clarify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Evidence-driven causal tracing — competing hypotheses, falsification, rebuttal round, recommended next probes
Feature validation gate — research, define purpose, stress-test from real user perspective before building
Maximum parallelism burst — all tasks execute simultaneously with no coordination overhead
基于 SOC 职业分类
正在显示 SKILL.md
| name | clarify |
| description | Ask targeted clarifying questions to uncover missed requirements before execution |
When this skill is invoked, you MUST follow this exact output sequence.
[BW] clarify — requirement deep-check before execution...
Before asking any question, do TWO things silently:
If the request involves existing code, spawn an Explore agent to understand the current state:
NEVER ask the user about something you can find in the codebase yourself.
Score the request on 4 dimensions (0-100):
| Dimension | Weight | What it measures |
|---|---|---|
| Goal | 40% | Is the primary objective unambiguous? |
| Scope | 25% | What's in and what's out? |
| Criteria | 20% | How do we know it's done correctly? |
| Risk | 15% | What constraints, edge cases, or failure modes exist? |
Print the initial assessment:
[BW] clarity assessment:
Goal: {score}% — {brief reason}
Scope: {score}% — {brief reason}
Criteria: {score}% — {brief reason}
Risk: {score}% — {brief reason}
─────────────────
Overall: {weighted score}%
If overall score >= 80%: skip to Step 4 (no questions needed).
[BW] ✓ requirements clear enough — proceeding without questions
If the request contains concrete signals (file paths, function names, error messages, numbered steps, acceptance criteria), boost the score accordingly.
Ask ONE question per round, targeting the lowest-scoring dimension.
Use AskUserQuestion for each question:
[BW] clarify round {N}/5 — targeting: {dimension} ({score}%)
{The question — specific, actionable, not generic}
Hints (if applicable):
- {option A based on codebase context}
- {option B}
- {option C}
(say "go" to skip remaining questions and start execution)
[BW] clarity update:
Goal: 85% (+15) ✓
Scope: 45% (+0) ← next target
Criteria: 60% (+10)
Risk: 30% (+0)
─────────────────
Overall: 60%
Stop the question loop when:
Print the final requirements spec:
[BW] ═══════════════════════════════════
[BW] clarify complete — {N} rounds, {overall}% clarity
[BW] ═══════════════════════════════════
## Requirements (confirmed)
{Bullet list of confirmed requirements from the original request + answers}
## Decisions made
{Bullet list of decisions from the Q&A that resolved ambiguity}
## Open gaps (if any)
{Bullet list of remaining low-score areas — flagged but not blocking}
## Recommended execution
- Mode: {solo/trio/blitz based on scope}
- Agents: {recommended agent list}
After the summary, offer next steps:
[BW] next:
a) execute now — proceed with these requirements
b) ask more — continue clarifying
c) save spec — save to .bestwork/specs/ and decide later
If user picks (a): route to the appropriate execution skill (delegate/trio/blitz/deliver) based on the classified scope.
If user picks (c): save to .bestwork/specs/{timestamp}-{slug}.md.
Save clarification state to .bestwork/state/clarify.json:
{
"created": "<ISO timestamp>",
"originalRequest": "<user's original prompt>",
"rounds": [
{
"round": 1,
"dimension": "scope",
"question": "...",
"answer": "...",
"scoreDelta": { "scope": 25 }
}
],
"finalScores": { "goal": 90, "scope": 75, "criteria": 85, "risk": 60 },