agentleFS
yokeloopyokeloop/yoke/skills/grill-docs/SKILL.md

grill-docs

Skill1 starsChanged 4 months agoMITView on GitHub

Docs-aware grilling: interrogates the user's plan one question at a time AND maintains the domain glossary (.yoke/context.md) and architecture decision records (.yoke/adr/) inline as decisions crystallise. Used to stress-test a plan against the project's language and documented decisions; for a plain interview that writes no files, use grill. Activates when the user writes "grill-docs", "grill with docs", "grill and update the glossary", "grill and write ADRs", "stress-test against the glossary", "challenge my plan and capture decisions".

2 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. wachawo/claude-skills★ 026% same

    Wrote their own version · 1

    1. KrishP147/skills★ 37same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository19 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 22
  2. Very specific:

    Create files lazily — only when there is something to write.

    line 50
  3. Very specific:

    When the user uses a term that conflicts with the existing language in .yoke/context.md, call it out immediately.

    line 56
  4. Distinctive:

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

    line 60
  5. Distinctive:

    When discussing domain relationships, stress-test them with specific scenarios.

    line 64
  6. Distinctive:

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

    line 68
  7. Very specific:

    When a term is resolved, update .yoke/context.md right there.

    line 72
  8. Very specific:

    Keep .yoke/context.md free of implementation details.

    line 74
  9. Distinctive:

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

    line 78
  10. Distinctive:

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

    line 84
  11. Distinctive:

    Every question must offer a recommended answer first.

    line 91
  12. Distinctive:

    Stop when a full pass down the decision tree surfaces no new open decisions.

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Grill with docs

<what-to-do>

Interview the user relentlessly about every aspect of this plan until reaching a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.

Ask one question at a time through the AskUserQuestion tool, waiting for the answer before continuing. Use a short header (≤12 chars) per question, and present 2–4 options with the recommended answer first, labelled (Recommended) and a one-line rationale; the user can pick "Other" to answer free-form. A later question usually depends on an earlier answer — resolve the branch in order, don't batch unrelated questions.

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

$ARGUMENTS — the plan, design, or topic to grill. If empty, ask via AskUserQuestion what they want to be grilled on.

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

Domain awareness

During codebase exploration, also read the git memory: the affected files' commit history per ${CLAUDE_PLUGIN_ROOT}/skills/gca/reference/history-reading.md — a past Rejected: or Constraint: trailer is grill material, cite it when challenging the plan.

During codebase exploration, also look for existing documentation:

File structure

A single glossary and a single ADR directory for the whole repo, under .yoke/:

/
├── .yoke/
│   ├── context.md
│   └── adr/
│       ├── 0001-event-sourced-orders.md
│       └── 0002-postgres-for-write-model.md
└── src/

Create files lazily — only when there is something to write. If no .yoke/context.md exists, create it when the first term is resolved. If no .yoke/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 .yoke/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 discussing domain relationships, 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. On finding a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"

Update the glossary inline

When a term is resolved, update .yoke/context.md right there. Don't batch these up — capture them as they happen. Use the format in reference/CONTEXT-FORMAT.md.

Keep .yoke/context.md free of implementation details. Do not treat it as a spec, a scratchpad, 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 reversing it 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 one was chosen for specific reasons

If any of the three is missing, skip the ADR. Use the format in reference/ADR-FORMAT.md.

</supporting-info>

Rules

  • One AskUserQuestion per question. Wait for the answer before moving on.
  • Every question must offer a recommended answer first; the user may answer free-form via "Other".
  • Stop when a full pass down the decision tree surfaces no new open decisions. Around 15 questions, check in: ask whether to keep going or wrap up.
  • Capture terminology in .yoke/context.md and decisions in ADRs inline, lazily — create files only when there is something to write.
  • End the session by summarising the resolved decisions and confirming what was written to .yoke/context.md and .yoke/adr/.
  • For a plain interview without documentation maintenance, use /yoke:grill.
  • Language: match the user's language, or follow the project-level definition in CLAUDE.md / AGENTS.md.

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.