agentleFS
mik2winmik2win/foureyes/skills/grill-with-docs/SKILL.md

grill-with-docs

Skill2 starsChanged 3 months agoMITView on GitHub

A relentless grilling session that ALSO builds the project's shared language as you go — runs the /grill interview while /domain-model captures crystallizing terms into CONTEXT.md and decisions into ADRs, inline. You leave aligned AND with the glossary/decisions written down, so the next session is terser and the codebase gets named consistently. TRIGGER when: the user wants to stress-test a design AND pin down its terminology/decisions — "grill me and document it", "grill with docs", aligning on something worth recording. DO NOT TRIGGER when: a quick plain stress-test is enough (use /grill), or it's pure glossary/ADR work with no plan to interrogate (use /domain-model).

195 other projects use a version of this.

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

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 181 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run a /grill session and a /domain-model session at the same time.

    line 19
  2. Very specific:

    Create CONTEXT.md / docs/adr/ lazily — on the first real term/decision, not before.

    line 57
  3. Very specific:

    Lazy files: No empty CONTEXT.md/docs/adr/ — create on first real content.

    line 88

“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: $ARGUMENTS

Run a /grill session and a /domain-model session at the same time. The grilling drives alignment; the domain-modeling captures the language and decisions the grilling surfaces — written down the moment they crystallize, not in a "document it later" step that never happens.

This is arguably the highest-leverage technique in the kit: a single interview that aligns you with the agent and builds a shared vocabulary. The payoff compounds — variables, functions, and files get named from the same language; the codebase becomes easier to navigate; the agent spends fewer tokens because one precise term replaces a paragraph of explanation.

$ARGUMENTS is the plan or design to grill. If empty, ask what to grill, then stop.


How it runs

This skill composes the two primitives — it adds no new interview or glossary mechanics of its own. Drive both in lockstep:

  1. Ground — load .claude/PROJECT.md (Domain, Architecture) and CONTEXT.md + docs/adr/ if present, per each primitive's Phase 0. The glossary you read is also the one you'll extend. Profile optional. Like both primitives, this runs with or without a profile: if .claude/PROJECT.md is missing or still TEMPLATE, proceed on the plain subject (lean on the root CLAUDE.md if it carries the facts) and tell the user /bootstrap will wire the CONTEXT.md / docs/adr/ locations into it.
  2. Grill — run the /grill loop on $ARGUMENTS: one question at a time, each with your recommended answer, exploring the codebase instead of asking when it can. Walk the decision tree to resolution.
  3. Capture as you go — apply the /domain-model discipline continuously while grilling:
    • A fuzzy or overloaded term surfaces → sharpen it and write it to CONTEXT.md (canonical term + _Avoid_ synonyms) right then.
    • A term the user uses conflicts with the glossary → that conflict is itself a grilling question; resolve it and update the glossary.
    • A decision with real trade-offs gets settled → write an ADR (docs/adr/NNNN-<slug>.md), delegating the draft to the docs-writer agent if it's long.
    • The grill targets an existing plan/epic → also write the resolved decision back into the affected plan file(s) (not only the ADR/summary) and sweep siblings + the overview, per the Artifact-Continuity Contract (rules/_generic/planning-artifacts.md) — the next session reads the plan. Create CONTEXT.md / docs/adr/ lazily — on the first real term/decision, not before.

The two run as one conversation: grill a branch → if it crystallized a term or decision, record it → continue grilling. Don't batch the writing to the end.


Output

## Grill With Docs — <subject>

### Alignment (from /grill)
- Resolved: <decision> → <answer>
- Open (deferred): <fork> — <why>

### Language captured (from /domain-model)
- CONTEXT.md: <terms added/changed, with the _Avoid_ synonyms>
- ADRs: <docs/adr/NNNN-<slug>.md — one-line decision>

### Next
<route: /to-prd (write it up) | /prepare (plan it) | /implement (if trivial)>

Hard rules

  • Compose, don't reinvent. The interview is /grill; the glossary/ADR mechanics are /domain-model. This skill only runs them together — see those two for the details.
  • Write inline. Capture each term/decision the instant it's settled, mid-grill.
  • Lazy files. No empty CONTEXT.md/docs/adr/ — create on first real content.
  • One question at a time (the /grill rule still holds).

See also

  • /grill — the interview loop alone, when you don't need the docs.
  • /domain-model — the glossary/ADR discipline alone, when there's no plan to grill.
  • After: /to-prd (synthesize the aligned discussion) or /prepare (plan it).

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.