agentleFS
RandyRawgustRandyRawgust/ai-knowledge-base-template/.claude/skills/grill-with-docs/SKILL.md

grill-with-docs

Skill1 starsChanged 6 months agoMITView on GitHub

Grilling session that challenges a plan against the existing domain model, sharpens terminology, and updates CONTEXT.md and ADRs inline as decisions crystallise. Use when Andy wants to stress-test a coding plan against the project's domain language and documented decisions. Code-side counterpart to the brainstormer specialist.

195 other projects use a version of this, 58 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-matt-pocock-skills, decision-mapping 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.
  • GoogleSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 185 projects that use this

  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 9 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 65 projects that use this

  • liufeng1976Skill

    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 42 projects that use this

  • simo97Skill

    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 67 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 63 projects that use this

  • +1 more from Lesani

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 181 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the questions one at a time, waiting for feedback on each before continuing.

    line 10
  2. Distinctive:

    If a question can be answered by exploring the codebase, explore the codebase instead.

    line 12
  3. Distinctive:

    Use this skill for code/architecture plans where alignment with project vocabulary matters.

    line 17
  4. Very specific:

    If a CONTEXT-MAP.md exists at the root, the repo has multiple contexts:

    line 37
  5. Very specific:

    Create files lazily — only when you have something to write.

    line 53
  6. Very specific:

    When Andy uses a term that conflicts with existing language in CONTEXT.md, call it out immediately.

    line 58
  7. Distinctive:

    When he uses vague or overloaded terms, propose a precise canonical term.

    line 61
  8. Distinctive:

    When domain relationships are being discussed, stress-test them with specific scenarios.

    line 64
  9. Distinctive:

    When he states how something works, check whether the code agrees.

    line 67
  10. Very specific:

    When a term is resolved, update CONTEXT.md right there.

    line 70
  11. Very specific:

    Don't couple CONTEXT.md to implementation details.

    line 83
  12. Distinctive:

    Only offer to create an ADR when all three are true:

    line 87
  13. Distinctive:

    If any of the three is missing, skip the ADR.

    line 92

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

Grill With Docs

Interview Andy relentlessly about every aspect of this plan until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.

Ask the questions one at a time, waiting for feedback on each before continuing.

If a question can be answered by exploring the codebase, explore the codebase instead.

When to use

Triggers: grill me on this plan, stress-test the design, challenge my approach, walk the design tree, make sure we agree on the model.

Use this skill for code/architecture plans where alignment with project vocabulary matters. For looser, non-code "is this idea worth doing" sessions, use the brainstorm skill instead — that one delegates to the brainstormer specialist and saves to 00 - Chats/brainstorms/.

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:

/
├── 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.

During the session

Challenge against the glossary

When Andy uses a term that conflicts with 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 he 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 precision about the boundaries between concepts.

Cross-reference with code

When he 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, update CONTEXT.md right there. Don't batch — capture as it happens.

CONTEXT.md format (compressed):

# <Project> Domain Glossary

## <Term>
One-sentence definition in the user's language. Then a paragraph for edge cases, neighbours, and what this is NOT.

## <Next term>
...

Don't couple CONTEXT.md to implementation details. Only include terms that are meaningful to domain experts.

Offer ADRs sparingly

Only offer to create an ADR when all three are true:

  1. Hard to reverse — the cost of changing your mind later is meaningful
  2. Surprising without context — a future reader will wonder "why did they do it this way?"
  3. 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 (compressed):

# ADR-<NNNN>: <Title>

**Status.** Accepted | Superseded by ADR-<n> | Rejected

**Context.** What were we trying to solve?

**Decision.** What did we choose?

**Consequences.** What did we trade off?

**Alternatives considered.** Briefly — what we ruled out and why.

Source

Imported from mattpocock/skills — 05-21-26. Helper files (CONTEXT-FORMAT.md, ADR-FORMAT.md, DOMAIN-AWARENESS.md) summarised inline.

Integrates with

  • 03 - Skills & Rules/Agents/Specialists/brainstormer.md — non-code analog (vault-side ideation)
  • 03 - Skills & Rules/Skills/to-prd.md — typical downstream once the design is grilled clean
  • 03 - Skills & Rules/Skills/improve-codebase-architecture.md — shares the same grilling loop in step 3
  • 03 - Skills & Rules/Rules/style-no-sycophancy.md — must be on for grilling to work

Relationship to brainstormer specialist

The brainstorm skill (Writer dept) handles "is this idea worth doing" — wide, conceptual, often outside code. grill-with-docs handles "is this design consistent with the code we have" — narrow, code-grounded, ends with CONTEXT.md and ADR updates. Different tools, no overlap.

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.