/forge:fg-askfrom forge
Grilling session that stress-tests a plan against the project's domain model, glossary, and ADRs, updating CONTEXT.md and ADRs inline. Entry point for the forge loop.
Ships in forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
Ask the questions one at a time, waiting for feedback on each question before continuing.
If a question can be answered by exploring the codebase, explore the codebase instead.
Read ../../core/HOST.md, ../../core/INTERACTION.md, and the matching ../../hosts/<host>/interaction.md. All grilling semantics are shared. Only the mechanism used to present a bounded choice differs between Claude Code and Codex.
During codebase exploration, also look for existing documentation:
Most repos have a single context:
/
├── .forge/
│ ├── CONTEXT.md
│ └── adr/
│ ├── 0001-event-sourced-orders.md
│ └── 0002-postgres-for-write-model.md
└── src/
If a CONTEXT-MAP.md exists at the root, the repo has multiple contexts. The map points to where each one lives:
/
├── CONTEXT-MAP.md
├── .forge/
│ └── adr/ ← all ADRs live here (single location, every context)
├── src/
│ ├── ordering/
│ │ └── CONTEXT.md ← glossary stays next to its code
│ └── billing/
│ └── CONTEXT.md
Create files lazily — only when you have something to write. If no .forge/CONTEXT.md exists, create one when the first term is resolved. If no .forge/adr/ exists, create it when the first ADR is needed.
When the user uses a term that conflicts with the existing language in CONTEXT.md, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
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."
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
When a term is resolved, update CONTEXT.md right there. Don't batch these up — capture them as they happen. Use the format in CONTEXT-FORMAT.md.
CONTEXT.md should be totally devoid of implementation details. Do not treat CONTEXT.md as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else.
Only offer to create an ADR when all three are true:
If any of the three is missing, skip the ADR. Use the format in ADR-FORMAT.md.
The original text ends above. What follows is the minimal glue that keeps the forge loop unbroken; the grilling method itself follows the original text above.
Language: This skill file is authored in English, but you MUST write every message shown to the user — grilling questions, menus, status/next-step lines, and handoff text — in the user's language (detect it from the user's own messages), never mirroring this file's English. All documents this skill generates for the user's project (plan, run notes, retros, CONTEXT.md entries, ADRs, handoff messages) are written in the user's language. Section headings defined in the format docs are canonical English names — when writing a document, render headings in the user's language; consumers match sections by meaning and position, not exact strings.
Explaining forge: forge's vocabulary is not the user's — verified: failed, unsealed tail, a pillar or gate name means nothing unread. Always, never gated on eco: gloss a forge-specific term on first use in a message (a few words, not a paragraph), put the purpose before the mechanism, and lead with the answer, closing on what it means for the user. A gloss is not filler — with eco on, ECO.md's terse rules govern form (length, padding) while these govern vocabulary, so terseness never deletes a gloss. Grilling questions are exempt from the terse half, not from this one — a gloss belongs in a question too.
Evidence and candor: every claim you make about code, state, or results — in a message or in a document you write (plan, run notes, retro, ADR) — carries its evidence in the same sentence (a file:line, a command and its output) or a label: Measured (you checked it this session), Inferred (reasoned from what you checked), Guess (a prediction or an unseen cause), rendered in the user's language. A label is not a license to skip a check — if a cheap check would settle it, run it; never hand the user a check you could run. Agreement is not the default: when asked whether to do something, invited to add scope, or shown an approach, give your real judgment first — the strongest objection, and "don't do it" when that is true. Change a recommendation only for a new fact or argument, never for repetition; the decision stays the user's — state the objection once, then follow their call without re-arguing or silently deviating. Output a deterministic script printed is already measured and needs no label. Grilling recommendations included — a recommended answer may be "don't do this".
Forge root: every .forge/... path in this section is relative to the resolved forge root — .forge/ on the default branch, .forge/branch/<branch>/ (git-tracked) on any other branch. Resolve it per ${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/skills/fg-run/FORGE-ROOT.md (skill-relative ../fg-run/FORGE-ROOT.md) before reading or writing state — backlog, plan, CONTEXT.md, ADRs, and retros all live under that root. Two global exemptions stay at the top-level .forge/ regardless of branch: .forge/config.json (the tdd read below) and .forge/codebase/ (the map read below) — read both globally, never under the branch root (ADR-0011). Reads of the permanent fuel (CONTEXT.md, adr/, retro/) on a non-default branch overlay the branch root on top of the top-level .forge/ base — read both, branch wins on conflict; writes go to the branch root only (see FORGE-ROOT.md's read overlay).
STEP 0 — before your first grilling question, check for existing work. Before you ask anything, and before the retro-feedback, active-decision, and codebase-map reads below, you MUST do this cheap state glance first — so grilling starts fast and no expensive setup is wasted if the user bails to finish prior work. This is the entry step: run it before any of the setup reads that follow, not after.
running.md and no run.md, report one line: "execution in progress — the new plan will wait behind it in the backlog." Do not collect, stop, delete, or otherwise act on the marker in fg-ask; continue grilling the new request and write only its eventual backlog plan. The running active plan is not a refinement candidate in (2).run.md whose STATUS.md is not status: done. It is easy to forget once the work felt done, and the old behavior made closing it cost the user the request they came here to make (it delegated to fg-next and abandoned the new grilling). Now, branch on how much judgment is actually left (ADR 260727-201115):
verified: is a sealable value (yes/skipped/n/a) → seal it now through fg-done, telling it this is an unattended seal (ADR 261024-191024): fg-done's retro judgment (../fg-done/SKILL.md step 0b) skips the retro or writes an auto retro log, and never asks its promotion question here — promotion is deferred to fg-learn's batch promotion, so the new request is not pushed aside. Report it in one line (sealed; retro skipped, or an auto retro log written with promotion deferred) and continue this grilling in the same turn. Divergence no longer decides this branch — a diverged run gets its retro log from the judgment's signals, not a question here.verified: pending or verified: failed → ask in one line (in the user's language): "⚠ the previous task <slug> is awaiting [verification / repair] — (a) finish it first, or (b) keep starting the new task?". On (a), invoke fg-next (it derives whether verification or repair is owed via fg-status's state machine — do not reimplement that decision here), and when it finishes, return to the request the user made and start grilling it — restate the held request in one line so the thread is visibly picked back up. Never require the user to re-trigger fg-ask: dropping their request is what broke the flow in the first place. On (b), proceed below — the new plan stacks in the backlog and coexists, exactly as designed.
Follow-ups on auto-close. Before the auto-seal, apply fg-done Behavior step 0 and ../fg-learn/FOLLOWUPS-FORMAT.md. Keep concrete candidates in the ledger even when the retro is skipped; do not call the seal primitive without its candidate checkpoint.
Boundaries (both branches). The reach is the active slot only, one task: .forge/executed/*/ parked tasks are not part of the unsealed tail but a deliberate wait (a human parked them to seal later), so report the count in one line and touch nothing — clearing them is fg-done/fg-done all's job, and auto-sealing them here would silently execute a batch the user never asked for. verified: pending or verified: failed is never auto-sealed (ADR-0009 is inviolable), and fg-ask never performs a UAT itself (that is fg-run's verification-only resume). The seal reached here is an orchestrator-delegated seal, so keep it terse — never render fg-done's explicit-single-seal summary chapter (ADR-0032). eco changes nothing here — this stays a one-line report, not a table. The eco summary table replaces task-end handoffs where a table is shorter than the prose it displaces; a single line is already shorter than any table, and the whole point of this auto-close is to not push aside the request the user came here to make. This exclusion is deliberate, not an oversight (ADR 260730-230321; the length test is in ADR-0032's 2026-07-31 amendment). If there is no unsealed tail at all, say nothing and proceed immediately — the common case, zero added latency. An active slot with only plan.md and no run.md (a promoted-but-unrun plan awaiting fg-run) is not a tail: it coexists normally and warning on it would be noise for deliberate backlog stacking..forge/loop.md exists, an fg-loop drive is in flight or halted at a wall. Warn in one line: "⚠ a goal loop is halted at a wall () — (a) resume it via fg-loop, or (b) keep starting the new task? (a new plan is loaded as a non-member of the loop)". On (b) proceed normally — the new plan is safe from the unattended drive because fg-loop promotes only the slugs listed in loop.md's ## Tasks membership section (see ../fg-loop/SKILL.md §2); do not add the new plan to that list. A halted goal loop is always a judgment case (never auto-closed — it is a drive contract, not a single task), so on (a) apply (1)'s branch-2 rule: hold the user's request and return to it once fg-loop hands back, rather than making them re-trigger fg-ask..forge/plan.md) and the backlog (.forge/backlog/) for an existing plan, and consult .forge/done/*/STATUS.md for what is already sealed. Resolve two things:
run.md nor running.md — the "between fg-ask and fg-run" window where a requirement can still be added before execution). Be deterministic, not guess-based: name the pending plan(s) and ask in one line whether this request refines one of them or is a new task (list them if several). Ask only when a pending plan actually exists — say nothing on empty state (no noise on a fresh start). This removes the old ambiguity where re-invoking fg-ask would fold-or-fork at random.
task: number, no part: marker) that coexists — this is an independent task, not a split.forge-slug / task: / tdd markers.<base>-1ofM + <!-- part: N/M -->, per PLAN-FORMAT.md).run.md or running.md. A run.md means the plan has already run; editing it would pollute the plan-vs-actual comparison the seal's retro judgment reads. A running.md means execution has started and code may already be changing. A requirement on either is a new task or, after a failed result, a post-failure re-grill — never an in-place refinement.
If it is plainly a new task, proceed as is — the new plan stacks in the backlog and coexists with existing work.Starting from a follow-up. Read the resolved root's .forge/followups.md when the user selects a candidate or asks for follow-up work. Follow ../fg-learn/FOLLOWUPS-FORMAT.md: grill normally, write the plan with followup-id, then mark the candidate taken with the new task number only after the plan is saved. A resumed request first looks for that marker in existing plans; taken candidates point to their existing task. Do not pick or dismiss candidates automatically. This ledger is branch-local, not part of the permanent-doc overlay.
Before starting: feed back the latest retros. If .forge/retro/ exists, read it as a starting point for grilling — pull each retro's "Do differently next time" and "Divergences" into your opening questions (which past traps could recur this time, which assumptions broke). Selection rule (when retros have piled up): first take those in the same area as this task (overlapping slug stem / domain terms), then up to the most recent 3–5. Don't read all of them. Retros are reference fuel for sharpening the plan, not a source of truth — the plan's source of truth comes only from CONTEXT.md and ADRs. If there are no retros or none are relevant, skip silently.
Before starting: read the active decisions. Always — this does not depend on whether any retro exists or is relevant. Read the active adr/ files as the ADR source of truth, but triage first rather than reading every full body — for a long-lived project the ADR set grows large and reading all of them bloats context. Read only each active ADR's header — its author/decided frontmatter block (if present), the title line, its ## Status section (if present — ADR-FORMAT.md places it directly under the title), and the opening sentence or two of the body (the context/decision gist) — read by structure, not a fixed line count (a new-format ADR's frontmatter block alone is 4 lines, so "first 2 lines" would stop before the title). Then fetch the full body only for the handful relevant to this task (overlapping slug stem / domain terms — the same selective discipline as the retros above). With many ADRs, take the titles and Status lines in one pass rather than opening files one by one — per overlay directory (the resolved root's adr/, plus the top-level .forge/adr/ on a non-default branch), -maxdepth 1 keeping retired/ out: find <dir> -maxdepth 1 -name '*.md' -exec awk 'FNR==1{s=0} /^# / && !(FILENAME in t){t[FILENAME]=1; print FILENAME ": " $0} /^## Status/{s=1; next} s && NF{print FILENAME ": " $0; s=0}' {} + (zsh-safe: the glob is quoted). This prints each title and Status line; the opening sentence is then read only for the ADRs that title makes plausibly relevant. This is the header triage other skills reference (fg-quick, PLAN-FORMAT.md's fix-forward ADR rule). Apply the read overlay (top-level base plus the branch root on a non-default branch — FORGE-ROOT.md, "Read overlay for permanent grilling fuel"). Do not read adr/retired/ at either level — those are ADRs the fg-cleanup utility retired (superseded/no-longer-applies, ADR-0012), kept on disk for archaeology but deliberately out of the active grilling fuel (retired IDs still count for ID minting — see ADR-FORMAT.md). Read each Status per ADR-FORMAT.md's "Reading a Status": an ADR superseded by another is not current, and for one partly superseded read the superseding ADR too. If there are no active ADRs, skip silently.
When creating an ADR (past the "Offer ADRs sparingly" gate above), mint its ID and fill its frontmatter per ADR-FORMAT.md: the time-based ID (YYMMDD-HHMMSS from the wall clock, bare — append the next free lowercase letter only on a same-second collision, scanning adr/ incl. retired/), author: from git config user.name (if unset, ask once for a name), and decided: = the date and time to the minute (YYYY-MM-DD HH:MM). Never renumber the grandfathered NNNN or YYMMDD-HH+letter ADRs. Write the ADR body in the user's language, matching the project's existing ADRs. When the new ADR supersedes all or part of an existing one, follow ADR-FORMAT.md's "Superseding an ADR" in the same write.
During grilling: confront the plan with the active decisions. The glossary already gets "challenge immediately" above; accepted ADRs get the same. When the plan — or an answer the user gives — contradicts an accepted ADR (as ADR-FORMAT.md defines "Contradicting an ADR"), say so immediately, cite it (ADR <id>, its path, and what it decided in one line), and have the user pick one: (a) supersede it — a new ADR per ADR-FORMAT.md's "Superseding an ADR"; (b) amend it — edit the existing ADR in place with a dated amendment note, when the decision still stands but needs a correction; or (c) drop or adjust the plan so it fits the decision. Record the outcome in the plan's Related ADRs. Never silently plan against an accepted ADR — a plan that quietly contradicts one leaves two sources of truth, and fg-run judges slices against both.
Before starting: read the codebase map. If .forge/codebase/ exists (produced by the fg-map utility), read the documents relevant to this task before grilling — they are a structured map of the stack, architecture, conventions, and known concerns, so you grill against the map instead of re-exploring the whole codebase from scratch (this is what cuts context rot). Check each document's last_mapped_commit frontmatter against the current HEAD (git rev-parse HEAD): if the map is many commits behind (e.g. dozens), warn in one line — "the codebase map is stale (mapped at {sha}, now {n} commits back); consider re-running fg-map" — then proceed anyway (do not block). If .forge/codebase/ does not exist, skip silently; the map is optional fuel, not a prerequisite.
During grilling (conditional): external research as reference fuel. If the plan hinges on knowledge that is not in this repo — an unfamiliar library/framework, an external API/protocol/standard, or a domain the team lacks — or the user asks for it, you may gather grounding with a deep-research capability if one is available (e.g. a deep-research skill, or Claude's web research). This is optional fuel, not a prerequisite (same standing as .forge/codebase/): if no such capability exists, skip silently and grill with the project docs + codebase as usual — never hard-depend on a specific external skill. Never auto-run it — research is slow and costly, so offer first ("this looks like it needs external research on X — run deep research before we grill?") and run only on agreement. It does not replace grilling: findings are reference fuel, the one-question-at-a-time conversational grilling still happens, and the web is a reference — the source of truth stays CONTEXT.md/ADRs, not the research. Fold conclusions into the plan (Source of truth / decisions); if the research drives a hard-to-reverse technology choice, record it as an ADR under the usual gate. Do not dump raw research into a new doc. (See .forge/adr/0006-fg-ask-optional-deep-research-fuel.md.)
During grilling (conditional): point to fg-agents when a specialized role would recur. If grilling reveals that the task — or the project — has recurring, separable specialized work a dedicated domain agent would serve well, and the project lacks a fitting card under .claude/agents/, mention it once as an offered pointer: the fg-agents utility grills that domain and generates .claude/agents/<role>.md role cards that fg-run later dispatches as agentType. Narrow and offered, never auto-invoked — fg-agents is its own conversational skill, and its cards take effect only after a session restart (loaded at session start — ADR-0024), so state that gate when you point. Don't raise it on every task — only when a recurring role would clearly help (the same "roles must earn their place" restraint fg-agents itself applies); if it doesn't apply, say nothing. It is a pointer, not a dependency. (fg-run carries the matching pointer for the execution side — see its "Domain agents" note; ADR-0024.)
During grilling (conditional): tie the proof to the verification skill. A verification skill is a project-local verify-<app> skill under .claude/skills/ (built by the fg-verify utility) that drives the app the way a user does and carries a feature map of the journeys it can prove. Three cases, decided by what exists and what the Definition of Done needs: (a) a verification skill exists and this task touches a mapped journey → write a DoD item naming the entry the UAT must drive, in the form PLAN-FORMAT.md defines (verify-<app>: features/<feature>.md) — deciding what proves the work before it runs is what keeps the executor from picking a convenient path afterwards; work outside the map keeps the ordinary UAT, never forced into it. (b) this task changes a named feature's user path (a renamed button, a new step, a moved route) → add a slice that updates that features/<feature>.md, so the map changes in the same task as the code. (c) no verification skill exists, the project has a surface a user operates (web UI, CLI, API, app), and some DoD item cannot be checked by a command (it needs a human to click or look) → point once to fg-verify: it builds a verification skill so later UATs can drive the app instead of asking (the UAT reads its files, so it works in the same session — no restart). Offered, never auto-invoked; if declined, do not raise it again this session; unattended drives never reach this (they do not grill). Otherwise say nothing (ADR 261025-090138).
During grilling (conditional): offer the visual companion just-in-time. Offer it the first time something in the session would be genuinely clearer shown than told — whether that is a question you are asking or an explanation you are giving. Both directions count: a question whose answer you need, and an explanation whose structure the user needs. These all qualify — recognize them and offer:
The boundary for explanations: a text flow diagram comes first. If A → B → C carries it, write that in the terminal — the browser is for what a text diagram cannot hold: several branches at once, a state machine's transitions, a deep hierarchy, or a comparison across more than one axis. (Skill files themselves are text-flow-only by convention; this is about the conversation, not the docs.)
The boundary that stays: a question about a UI topic whose answer is words is still a terminal question ("what kind of wizard do you want?" is conceptual; "which of these wizard layouts feels right?" is visual — see VISUAL.md's per-screen test). So the discipline is: judged early (the checkpoint below), offered at the moment the first thing that reads better shown actually arrives — a visual question or a structural explanation, whichever comes first.
Offer it once, as its own message (only the offer, no other content). Do not offer upfront at session start; if nothing of the kind ever arises — no visual question and no explanation a text flow diagram cannot carry — never offer. If the user declines, continue text-only and don't offer again unless they raise it. If they accept, read ../fg-showme/VISUAL.md (or ${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/skills/fg-showme/VISUAL.md) and follow it: start the server (${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/skills/fg-showme/scripts/start-server.sh --project-dir <repo root> --open), give the user the complete keyed URL, and push screens for the questions and explanations that warrant them. Per-screen decision: even after acceptance, judge each question and each explanation browser-vs-terminal (the VISUAL.md test).
Answers may come from either channel. The browser is not display-only: a click is a valid answer to a choice question, and a screen may carry a text input (ADR 260730-224259). Read state_dir/events and merge it with the terminal reply; on a genuine contradiction between the two, ask one line rather than picking silently. Pillar #1 is untouched — the conversation is still one question at a time outside any workflow, and a terminal turn is still what resumes it; the browser is an additional surface on that conversation, never a runtime input to a Dynamic Workflow.
Stop the server at Output time (stop-server.sh — the companion's job ends where the plan begins; stopping deletes the session directory, and the whole .forge/showme/ once the last session goes); an abandoned session is caught by the 4-hour idle timeout and its leftover directory is swept at the next start. Sessions live under the top-level .forge/showme/ on every branch (global like codebase/, never the branch root — volatile, kept out of the user's git by a self-ignoring .forge/showme/.gitignore that start-server.sh writes). This is an offered capability, never auto-run and never a hard dependency — the same standing as the deep-research fuel above (ADR-0006 lineage; vendoring/ownership: ADR 260719-224442-vendor-superpowers-visual-companion).
Before starting: decide whether this task will want the visual companion. This is a judgment checkpoint, not the offer — the two are deliberately separated, because conflating them is why the offer never fired. Ask yourself once, here, before your first question: does this task touch a UI, layout, diagram, or other visual surface — or does it have enough structure (a flow with branches, a state machine, a multi-axis comparison) that I will end up explaining it — such that a browser screen is foreseeable? If yes, hold that as a live expectation while you grill, so you recognize the moment it arrives instead of walking past it. Note that the answer is often yes for work that does not look visual at first glance — fixing a mockup's CSS, editing a landing page, or redrawing a state machine all produce visual questions, and a task with no UI at all can still need one the moment its structure has to be explained. Do not offer anything here (offering upfront is still wrong — the offer stays just-in-time, see above); this checkpoint exists only so the offer is not missed. If the task has no visual surface at all, note that and move on silently.
Before starting: confirm TDD mode for this task. Read tdd from .forge/config.json (treat as off if the file doesn't exist — e.g. fg-config not set up). Use it as the default and ask once, early in grilling: "build this task test-first (TDD)? (default: )". The user's answer (or the default if they don't care) is recorded on the plan as <!-- tdd: on|off --> at Output time — fg-run reads it to run test-first when on. This sets execution mode only; it does not change how grilling itself is conducted.
During grilling: apply Eco YAGNI lens when eco is on. Read eco from the top-level .forge/config.json (global exemption — same path as tdd, never the branch root; treat as false if absent). If true, apply the Eco YAGNI lens from ../fg-config/ECO.md to every slice discussion — no separate yes/no question, no mode announcement — and adopt ECO.md's output discipline for your own non-grilling prose (the handoff/reporting at the end); the grilling questions themselves stay clear per ECO.md's "Terse communication" boundary. eco=false or absent: no change.
During grilling: open each grilling question with the orientation line. A long grilling loses the reader — after several questions they no longer know what has been settled or what this question is about. So put one line directly above each grilling question, rendered in the user's language: ▸ fg-ask: {working title} · decided {N} · now: {topic of this question}. {N} is the number of decisions the user has settled by answering in this session — read from the conversation, never estimated. No denominator (decided 3/7): how many questions remain is not knowable mid-grilling, and a total written anyway is an invented number (../fg-next/HANDOFF.md, "never write a result you cannot read") — do not "complete" the line by adding one. Render it only when {N} or the topic changed since the last one — skip it on a follow-up or clarification about the same question, so an unchanged status is not repeated every turn (../fg-next/OUTPUT-EXAMPLES.md, "Resume a conversation"). It does not apply to STEP 0's one-line reports and (a)/(b) prompts, the refine-vs-new-task question, the visual-companion offer, or the handoff table — none of those are grilling questions. Always on, never gated on eco: it is a shape rule, and it coexists with the gloss rule above. It mirrors fg-agenda's orientation block (../fg-agenda/SKILL.md) but is derived from the conversation, not a file, so the two are not one shared definition. The idea is adapted from rule 5 of ayghri/i-have-adhd (MIT), without its every-turn scope or step-of-total counts.
During grilling: name the playbook when the task is a bug fix or a refactor. Playbooks are defined once in PLAN-FORMAT.md's "Playbooks" section — follow it, never restate it. When grilling reveals the task is a bug fix or a behavior-preserving refactor, say so in one line inside the grilling question in progress (not a separate question; the user can overrule it), then shape the slices so the required step exists or is skipped with a reason. A plan that turns out to be both splits into two plans. Most tasks have no playbook — say nothing then.
Working-slug marker for the statusline. As soon as a new grilling session actually starts (i.e. the checks above resolve to "proceed with this task," not "go finish prior work first"), write .forge/ask.md containing a single line <!-- forge-ask: <working-slug> -->, where working-slug is a kebab-case best guess at the task ahead — it doesn't have to be the plan's eventual slug, just enough for the statusline to show something meaningful; overwrite the file in place as the working title sharpens while grilling continues. This is what lets the statusline render an ask stage while grilling is in progress and no plan.md exists yet (see fg-statusline's SKILL.md). Delete ask.md at Output time below, once the plan is written to the backlog — the marker's job ends where the plan begins. If a stale ask.md from an earlier, abandoned or interrupted grilling session is already there when a new session starts, just overwrite it with the new working-slug (last-writer-wins — it's a display-only marker, not state, so there is nothing to merge). A session abandoned before reaching Output leaves ask.md stale by design; cleaning that up is not fg-ask's job — fg-doctor warns on a stale one and fg-drop can discard it.
Output. Once grilling reaches a shared understanding, write the agreed plan to .forge/backlog/<slug>.md (slug = kebab-case of the task title, -2 on collision; the directory is created lazily). Embed a <!-- forge-slug: <slug> --> comment on the plan's first line — a persistent identifier that lets retro and sealing pair up by the same slug even after the plan moves to the active slot. Also assign a stable task number and embed <!-- task: N --> next to it: scan the task: markers of every existing plan (in .forge/backlog/, the active slot, .forge/executed/, .forge/done/), take the maximum, add one (or 1 if none exist). This number is the task's identity for fg-status display and fg-run selection — it never changes once assigned (see PLAN-FORMAT.md). Numbering applies to formal loop tasks only, not the fg-quick lane. If grilling named a playbook, record <!-- playbook: bug-fix|refactor --> and its required-step marker (eval or pin) per PLAN-FORMAT.md's Playbooks section. Also record the TDD choice from the start-of-grilling question as a <!-- tdd: on|off --> marker near the forge-slug line (default = tdd in .forge/config.json, off if absent); fg-run reads it to run test-first when on (see PLAN-FORMAT.md). The format follows the skeleton in PLAN-FORMAT.md (or ${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/skills/fg-run/PLAN-FORMAT.md) — sharpened terms → source-of-truth glossary, hard-to-reverse decisions → ADR links, agreed units of work → slices (+ observable completion criterion), things decided not to do this time → non-goals. Lint the plan file right after writing it — bash "${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/forge-plan-lint.sh" <plan> (no bash → node …/forge-plan-lint.js <plan>); fix every ERROR in the file and re-run until it exits 0 before the handoff (a WARN may stay). fg-run runs the same lint as a launch gate, so an unlinted plan only fails later and further from the grilling that can fix it. When a DoD spans many sites, build the site list from a finder command run now, never from memory (PLAN-FORMAT.md's multi-site rule — record the finder command in the plan; hand-added sites only on top of its output). Once the Definition of Done is settled, run each DoD command once before writing the plan out, and record what the pre-state was — these are read-only checks, the same codebase exploration this skill already does. Give every already-passing item a one-line reason on its own line: a regression guard legitimately passes in advance, whereas a forward check that already passes is mis-encoded and must be rewritten (see PLAN-FORMAT.md's runnable-DoD rule). Split a big task into several plans when either applies (see PLAN-FORMAT.md's splitting rule): (a) a point needs human confirmation midway — narrow the plan up to there and leave the rest as a separate backlog task; or (b) the agreed work is large and decomposes into chunks that are each independently shippable, verifiable, and sealable — write one part-plan per chunk rather than one giant plan. For a size split, give each part an ordered slug (<base>-1of3, <base>-2of3, …) and a <!-- part: N/M --> marker so fg-run shows them in order and completes them one at a time; each part must still stand as its own full loop (it is a soft order, not a hard dependency). If during grilling the task turns out trivial enough that a retro will likely have nothing to fold into the docs (a tiny, low-risk change), you may add a <!-- retro-hint: optional --> marker comment near the forge-slug line — a non-binding hint fg-done reads in the no-signal branch of its retro judgment (PLAN-FORMAT.md). Omit it by default; any retro signal in the run overrides it. Likewise, if a task's importance relative to other backlog work is clear, you may add a <!-- priority: high|medium|low --> marker near the forge-slug line — fg-run sorts its selection menu (and the "Run all" order) by it (high → medium → low, no marker = medium). It only changes ordering, never auto-selects; omit it when unsure.
Handoff. After arranging the plan in the backlog, render the handoff table — its shape is defined once in ../fg-next/HANDOFF.md (or ${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/skills/fg-next/HANDOFF.md); reference it, never restate the layout here. Render it in the user's language, from this material: what this grilling produced (the plan is in the backlog); the next step is fg-run, which picks it up (a selection menu if several wait, with "Run all" at the end), promotes it, and runs it; the trigger is /forge:fg-run, or fg-next to proceed in one step. Then, below the table as bullets (HANDOFF.md's rule for list-shaped content — paths are verbatim and do not fit a cell), list the documents this grilling created or touched, by path, so the user can review them before running — always the backlog plan (.forge/backlog/<slug>.md), plus any .forge/CONTEXT.md entry updated and any .forge/adr/<id>-* added or updated this session (ID per ADR-FORMAT.md) (only those actually touched). Then stop — the table is text output, never an AskUserQuestion: do not ask "shall I run it now?" and do not auto-invoke fg-run; chaining into the next stage is fg-next's job (ADR-0015). Do not ask whether the task is big enough for a Dynamic Workflow vs. handling it directly — that is fg-run's call via its own cost estimate, not a grilling question.
Volatile state. On the default branch, the volatile loop files this skill writes (ask.md, the backlog plan, and active-slot state) are gitignored; the permanent docs it updates (CONTEXT.md, ADRs, retros) are git-tracked via the .gitignore whitelist, and a non-default branch root is tracked whole (see FORGE-ROOT.md / ADR-0011).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gyuha/forge --plugin forge25 skills in this plugin
/fg-adversarial-reviewOptional adversarial review between fg-run and the seal (fg-done) — a reviewer assumes the result is WRONG and hunts for evidence across six lenses (failure points, hidden assumptions, misread requirements, security/perf/data-loss, unexpected misuse, weak decisions), fanning out as parallel subagents; fix-needed findings become a fix-forward plan on your approval. Outside the loop, never a seal gate, always skipped in fg-next all / fg-loop. Use in contexts like 'adversarial review', '적대적 리뷰', '이 결과 공격적으로 검토', '허점 찾아줘', 'red team this'./fg-agendaA decision queue for foggy work — outside the forge loop. Settles the destination with you, grills breadth-first to surface what must be decided, and keeps it in .forge/agenda.md (destination · decided · open questions · fog · out of scope), resolving one question at a time via fg-ask until the way is clear, then deleting itself. The agent finds the decisions; you answer them. Use in contexts like 'forge agenda', '의제', '결정 대기열', '뭘 결정해야 하는지 정리해줘', '어디서 시작할지 모르겠다'./fg-agentsGenerates a project's domain agents — conversational grilling derives the recurring roles, then writes standard Claude Code subagent cards to .claude/agents/<role>.md (each `description` carrying a "when to use" so fg-run can dispatch a matching role as agentType). Cards load only at session start, so RESTART the session after generating them before fg-run can use them. On-demand utility outside the loop. Use in contexts like 'forge agents', '도메인 에이전트 만들어', '에이전트 팀 구성', 'create project agents', 'domain agents', 'agent roles'.Other plugins' skills for the same job