SuperAPIAI Directory

grill

Agents & models

View repository

Updated 11-24 16:17

About this skill

Grill

Interview the user until both sides share an explicit, evidence-backed understanding. Model the topic as a decision tree, research discoverable facts, challenge the domain language, and record settled terminology and durable decisions as they crystallize.

Keep the interview separate from implementation. Capturing agreed terminology and accepted ADRs is part of the session. An interview-only request ends with the confirmed result. If the user already requested planning or implementation afterward, continue that work after the interview resolves its prerequisites; do not require them to repeat the request.

Core distinctions

  • Treat a fact as something discoverable from the environment, artifacts, documentation, or code. Find it yourself.
  • Treat a decision as a choice among viable alternatives. Put it to the user with a recommendation.
  • Treat a prerequisite as a fact or decision that must settle before a downstream question can be answered without guessing.
  • Treat the frontier as every unresolved decision whose prerequisites are settled now.

Never turn a discoverable fact into homework for the user. Never silently turn an unresolved decision into an assumption. When the user delegates a decision, state the chosen option and trade-off and treat that delegation as sufficient.

Resolve bundled resources

Before invoking a read for any relative reference in this skill, resolve it against the directory containing the selected grill/SKILL.md. Use that resolved path for the read. Never use the global skills directory, the current working directory, or the repository root as the base.

Workflow

1. Establish the subject

Restate the outcome being explored, the requested deliverable, and any explicit constraints. Mark interpretations as provisional until the user confirms them.

Build a mental decision tree rooted in that outcome. Add only branches that can materially change the result, such as:

  • scope and non-goals
  • actors, responsibilities, and boundaries
  • domain terms and invariants
  • lifecycle, states, and failure behavior
  • data ownership and integration points
  • usability, security, performance, or operational constraints
  • trade-offs, validation, rollout, and reversibility

Tailor the branches to the subject. Do not ask ceremonial questions that cannot affect a decision.

2. Research the facts

Inspect the relevant workspace, code, tests, documentation, prior decisions, and external sources before questioning the user. Distinguish direct evidence, reasonable inference, and remaining unknowns.

Use read-only tools or isolated research workers when the host provides them and current instructions permit them. Start each worker with a fresh context, not a fork of this conversation, so it checks facts without the interview's framing. If research runs asynchronously, treat its result as an unsettled prerequisite: defer only the dependent questions and continue with the rest of the frontier. If delegation is unavailable, research directly.

Before recommending an option, verify the premises that make it viable, such as API support or whether people use the workflow step it relies on. If an ambiguous scope boundary would change the recommendation, ask whether it excludes work from this run or from the product; do not infer one from the other.

When code, documentation, and the user's statement disagree, surface the conflict with concrete evidence. Do not average contradictory models. Ask which model is authoritative and identify the losing model as cleanup or migration work when relevant.

3. Load and challenge the domain language

Merely reading GLOSSARY.md to use its vocabulary is not this skill; any task can do that. This step is for challenging and changing the domain model.

Look for GLOSSARY-MAP.md and the relevant GLOSSARY.md before inventing terminology:

  • If the repository already uses CONTEXT.md or CONTEXT-MAP.md for the same purpose, use them in place of GLOSSARY.md and GLOSSARY-MAP.md. Do not create a second glossary.
  • If GLOSSARY-MAP.md exists, use it to locate the applicable bounded context and its ADR directory.
  • If only a root GLOSSARY.md exists, treat the repository as a single context.
  • If neither exists, create a root GLOSSARY.md after the first domain term is resolved by the user or within an explicitly delegated terminology choice.

Call out glossary conflicts immediately. Replace fuzzy or overloaded words with a proposed canonical term and ask the user to choose. Stress-test relationships and boundaries with concrete scenarios, especially edge cases that distinguish similar concepts.

Do not force domain documentation into a conversation-only session or a workspace where file writes are out of scope. Keep a concise decision and terminology ledger in the conversation instead.

4. Ask one frontier round

Compute the full current frontier. Exclude:

  • questions answerable through research
  • questions whose prerequisites are unresolved
  • questions whose answers cannot change the outcome

Sort the frontier into two kinds:

  • Decide. A real trade-off with no safe default, or a choice that is hard to reverse. Ask it in the full format below.
  • Default. The recommended option is cheap to reverse and a reasonable person would pick it. Do not ask it as a question. List it in one line: the decision, the option you take, and a short reason.

Ask at most three decide questions in a round, the ones that block the most other branches. Keep the rest in the ledger for later rounds. Put the defaults after the questions, under one line such as "I will take these unless you object". Keep a round short: give only the facts that the questions need, define a term of art on first use, and give each option and each default one line.

Before you recommend an option, read the rules that the repository gives for the subject, such as AGENTS.md and the documents it names, and the rules or feedback that the user gave in earlier sessions, when the host keeps them. If an option breaks such a rule, say so in the option. Recommend the option that best serves the outcome. Give cost as a trade-off, not as the reason, unless the user set a budget.

Write the questions in the language of the user's request. The format below fixes the structure, not the words.

Ask the decide questions together, in chat. Do not use a host question interface or tool, even when one is available: it limits the number of questions, shortens the options, and hides the reason for the recommendation. Every question must include explicit answer options and a recommendation. This requirement also applies to clarification questions, ADR-recording questions, and the final shared-understanding confirmation. For each question:

  1. State the decision precisely.
  2. List at least two distinct, meaningful answer options. For a confirmation, spell out both confirming and correcting or declining; do not assume yes/no is implicit in the question.
  3. Recommend one of the listed options by label and give a brief reason. The recommendation never substitutes for the options.
  4. Allow a free-form answer. For an unbounded choice, offer concrete starting options plus a way to supply a different answer; do not replace all options with an invitation to respond freely.

Use this required format for every question, with consecutive question numbers and additional option lines as needed:

❓ **Q1** - **<decision title>**: <question body>

- **A: <option>**: <meaning or trade-off>
- **B: <alternative>**: <meaning or trade-off>

➡️ **Recommend A**: <brief reason>

You can choose an option or give a different answer.

---

❓ **Q2** - **<decision title>**: <question body>

- **A: <option>**: <meaning or trade-off>
- **B: <alternative>**: <meaning or trade-off>

➡️ **Recommend B**: <brief reason>

You can choose an option or give a different answer.

Separate consecutive questions in a round with a horizontal rule (---).

Before sending a round, check that every question has its own visible options and a recommendation pointing to one of them. A question followed only by a recommendation is incomplete; add the missing options before sending.

Word each question so a bare "yes" accepts the recommended option. Treat "yes", "ok", or "agreed" without an option label as accepting the recommendation and the listed defaults. Treat a bare "no" as a request to reconsider the alternatives, not as a choice. If the user rejects a default and names an option, take it. If the user rejects it without an option, ask it as a decide question in the next round.

Then stop and wait for the user's answers. A question that depends on another question in the same round belongs to a later round.

5. Process answers and advance the tree

After each response:

  1. Convert answers into explicit decisions without adding unstated meaning.
  2. Resolve contradictions or ambiguity before depending on the answer.
  3. For delegated choices, record the chosen recommendation and its trade-off. Ask again only if new evidence exceeds the delegated scope.
  4. Update the terminology and decision ledger.
  5. Recompute the tree and ask the next round.

Continue until no unresolved branch can materially affect the result. Respect an explicit request to stop or defer a branch, but record the resulting unresolved decision and its impact.

Record decisions during the grill

When a project term is resolved by the user or within delegated authority, update the applicable GLOSSARY.md if documentation is in scope. Update it inline as each term resolves; do not batch glossary changes until the end. Resolve GLOSSARY-FORMAT.md from the selected grill/SKILL.md directory, then read and follow it before the first update. Keep GLOSSARY.md a glossary only: no implementation details, requirements, scratch notes, or architectural decisions.

Offer an ADR only when all three conditions hold:

  1. The decision is hard or costly to reverse.
  2. The choice would be surprising without its context.
  3. Genuine alternatives were considered and rejected for specific reasons.

If any condition is missing, do not create an ADR. If all three hold and ADR recording is not already authorized, ask whether to record it using the required question format (for example, A: record the ADR; B: keep the decision in the session ledger only). Then resolve ADR-FORMAT.md from the selected grill/SKILL.md directory and read and follow it. Create directories and files lazily.

Finish with a confirmed session result

The grill is complete when research is settled enough for the decision, the frontier is empty, and no material branch remains silently assumed.

Present a candidate shared-understanding summary containing:

  • objective and success criteria
  • settled decisions and their main trade-offs
  • canonical domain language
  • constraints, invariants, and explicit non-goals
  • unresolved facts, deferred decisions, and risks
  • documentation created or updated

Ask the user to confirm that this is the shared understanding using the required question format (A: confirm the summary; B: correct or reopen part of it). If they correct or reopen anything, add the affected branches and resume the rounds.

After the user confirms, show a final Grill Result that records the accepted objective, decisions, canonical language, constraints, non-goals, unresolved items, and documentation changes. End an interview-only request there. Confirmation settles the shared understanding; it does not grant additional execution authority. Continue a previously requested follow-on phase only within its established scope.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools