agentleFS
ntorgantorga/agent-starter-kit/skills/grill/SKILL.md

grill

Skill146 starsChanged 3 months agoMITView on GitHub

Protocol that interviews the user in rounds over the Architect's design tree. Three paths control depth. Produces plan.md, arch.md, impl.md.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use kickoff, debug 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.
  • pcatattacksSkill

    kickoff

    Launch a collaborative team meeting using agent teams. Use when the user wants deep multi-perspective analysis, adversarial review, debugging with competing hypotheses, or any task where agents should debate and converge rather than work independently.

    Also in 3 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 8 projects that use this

  • WordPressSkill

    blueprint

    Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.

    Also in 3 projects that use this

  • GitHubSkill

    prd

    Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.

    Also in 4 projects that use this

  • MicrosoftSkill

    diagnose

    Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns

    Also in 5 projects that use this

  • allieraysSkill

    explain

    Explain what code does line by line so you can understand and learn from it.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 7

    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:

    If the frontier exceeds 5, ask the 5 questions whose answers unblock the most downstream questions.

    line 42
  2. Very specific:

    Re-tree on scope change: If an answer does not map to a node in the tree — a new branch, a scope change — re-dispatch the Architect …

    line 46
  3. Very specific:

    After the user confirms, the plan-management flow takes over (follows: skills/plan-management/SKILL.md): ground, review, then the coder per …

    line 51
  4. Distinctive:

    Never ask for a path that is recorded in long-term memory.

    line 61
  5. Distinctive:

    Never ask the user for a fact you can look up.

    line 64
  6. Distinctive:

    Never skip the checkpoint.

    line 65
  7. Distinctive:

    Never work a node whose dependencies are unsettled.

    line 66
  8. Distinctive:

    Never act on the tree until the user confirms shared understanding.

    line 67
  9. Distinctive:

    Never let a persona talk to the user directly.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 44 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

Purpose

Reach shared understanding with the user before execution. The Architect owns the design tree — the decisions the feature must settle, mapped with dependencies, pruned by path, ranked by impact. You work the frontier in rounds: ask up to 5 frontier questions, wait for the user's answers, transcribe the settled decisions into the artifacts. After the user confirms, execution is autonomous. The user is bothered in rounds, not on every micro-delivery.

Procedure

The path determines which branches the tree explores. Step 1 resolves it from long-term memory, or asks the user when none is recorded:

  • Beginner — business questions only. The Architect infers architecture from the maintenance, lightweight, and safe principles (KISS, single responsibility, safe boundaries — rules/code/general.md). Ceiling: 30 business questions.
  • Tinkerer — business and architecture questions. Ceiling: 30 business, 10 architecture.
  • Pro — business, architecture, and implementation questions. Ceiling: 100 questions per branch.

Artifacts live at .memory/plan/<feature-slug>/:

  • tree.md — the design tree. The Architect owns it.
  • plan.md — acceptance criteria, from the settled business decisions.
  • arch.md — directory structure, layer separation, reference projects. Tinkerer and pro. Beginner gets defaults.
  • impl.md — epics grouped at one day of work, with parallelizable groups.

You transcribe plan.md, arch.md, and impl.md as decisions settle. The Architect owns tree.md and the grounded impl.md.

  1. Select path. Check long-term memory (uses: skills/agent-memory/SKILL.md) for a recorded grill path under ## Preferences. If one exists, proceed with it — state the path in the first message to the user so they can override in one word. If the user overrides, replace the recorded entry. If none exists, ask the user to choose: beginner, tinkerer, or pro. Record the choice under ## Preferences as [grill] path: <beginner | tinkerer | pro>.
  2. Build the tree. Dispatch the Architect (personas/architect.md) (follows: skills/dispatch/SKILL.md) in tree mode with the selected path. The Architect writes tree.md.
  3. Work the frontier in rounds. The frontier is every open node in tree.md whose dependencies are all settled. Send up to 5 frontier questions per round, ordered by impact. Each question carries the tree's recommendation. Wait for the user's answers before the next round.

    Format each round:

    ❓ **Q1** - **<question title>**: <question body>
    
    ➡️ <recommendation from the tree>
    • If the frontier exceeds 5, ask the 5 questions whose answers unblock the most downstream questions.
    • A node that depends on another question open in this round belongs to a later round.
    • A node that depends on a fact in ## Facts: dispatch a host exploration agent (e.g., the host's Explore tool) to find the fact. Never ask the user for a fact you can look up. Do not block the rest of the frontier on a running fact-finder. Record the found fact in tree.md when it lands.
  4. Checkpoint after each round. Transcribe the settled decisions of the round into the relevant artifact files. Create a file if it does not exist. This survives context compaction and keeps the session on track.
  5. Re-tree on scope change. If an answer does not map to a node in the tree — a new branch, a scope change — re-dispatch the Architect (personas/architect.md) (follows: skills/dispatch/SKILL.md) in tree mode to extend tree.md. Settled nodes stay settled.
  6. Terminate. The grill is done when the frontier is empty. Present plan.md, arch.md, and impl.md to the user. Do not act until the user confirms you have reached a shared understanding.

Post-Grill Execution

After the user confirms, the plan-management flow takes over (follows: skills/plan-management/SKILL.md): ground, review, then the coder per epic.

Interrupt the user only for escalations:

  • A fact that contradicts a settled decision.
  • A business rule the grill did not cover.

The Architect classifies every discovery as adjust (folded into the remaining epics, no user gate) or escalate (user gate). Anything else, the Architect decides and documents inline.

Guardrails

  • Never ask for a path that is recorded in long-term memory. State it; do not ask.
  • The quality filter and the ceilings are applied by the Architect in the tree. Stop when the frontier is empty, not when you hit a ceiling.
  • Send at most 5 questions per round.
  • Never ask the user for a fact you can look up. Dispatch a subagent.
  • Never skip the checkpoint.
  • Never work a node whose dependencies are unsettled.
  • Never act on the tree until the user confirms shared understanding.
  • Never let a persona talk to the user directly. You are the only voice.

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.