Skip to content
Skillpedia
Tasks & projects29k Β· #9558

grill-with-docs

What it does

It checks a plan against the project's written terms and past architecture decisions, then asks questions one at a time. It suits teams that keep their decisions in project documents.

When to use it

  • βœ“When you have a plan that should match your project's existing documents.
  • βœ“When you want the agent to check your plan against past architecture decisions.
  • βœ“When you want the docs kept up to date as decisions become clear.

Skill link

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/grill-with-docs/skills/grill-with-docs/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/grill-with-docs/skills/grill-with-docs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI want you to grill my new feature plan against our project glossary and architecture decisions.”

5 new skills a week. 1 minute to read.

How it works

The agent scans the project's glossary and decision records, then questions your plan one step at a time. It updates the documents as terms and decisions are settled.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Grill with Docs

Derived from Matt Pocock's grill-with-docs (MIT, Β© 2026 Matt Pocock). Matt's interview discipline + docs-anchored grilling rules preserved verbatim under MIT. Additions in this repo: 3 stdlib validators (CONTEXT.md linter, ADR scanner, glossary↔code consistency check), 3 in-depth references each citing 7+ authoritative sources, cs-grill-with-docs agent, /cs-grill-with-docs command. See Wrapper additions below.

<what-to-do>

Interview me relentlessly about every aspect of this plan until we 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 question before continuing.

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

</what-to-do> <supporting-info>

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. The map points to where each one lives:

/
β”œβ”€β”€ 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 the user uses a term that conflicts with the 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 the user 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 the user to be precise about the boundaries between concepts.

Cross-reference with code

When the user 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 these up β€” capture them as they happen. Use the format in CONTEXT-FORMAT.md.

CONTEXT.md should be totally devoid of implementation details. Do not treat CONTEXT.md as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else.

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. Use the format in ADR-FORMAT.md.

</supporting-info>

Wrapper Additions

The additions below are not part of Matt's upstream skill. They operationalize the upstream's rules into deterministic, stdlib-only validators that pair naturally with the interview loop.

Workflow (with wrapper tools)

  1. Pre-flight (before the first question):
    • Run scripts/context_md_linter.py CONTEXT.md if a CONTEXT.md exists β€” confirms the glossary is well-formed before grilling against it.
    • Run scripts/adr_scanner.py docs/adr/ if docs/adr/ exists β€” surfaces numbering gaps, malformed ADRs, status-frontmatter inconsistencies.
    • Run scripts/glossary_code_consistency.py --context CONTEXT.md --code src/ β€” flags defined-but-unused terms (dead glossary) and code-only common nouns that may need definitions. Use the
FAQ

What files does it look for?

It looks for a glossary file named CONTEXT.md and decision records in a docs/adr folder.

What if my project has several contexts?

A CONTEXT-MAP.md file at the root points to each context, and the agent follows that map.

Does it edit my documents?

Yes. It updates the docs inline as terms and decisions settle.

Details

Original description by the author

Use when a plan should be stress-tested against the project's own docs (CONTEXT.md glossary, docs/adr decisions), or the user says 'grill with docs'. Scans ADRs with adr_scanner.py and updates the docs inline as terms and decisions settle.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9558
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills