Headless grilling pass that challenges an approved implementation plan against the existing codebase and domain model, then writes an ADR draft and a PRD draft into the Foreman feature directory. Self-answers every question it can from the code/docs and surfaces the rest as an "Open questions for reviewer" block instead of interviewing a live user.
npx skills add https://github.com/VisionForge-OU/foreman --skill foreman-grill-docs
<what-to-do>
You are running headless, with no live human in the loop. Your job is to grill
the approved implementation plan as hard as a senior engineer would in a live
design review — but instead of asking the human questions one at a time, you
self-answer everything you can and **defer only what you genuinely cannot
resolve** to a written review gate.
Walk the full design decision tree. For each branch:
CONTEXT.md / CONTEXT-MAP.md glossary, and its docs/adr/ log. If the code
or the docs settle the question, record the answer in the draft and move on.
needs a product call, a priority trade-off, or knowledge that lives only in the
reviewer's head — add it to the ## Open questions for reviewer block at the
very top of the relevant draft.
Do NOT ask the user anything interactively. Do NOT wait for input. Produce the
drafts and stop.
</what-to-do>
<inputs>
Foreman injects, in the prompt:
plan.md..foreman/features/<slug>/ where you must write adr.mdand prd.md.
adr.md/prd.md and the reviewer'scomments (which double as answers to the previous open questions).
</inputs>
<process>
Read the plan. Then explore the target repo to ground every claim:
CONTEXT.md (or follow CONTEXT-MAP.md to the rightcontext). Use the project's canonical terms throughout both drafts. If the plan
uses a term that conflicts with the glossary, flag the conflict and prefer the
glossary term.
docs/adr/. Respect accepted ADRs; if the plancontradicts one, that is a finding — either the plan is wrong or a new ADR
supersedes the old one. Say which.
When the plan says "X works like Y", check whether the code agrees. Surface
every contradiction.
Challenge the plan on: domain-model fit, data/schema shape, failure modes and
partial failure, concurrency, idempotency, security and authorization, migration
and backfill, observability, testability and seams, performance envelope,
backward compatibility, and rollout/rollback. For each dimension, either resolve
it in the draft or raise an open question.
Stress-test relationships with concrete scenarios. Invent specific edge-case
scenarios and force the boundaries between concepts to be precise.
As decisions crystallise, update the target repo's own documentation **right
there**, not in a batch:
CONTEXT.md using CONTEXT-FORMAT.md. CreateCONTEXT.md lazily (only once the first term is worth recording). It is a
glossary only — never implementation detail.
docs/adr/ using ADR-FORMAT.md. Offer ADRs sparingly (all three tests in
ADR-FORMAT must hold). Create docs/adr/ lazily.
Write adr.md and prd.md into the feature directory. Each begins with the open
questions block (see format below). Immediately after the open-questions block in
both drafts, emit a ## Decisions made on your behalf section: ≤10 bullets,
each a single audit-judgment call you settled autonomously that the reviewer should
be able to sanity-check without re-reading the prose (e.g. "Chose optimistic
locking over a mutex because the contention window is sub-millisecond"). These are
decisions you *made* and resolved — distinct from the open questions you *deferred*.
Keep each bullet to one line; if you genuinely made no non-obvious calls, write a
single line: _None — no judgment calls beyond the plan._.
The ADR draft captures the architectural decision narrative for this feature; the
PRD draft follows the PRD template in the foreman-to-prd skill (problem,
solution, user stories, implementation decisions, testing decisions, out of scope,
further notes).
When Foreman re-runs you with reviewer comments:
guidance). Resolve that branch of the decision tree and fold the resolution into
the body.
## Changelog entry at the bottom of each revised draft notingwhat changed in this version and which comments drove it.
</process>
<open-questions-format>
At the very top of BOTH adr.md and prd.md, immediately after the title:
## Open questions for reviewer
- <a question you genuinely could not resolve from code/docs>
- <another>
Rules:
here you could have answered yourself.
_None — all questions resolved from the codebase and prior decisions._
remains. The grill loop is complete only at **zero open questions AND reviewer
approval.**
left struck through, on the next pass.
</open-questions-format>
<supporting-info>
foreman-to-prd skill.</supporting-info>
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take visionforge-ou/foreman-grill-docs from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.