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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
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
<what-to-do>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-docsagent,/cs-grill-with-docscommand. See Wrapper additions below.
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:
- Hard to reverse β the cost of changing your mind later is meaningful
- Surprising without context β a future reader will wonder "why did they do it this way?"
- 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)
- Pre-flight (before the first question):
- Run
scripts/context_md_linter.py CONTEXT.mdif aCONTEXT.mdexists β confirms the glossary is well-formed before grilling against it. - Run
scripts/adr_scanner.py docs/adr/ifdocs/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
- Run
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.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9558
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.