agentleFS
cheetah-tradecheetah-trade/claude-code-team-kit/skills/grill-before-build/SKILL.md

grill-before-build

Skill0 starsChanged 29 days agoMITView on GitHub

Interview the user before building a new feature or changing a plan, one decision per question with 2-4 options and your recommendation first. Use before any non-trivial build or change of direction, and whenever the user says "grill me" or asks to be interviewed about a plan.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before building a new feature or changing a plan, interview the user until you both share one understanding of what will be done.

    line 8
  2. Distinctive:

    Every new feature, improvement or change of direction.

    line 14
  3. Distinctive:

    Not needed: purely informational questions, and trivial edits where the user said exactly what to do and there are no real options.

    line 15
  4. Distinctive:

    Do your homework. Facts (what exists in the code, how something works, what was decided before, whether someone is already doing it) you …

    line 20
  5. Distinctive:

    Wait for the answer before asking the next one.

    line 29
  6. Distinctive:

    Ask for decisions, never for facts: If a fact can be found by looking, look.

    line 33
  7. Distinctive:

    Write a short summary of the decisions: what was decided, the date, who decided, and what is explicitly out of scope.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Grill before build: the planning interview

Before building a new feature or changing a plan, interview the user until you both share one understanding of what will be done. Treat this as the default step, not an extra; only an explicit "skip it" from the user turns it off.

When

  • Every new feature, improvement or change of direction.
  • Not needed: purely informational questions, and trivial edits where the user said exactly what to do and there are no real options.

Before the first question

  • Do your homework. Facts (what exists in the code, how something works, what was decided before, whether someone is already doing it) you look up yourself: the codebase, the docs, the decision log, open issues. Grilling someone about a feature that already shipped wastes their time.
  • Map the decision tree: which decisions depend on which. Resolve parents first.

Rules

  1. One question at a time. Several questions at once get half-answered. Wait for the answer before asking the next one.
  2. Every question carries your recommended answer, first and marked as recommended, with 2-4 concrete options and room for a free answer. A question without a recommendation pushes your work onto the user.
  3. Ask for decisions, never for facts. If a fact can be found by looking, look.
  4. Walk every branch of the tree: scope, who uses it, edge cases, what is out of scope, how success is checked, what it costs, what is irreversible.
  5. Name defaults as decisions. What is on by default, who gets notified, what survives deletion: a default is a decision nobody made until you ask.
  6. Do not hide alternatives because you think they will not be needed. Show them, recommended first.
  7. Do not reopen what was decided without a new fact; say what the new fact is.
  8. No action until the user confirms that shared understanding is reached.

How to write a question

  • It stands alone: one line of context, then the question.
  • Options are short enough to fit on a button, recommended option first.
  • Example:

    Deleting an account currently keeps its orders for reporting. What happens to a deleted user's orders?

    1. (Recommended) Keep them, anonymise the customer name and email
    2. Delete them with the account
    3. Keep them unchanged
    4. Something else
  • In a team, one lead collects the questions from everyone working on the task, removes duplicates and orders them by how much they block the work before anything reaches the user.

After: hand off the decisions

Write a short summary of the decisions: what was decided, the date, who decided, and what is explicitly out of scope. Save it where the next person or session will find it (the design doc, the issue, the team's decision log), so the next task does not grill the same ground. The summary should let someone with no access to this conversation start the work.

Adapted from the grill-me and handoff skills in mattpocock/skills (MIT licence, copyright Matt Pocock). See NOTICE.md.

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.