下载地址
https://www.zhengdianxue.com/wp-content/uploads/skills/user_dc515faf--grill-stan.zip将提示词发送给你的 AI 安装该 skills
请根据 https://skillhub.cn/install/skillhub.md,安装 @user_dc515faf/grill-stan。- 🔥 Grill — 让 AI 拷问你的设计 一句话: 在你动手之前,让 AI 追着你把每个设计决策想清楚。 它解决什么问题? 写代码前,大家都有过这些时刻: 方案只想了一半就开干,结果做到一半发现方向不对 术语含义模糊,"
- 账户"
- 到底指客户还是用户?团队各说各话 边界条件没想清楚,上线后才踩坑 Grill 就是来治这个的。 它不写代码——它只问问题,一个接一个,直到每个分支都走通。 怎么用? 说一声 "
- grill me"
- ,或描述你的计划/设计 AI 会逐个问题追问,每问一个等你回答 能从代码里找答案的,它自己去查,不问你 每个术语敲定后,自动写入 CONTEXT.md 术语表 遇到不可逆决策,提示你创建 ADR(架构决策记录)
阅读全文 (展开查看完整说明)
概述
<what-to-do>
Interview me relentlessly until we reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.
Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask _now_ without guessing at answers you haven't heard yet. Ask the whole frontier in one round, then wait for my answers before the next round.
How to ask a round
Split the round's questions by kind and ask both parts within the same round.
Decision questions — a call between candidate answers you can actually name. Ask these with the AskUserQuestion tool. Write the consequence of picking an option into that option's description, not just a restatement of the label: what it commits me to, and what it costs. The tool caps one call at 4 questions of 4 options; when a round holds more decision questions than fit, make more than one call in the same round rather than deferring them to a later round.
Open questions — genuinely open-ended, where naming candidate answers would be guessing. Ask these as a numbered list:
❓ Q1 – <question title>: <question body, might be multiple paragraphs>
➡️ <your recommended answer>
—
❓ Q2 – <question title>: <question body, might be multiple paragraphs>
➡️ <your recommended answer>
If you cannot name the candidate answers, it is an open question. Never manufacture options to force a question into the tool, and never drop a question into prose because the round felt long.
Working the tree
Each round my answers reshape the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a _later_ round, not this one.
Finding _facts_ is your job, never mine. When a frontier question needs a fact from the environment (filesystem, codebase, tools), go find it yourself in the main context — never ask me for anything you could look up. Delegate a lookup to a sub-agent only when it falls in one of these three categories: screenshot/OCR coordinate finding, bulk measurement and statistics, or scanning session history and large directories. Everything else you look up inline. Either way, don't block the round on a lookup: only the questions downstream of it wait, so ask the rest of the frontier now. The _decisions_ are mine: put each to me and wait.
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not act on it until I confirm we have reached a shared understanding.
</what-to-do>
<supporting-info>
Domain awareness
During codebase exploration, also look for existing documentation:
File structure
Most repos have a single context:
/
├── CONTEXT.md
├── docs/
│ └── adr/
│ ├── 0001-event-sourced-orders.md
│ └── 0002-postgres-for-write-model.md
└── src/If a CONTEXT-MAP.md exists at the root, the repo has multiple contexts. The map points to where each one lives:
/
├── CONTEXT-MAP.md
├── docs/
│ └── adr/ ← system-wide decisions
├── src/
│ ├── ordering/
│ │ ├── CONTEXT.md
│ │ └── docs/adr/ ← context-specific decisions
│ └── billing/
│ ├── CONTEXT.md
│ └── docs/adr/Create files lazily — only when you have something to write. If no CONTEXT.md exists, create one when the first term is resolved. If no docs/adr/ exists, create it when the first ADR is needed.
If neither CONTEXT.md nor docs/adr/ exists, still run the full grilling session — just skip the doc updates and focus purely on the interview.
During the session
Challenge against the glossary
When the user uses a term that conflicts with the existing language in CONTEXT.md, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
Sharpen fuzzy language
When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account' — do you mean the Customer or the User? Those are different things."
Discuss concrete scenarios
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
Cross-reference with code
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
Update CONTEXT.md inline
When a term is resolved and CONTEXT.md exists (or should be created), update it right there. Don't batch these up — capture them as they happen.
CONTEXT.md format:
# {Context Name}
{One or two sentence description of what this context is and why it exists.}
## Language
**Order**:
{A one or two sentence description of the term}
_Avoid_: Purchase, transaction
**Invoice**:
A request for payment sent to a customer after delivery.
_Avoid_: Bill, payment requestRules for CONTEXT.md:
- Be opinionated — pick the best term and list others as aliases to avoid
- Keep definitions tight — one or two sentences, define what it IS
- Only include terms specific to this project's domain (not general programming concepts)
- Group terms under subheadings when natural clusters emerge
CONTEXT.md should be totally devoid of implementation details. It is a glossary and nothing else.
Offer ADRs sparingly
Only offer to create an ADR when all three are true:
- Hard to reverse — the cost of changing your mind later is meaningful
- Surprising without context — a future reader will wonder "why did they do it this way?"
- The result of a real trade-off — there were genuine alternatives and you picked one for specific reasons
If any of the three is missing, skip the ADR.
ADR format — lives in docs/adr/ with sequential numbering: 0001-slug.md, 0002-slug.md.
# {Short title of the decision}
{1-3 sentences: what's the context, what did we decide, and why.}That's it. An ADR can be a single paragraph. Only add Status, Considered Options, or Consequences sections when they add genuine value.
</supporting-info>