4.4k davidondrej

4x4 Skill

通过 4 组共 16 个开放式问题快速收集用户决策,然后给出实施计划。仅用于高风险变更、重大产品决策或大型重构。用户输入 /4x4 时运行。agent 可以一句话建议使用,但绝不能自行启动。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

4x4

Get the user's judgment, taste, and decisions in 4 quick rounds. 16 open questions. A full run should take them 2–3 minutes.

The 4 sets

These are defaults. Adapt their names and focus to pull the most judgment and taste out of the user for this topic.

  1. Product — what it does, who it's for, UI/UX, scope.
  2. Software design — architecture, data, boundaries, what to reuse or delete.
  3. Practical — execution order, rollout, what ships first.
  4. Edge cases — the 4 most likely ways this breaks or surprises users. Each question asks how to handle one.

Workflow

  1. Load context fast. Use what's already in the thread. Skim only the files and docs that matter (scopes, ADRs, the diff). No research, no subagents.
  2. Pick the order. Start with the set whose answers most change the others.
  3. Pick 4 questions per set. Choose the 4 decisions with the biggest impact that only the user can make. Never ask what the code, docs, or common sense already answer. Skip anything already decided.
  4. Show one set at a time. Never preview or list the other sets. Stop and wait. Show the next set only after the user answers.
  5. Adapt. Rewrite later sets based on earlier answers.
  6. Present the plan. After set 4, give plain step-by-step instructions to execute the work properly, built from their answers. Chat only. Then stop. Don't build or write docs until the user says go.

Message format

## Set 2/4 · Software design

1. Where should X live?

2. ...

3. ...

4. ...

Nothing else. No intro, no outro.

Rules

  • Open questions only. Never give options, picks, recommendations, or hints. The point is the user's own thinking.
  • One short sentence per question. Concrete, plain English, clear on first read.
  • No meta questions, like how to measure success or what to test first. Ask about the work itself.
  • Vague or skipped answer: move on and use your judgment.
  • If the user calls a question bad, replace it or drop it. Your call.
  • If an answer contradicts an ADR or scope, point it out in the plan.
  • If an answer opens a big new question, note it in the plan. Don't add a 5th question.