lean-grill-with-docs
Skill7 starsChanged 48 days agoMITView on GitHub
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation in GLOSSARY.md and ADRs inline as decisions crystallize. Use when the user is creating or refining a plan or design and wants it grilled against their project's language and documented decisions.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- find-skillsSkill
- git-conventional-commitSkill
- skill-creatorSkill
- code-reviewSkill
- define-conventionsSkill
- diagnoseSkill
- feature-specificationSkill
- git-conventional-commitSkill
- implementSkill
- maintain-changelogSkill
- planSkill
- setup-lean-coding-agentSkill
- workflow-bug-fixingSkill
- workflow-feature-developmentSkill
- workflow-planningSkill
- workflow-refactorSkill
- workflow-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Challenge against the glossary: When a term conflicts with GLOSSARY.md, call it out immediately: "Your glossary defines 'cancellation' as …
- Distinctive: line 35
Cross-reference with code: When the user states how something works, check the code and surface contradictions: "Your code cancels entire …
- Distinctive: line 44
Use the format in ADR-FORMAT.md.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Interview the user relentlessly until you reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.
Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask now without guessing at answers you haven't heard yet. A question that depends on another question still open belongs to a later round. Ask the whole frontier in one round, numbering each question and giving your recommended answer, then wait for the user's answers. Recompute the frontier from the settled decisions and ask the next round.
Format each question like so, separating questions with ---:
❓ **Q1** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>
➡️ <your recommended answer>Word each question so "yes" accepts your recommended answer.
Finding facts is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), use the explorer subagent if available; otherwise, dispatch a sub-agent on the smallest model suited to the task. If you can't dispatch one, look it up yourself. Don't ask the user for anything you could look up. Don't block on a running exploration: it's an unsettled prerequisite, so only the questions downstream of it wait for the result; ask the rest of the frontier now. The decisions are the user's: put each to them and wait.
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not act on it until the user confirms you have reached a shared understanding.
Domain Modeling
Actively build and sharpen the project's domain model as you design: challenge terms, invent edge-case scenarios, and write the glossary and decisions down the moment they crystallise.
For where GLOSSARY.md and ADRs live, and how to tell single- from multi-context repos, see GLOSSARY-FORMAT.md and ADR-FORMAT.md. Create files lazily: only when you have something to write.
During the session:
- Challenge against the glossary. When a term conflicts with
GLOSSARY.md, call it out immediately: "Your glossary defines 'cancellation' as X, but you seem to mean Y. Which is it?" - Sharpen fuzzy language. Propose a precise canonical term for vague or overloaded ones: "By 'account', do you mean the Customer or the User?"
- Discuss concrete scenarios. Stress-test domain relationships with invented edge cases that force precise boundaries between concepts.
- Cross-reference with code. When the user states how something works, check the code and surface contradictions: "Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?"
- Update
GLOSSARY.mdinline. Record each term as soon as it's resolved, using GLOSSARY-FORMAT.md. No implementation details: it's a glossary, not a spec.
Offer an ADR only when the decision is all three:
- Hard to reverse: changing your mind later is costly
- 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
Use the format in ADR-FORMAT.md.
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
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.

