agentleFS
marinvchmarinvch/Cortex/skills/grilling/SKILL.md

grilling

Skill1 starsChanged 2 months agoMITView on GitHub

Interview the user relentlessly about a plan or decision until every branch is resolved. Triggers — "grill me", "stress-test this", "poke holes in this", or a ritual reaching a decision it must not guess.

193 other projects use a version of this, 94 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use loop-me, setup-ts-deep-modules and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 26 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 16 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 22 projects that use this

  • qwlabsSkill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 17 projects that use this

  • qhuang20Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 23 projects that use this

  • pahwarangerSkill

    setup-skills

    Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.

    Also in 6 projects that use this

  • +2 more from Roentek

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 94 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Finding facts is your job, never the user's: When a frontier question needs a fact from the environment — the filesystem, the index, a tool …

    line 32
  2. Distinctive:

    Ask the rest of the frontier now.

    line 36
  3. Very specific:

    If a decision crystallises a term, add it to the target repo's CONTEXT.md as you go.

    line 56
  4. Very specific:

    If it settles a trade-off with a rejected alternative, offer an ADR in the repo's ADR directory (docs/adr/, or adr/).

    line 57

“Common” is measured: kept by at least 6 in 10 of the 94 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/grilling — resolve the design tree before you build

Interview the user relentlessly until you 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: number each question and give your recommended answer. Then wait for the user's answers before the next round.

Format each question like this:

❓ **Q1** - **<question title>**: <question body, may be several paragraphs, and may offer choices>

➡️ <your recommended answer>

Each round of answers reshapes 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 the user's. When a frontier question needs a fact from the environment — the filesystem, the index, a tool — dispatch a sub-agent to find it. Don't ask the user anything you could look up yourself. Don't block on it either: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report. Ask the rest of the frontier now.

The decisions are the user's. Put each to them and wait.

The session is done when the frontier is empty: every branch visited, nothing left silently assumed. Do not act on it until the user confirms you have reached a shared understanding.

Where this fits in Cortex

Grilling is the shared interview discipline the other rituals borrow — it is vocabulary and method, not a stage in any one workflow:

  • /improve-codebase-architecture runs its grilling loop here, once the user picks a candidate from the report.
  • /analyze-spec grills the brainstorm before it hardens into a design spec.
  • /level-up and /onboard interview the user; both should ask in rounds with a recommended answer rather than one question at a time.

Two Cortex rules apply while grilling, because a grilling session is where they get broken:

  • If a decision crystallises a term, add it to the target repo's CONTEXT.md as you go. If it settles a trade-off with a rejected alternative, offer an ADR in the repo's ADR directory (docs/adr/, or adr/).
  • The employer firewall holds. Grilling a personal project must not pull day-job systems, colleagues or client names into the conversation record.

Adapted from mattpocock/skills (MIT). The design-tree and frontier method is upstream and unmodified; the "Where this fits in Cortex" section is a Cortex addition.

When the floor is not met

Grilling is rounds of questions that each depend on the last answer. A model that cannot hold the thread asks the same question twice and stops before the tree is resolved, which reads as agreement — the failure looks like success.

Below the floor: run it as a written interview instead. Ask three questions, have the user answer in the file, re-read the file, ask three more. The file carries the state the model cannot. Slower, and it converges.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.