agentleFS
kuker24kuker24/OpenCodeBestFriend/skills/grill-with-docs/SKILL.md

grill-with-docs

Skill0 starsChanged 2 months agoMITView on GitHub

Relentless interview to sharpen a plan with design-tree frontier rounds. Writes CONTEXT.md, a glossary, and ADRs as you go. Use when a feature still needs a plan, the user wants a deep planning interview, or they ask for /grill-with-docs.

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

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

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 181 edited versions we read keep these.

  • 6

    Distinctive

    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:

    Run the interview in this session.

    line 11
  2. Very specific:

    Use codebase-design only when the conversation reaches a module, interface, or seam.

    line 24
  3. Distinctive:

    Leave the repo with:

    line 28
  4. Distinctive:

    Use the project's words. When a term is overloaded, resolve it and write it into the glossary.

    line 38
  5. Distinctive:

    Do not implement code in this skill.

    line 39
  6. Distinctive:

    If Codebase Memory has no project for cwd, skip it and use repo files.

    line 40
  7. Very specific:

    Stop when the frontier is empty: every branch visited, nothing silently assumed, and you can implement or write to-spec without inventing …

    line 43
  8. Very specific:

    Read CONTEXT.md, existing ADRs, and enough of the repo to speak the domain.

    line 47
  9. Distinctive:

    Ask the next question (or independent frontier) that most reduces that frontier.

    line 49
  10. Very specific:

    After each answered decision, update CONTEXT.md.

    line 50

“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
<!-- opencode-bestfriend-overlay:grill-with-docs -->

Grill with docs

Run the interview in this session. Compose owned domain-modeling discipline (glossary, CONTEXT.md, ADRs) with relentless design-tree frontier rounds.

Map the decisions 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. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.

Each frontier question should follow this format:

❓ **Q1** - **<question title>**: <question body, options, trade-offs>

➡️ <your recommended answer>

Use codebase-design only when the conversation reaches a module, interface, or seam. Architecture DAGs still use the OpenCode plan agent, not this skill.

Goal

Leave the repo with:

  • CONTEXT.md — problem, decisions, open questions, glossary
  • ADRs under docs/adr/ (or adr/ if that already exists) for hard-to-reverse choices

Rules

  • You gather facts. The user makes decisions.
  • Finding facts is your job: when a frontier question needs a fact from the environment (filesystem, git, config), inspect it directly or dispatch a subagent; do not ask the user for facts you can look up.
  • One question at a time when the answer branches. Batch only independent frontier questions.
  • Use the project's words. When a term is overloaded, resolve it and write it into the glossary.
  • Do not implement code in this skill.
  • If Codebase Memory has no project for cwd, skip it and use repo files.
  • Architecture DAGs use the OpenCode plan agent, not this skill.
  • Ordinary writes stay in-session after the interview.
  • Stop when the frontier is empty: every branch visited, nothing silently assumed, and you can implement or write to-spec without inventing decisions.

Loop

  1. Read CONTEXT.md, existing ADRs, and enough of the repo to speak the domain.
  2. State the frontier: what you believe, what is undecided, what would change the design.
  3. Ask the next question (or independent frontier) that most reduces that frontier.
  4. After each answered decision, update CONTEXT.md. If the decision is hard to reverse, write an ADR.
  5. Repeat until the stop condition.

CONTEXT.md shape

# <feature or system>

## Problem

## Decisions

## Open questions

## Glossary

## Sources

ADR shape

# ADR <nnn>: <title>

Status: accepted
Date: <ISO date>

## Context

## Decision

## Consequences

After

Tell the user the paths you wrote. If the work is multi-session or they asked for tickets, offer /to-spec then /to-tickets. Otherwise implementation stays in this session; there is no user /implement skill.

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.