skills/grill-with-docs/SKILL.md
Grill-mode plus lazy documentation. Runs the grill-me interrogation and, as decisions are reached, writes them into CONTEXT.md (domain language) and docs/adr/000N-*.md (hard-to-reverse decisions) so a fresh agent can pick up cold without re-grilling the user. Triggers on "grill with docs", "/grill" in agent-native repos, "grill and document", "interview me and write it down", or when the user wants the grill output captured persistently rather than living in the chat transcript.
npx skillsauth add RonanCodes/ronan-skills grill-with-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Wrapper around matt-pocock/skills/grill-me and ubiquitous-language that, as the interrogation proceeds, materialises two persistent artefacts:
CONTEXT.md (or CONTEXT-MAP.md + per-context files for multi-bounded-context repos) — the domain language a future agent needs to reason inside this codebase. Built incrementally from terms that surface during grilling. Synthesises Pocock's ubiquitous-language skill output with the in-grill terms.docs/adr/000N-<slug>.md — one Architecture Decision Record per hard-to-reverse decision (database choice, auth provider, deployment substrate, framework, etc.). Format: Context / Decision / Consequences. Sequential N. Written only when a decision is irreversible enough to warrant a record.The point: the grill transcript dies with the session. CONTEXT.md and ADRs survive into the next agent's context window. Write them lazily during the grill, not after.
Before grilling, ensure Matt's upstream skills are reachable:
test -e ~/.claude/skills/grill-me || npx -y skills@latest add mattpocock/skills/skills/productivity/grill-me -g
test -e ~/.claude/skills/ubiquitous-language || npx -y skills@latest add mattpocock/skills/skills/architecture/ubiquitous-language -g
No-op if both are already symlinked.
Open with grill-me's interrogation. One question at a time, always with a recommended answer and why. Walk the decision tree foundations-first. Same rules as the base grill-me skill.
Listen for two signals as answers come back:
CONTEXT.md under the right section with a one-line definition, plus aliases-to-avoid if the user has been using competing words.docs/adr/000N-<slug>.md? y/n". On y, write it with sections: Context, Decision, Consequences, Status: accepted, Date: YYYY-MM-DD.Never write the destination PRD inside grill-me. Hand that to write-a-prd after the grill closes. grill-with-docs writes only CONTEXT.md and ADRs — they are independent of any specific PRD and outlive it.
Close with a printed manifest of files written this session:
Wrote during this grill:
- CONTEXT.md (+4 terms: Pulse run, reorder watch, lock graph, trust gradient)
- docs/adr/0007-substrate-cf-workers-not-fly.md
- docs/adr/0008-sync-via-pr-not-shared-fs.md
grill-me| Use base grill-me | Use grill-with-docs |
| --- | --- |
| Quick design check in the chat, output is throwaway | Building a real repo; documentation needs to outlive the session |
| Repo has no docs/adr/ and you don't want one | Repo is agent-native (Pocock pattern); next agent must pick up cold |
| You'll write the PRD yourself right after | You want the domain language and irreversible decisions captured separately from the PRD |
In agent-native repos following the Pocock pattern — single ready-for-agent label, PRDs as GH issues, slices as child issues — /grill should route to this skill by default. The base grill-me is the fallback for ad-hoc design conversations.
# Context
A future agent reading this file alone should be able to pick up unfamiliar work in this repo without re-asking the same questions.
## Domain
| Term | Definition | Aliases to avoid |
| --- | --- | --- |
## System shape
(Top-level components and how they talk to each other. 5-10 bullets max.)
## Conventions
(Style choices that aren't captured in lint/format config — naming, error-handling stance, test-vs-runtime invariants.)
For multi-bounded-context repos: write CONTEXT-MAP.md at the root pointing at contexts/<name>/CONTEXT.md per bounded context. Trigger this layout when the grill surfaces two or more distinct domain languages (e.g. "scheduling terms" vs "billing terms") that don't share vocabulary.
# ADR-000N: <slug>
- **Status**: accepted
- **Date**: YYYY-MM-DD
## Context
(What forces are at play. The grill question that triggered this ADR.)
## Decision
(The choice, stated as a single sentence.)
## Consequences
(What this commits us to. What we can no longer easily do. What we now have to do.)
CONTEXT.md or ADRs before the grill reaches the relevant decision — that defeats the lazy point. Write only when the user has confirmed the term or decision.docs/adr/*.md, pick max(N) + 1. Create the directory if absent.development
--- name: worktree description: Coordinate multiple agents on one repo via a worktree-lock pool, so two agents never clobber each other's working tree. Acquire the first free slot (main, then beta/gamma… worktrees, created on demand), work there on your own branch, release when you've pushed. Use before modifying any repo that might be in use by another agent (factory, dataforce, etc.), or whenever you're told a repo is being worked on. Backed by `ro worktree`. category: development argument-hin
testing
--- name: ship description: Ship a feature branch the local-CI-first way — run the full local gate, push, open a PR, squash-merge, then deploy, without waiting on GitHub Actions. Use when a branch is ready for main and you want it merged and deployed now. Reads CI policy from `ro ci` (default skips remote CI because GitHub Actions billing keeps hitting limits). Sibling to /ro:gh-ship (waits on GitHub checks) and /ro:cf-ship (the deploy half). Triggers on "ship it", "ship this", "merge and deploy
testing
--- name: setup-logging description: Set up (or audit) the observability stack in a TanStack Start + Cloudflare Workers app so it is "diagnosable by default" — structured logging (logtape) with a request context carrying trace_id + userId + tenant/orgId, a trace_id propagated FE→BE→logs→Sentry→PostHog, Cloudflare Workers observability enabled, and Sentry + PostHog wired. Two modes: `setup` (wire it into an app) and `audit` (check an existing app + report gaps). Use when scaffolding a new app, wh
development
Manage credentials INSIDE the active ~/.claude/.env file — read which token/account to use for a given app (Simplicity vs Dataforce vs Ronan-personal), add or update a secret WITHOUT it passing through the chat (an interactive Terminal window prompts for it), and track secrets that were exposed in a transcript so they get rotated. Sibling to /ro:context (which switches WHICH env file is active). Use when the user wants to add an API key/token/secret, asks "which credential do I use for X", needs the env organized/labelled, or a secret was pasted into the chat and should be rotated.