foreman-debug
Headless root-cause debugging loop for a Foreman worker whose tests, build, or acceptance check are failing — especially on a retry. Find the root cause before…
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
$ npx -y skills add VisionForge-OU/foreman --skill foreman-grill-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/foreman-grill-docsContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: foreman-grill-docs description: 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. foreman_skill_version: 2
<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:
1. **Try to answer it yourself first** by exploring the target codebase, its `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. 2. **Only if it is genuinely unresolvable** from available evidence — because it 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:
and `prd.md`.
comments (which double as answers to the previous open questions).
</inputs>
<process>
Read the plan. Then explore the target repo to ground every claim:
context). 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.
contradicts 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` 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.
what 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 throug
A Boris-style agentic orchestrator TUI that supervises headless Claude Code agents through a gated software-delivery pipeline — pointed at any repository. plan → ADR/PRD → issues → TDD build → e2e Why Foreman?
Headless root-cause debugging loop for a Foreman worker whose tests, build, or acceptance check are failing — especially on a retry. Find the root cause before…
Headless implementation-plan authoring for the Foreman planning stage. Explore the target repo first, then write a deep, decomposition-aware plan that the…
Stack-agnostic test-driven development loop for a single Foreman issue.
Break an approved PRD into small, dependency-ordered, vertically-sliced implementation issues written as local files in the Foreman feature directory. Each…
PRD template and authoring rules for Foreman. Synthesizes a PRD from the approved plan and the grilled decisions and writes it as a local file in the Foreman…
Headless self-verification gate a Foreman worker runs before it claims an issue is done. Re-run the real commands, read the actual output, and only then write…