/forge:fg-dropfrom forge
Discards incomplete forge work (backlog plans, active slot, awaiting-done tasks, halted goal loops) with per-item risk levels. Hard-deletes or archives to .forge/dropped/ behind a confirmation gate. Removes forge state only, never git or code.
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.
None: SKILL.md is the whole skill.
This is not a stage of the forge loop (fg-ask → fg-run → fg-done). It is an on-demand utility — like fg-cleanup, fg-merge, and fg-doctor — that lets you discard incomplete work you no longer intend to do: a backlog plan you abandoned, the active slot, a task parked in executed/ awaiting the seal, or a halted goal loop. forge had no way to do this short of a manual rm; fg-drop fills that gap (ADR-0021).
Note the contrast with its neighbors: fg-done completes a task and seals it (the opposite intent — finishing, not abandoning); fg-cleanup retires ADRs (a decision, not a task); fg-status/fg-doctor are read-only and cannot host a destructive action. fg-drop is the one place that abandons a not-yet-sealed task.
Language: This skill file is authored in English, but you MUST write every message shown to the user — the item list, risk labels, the disposal question, the confirmation summary, and the closing line — in the user's language (detect it from the user's own messages), never mirroring this file's English.
Host contract: before inspecting or cancelling work created through the host's spawn_parallel capability, read ../../core/HOST.md, ../../core/EXECUTION.md, and the matching ../../hosts/<host>/execution.md. The matching adapter owns the concrete liveness and cancellation operations and the shape of its recorded handle or handles. If the host is unknown or the handles cannot be collected, treat the workflow as potentially live and warn before disposal; never invent a host-specific tool call.
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.
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.
Forge root: every .forge/... path below 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, deleting, or archiving any state (ADR-0011). The persistent global exemptions (.forge/config.json, .forge/codebase/, .forge/rules/) are never drop targets.
Drop targets are incomplete work = anything not sealed in done/. Scan the resolved forge root and gather candidates from these buckets, each carrying a risk level:
| Bucket | What it is | Risk |
|---|---|---|
ask.md | an in-progress fg-ask grilling session (its working-slug marker) | low — display-only marker; nothing has run, dropping it just abandons an unfinished conversation |
backlog/<slug>.md | a queued plan that has not run | low — volatile & gitignored; deleting loses nothing in git |
active slot plan.md with no run.md and no running.md | promoted but not yet run | low — same as a backlog plan |
active slot plan.md + running.md (no run.md) | execution in flight or never collected (fg-run's in-flight marker) | high — code may already have changed and a background run may still be writing; dropping forge tracking does not itself stop the run |
orphan running.md only (no plan.md) | an in-flight marker with no active task to collect | high — an uncollected workflow may still finish and change code even though its task state is already missing |
active slot with run.md (+STATUS.md, +review.md) | already executed, awaiting verify/retro/seal | high — the code already changed; dropping removes only forge tracking |
executed/<slug>/ | parked after "Run all", awaiting the seal | high — already executed, same warning |
loop.md (halted goal loop) | an fg-loop drive stopped at a wall | high — abandons the whole goal loop |
Excluded — never drop targets: done/ (sealed work — that is "completed", not incomplete; un-completing a sealed task is a different operation, out of scope), quick/LOG.md (an append-only log, not a task), and the persistent global exemptions above.
Goal-loop rule (loop.md present). If loop.md exists, surface it as a single droppable item (goal loop: <one-line goal>, risk high) — dropping it abandons the whole loop. "Whole" means loop.md and all member tasks' incomplete forge state: member plans in backlog/, a member in the active slot, and member directories in executed/. Sealed member history in done/ remains immutable, and non-member work is untouched. The tasks listed in its ## Tasks membership section are excluded from individual drop while loop.md exists: drop the loop whole, or finish it via fg-loop first. This avoids leaving orphan member tasks behind or having to re-synchronize membership after a partial removal. Non-member plans (e.g. ones fg-ask stacked while the loop was halted) remain individually droppable as usual.
Gather all droppable candidates (above). If there are none, say so in one line ("no incomplete work to drop") and stop. Otherwise present them with their risk level, choosing the presentation by count — because AskUserQuestion caps options at 4:
AskUserQuestion: "Drop this item" / "Cancel". A one-option dialog is invalid, and a multi-select adds no value.AskUserQuestion multi-select checkbox dialog, one option per item. Label each [<risk>] #<task> <title> (use the plan's task: number when present); include the risk in the label so it is visible per item.[<risk>], slug/title, bucket), then ask the user to type which to drop — e.g. 2,4,5 or all. This sidesteps the 4-option cap.For high-risk items (anything with a run.md, any running.md, or the goal loop), make the risk unmistakable in the listing — code has changed or may already be changing, or the item is a whole loop.
After the items are chosen, ask one follow-up question (do not fold it into the item selection — mixing a modifier into the item checkboxes is ambiguous): how to dispose of the selected items, batch-wide:
.forge/dropped/<slug>/ instead of deleting (preserves it for later archaeology). Create dropped/ lazily on first archive.One choice applies to all selected items (batch-level).
Show a summary — "the following will be [deleted / archived]: …" listing each selected item — and require an explicit confirmation ("yes") before acting. If any selected item is high-risk (has a run.md, has any running.md, or is a goal loop), add a one-line warning to the summary: "⚠ changed or still-changing code is NOT reverted — fg-drop removes forge tracking only." Only on explicit confirmation proceed; otherwise abort and change nothing.
For each confirmed item:
ask.md — remove (or move) the single file.running.md — first use the matching host adapter to determine whether the workflow is alive in this session. If it is, invoke the adapter's cancellation operation for every still-live recorded handle before removing or moving the slot. If it is not alive here or cannot be identified, warn that removing the marker does not stop a workflow running elsewhere and its eventual output may become orphaned; then continue only under the confirmed disposal choice. Never merely delete a known-live workflow's marker.dropped/<slug>/) plan.md + run.md + STATUS.md, plus review.md if present (the same companion set fg-done archives — ADR-0018) and running.md if present (the in-flight marker — it belongs to this slot and must not outlive it). After this the active slot is empty.running.md — remove (or move to dropped/<slug>/) the marker after the same live-workflow check and warning above; derive <slug> from the marker, falling back to orphan-running when it is absent or invalid.backlog/<slug>.md — remove (or move) the single file.executed/<slug>/ — remove (or move) the whole directory.loop.md goal-loop item — read its ## Tasks membership. If its active member has running.md, apply the active-slot liveness check and adapter cancellation above before removing any loop state. Then remove (or archive together) loop.md plus all member tasks' incomplete state from backlog/, the active slot, and executed/. Leave done/ history and every non-member task untouched. When archiving, place the contract and member state under one .forge/dropped/<loop-slug>/ tree so the abandoned goal remains reconstructable.Disposal semantics. Hard delete is a plain removal. On the default branch these are volatile, gitignored files, so nothing is lost in git (the permanent fuel from grilling — CONTEXT.md, ADRs — already landed and is untouched). On a non-default branch the forge root .forge/branch/<branch>/ is git-tracked whole (ADR-0011), so deleting a tracked file there shows up as an unstaged deletion in git status — recoverable via git restore until committed. fg-drop still does not run git (see Constraints); on a branch the removal is simply a tracked-file change the user then commits or restores. Archive moves the files under .forge/dropped/<slug>/: it is gitignored on the default branch, but under a non-default branch root it is tracked with the rest of the branch root and is later preserved by fg-merge. dropped/ has no automatic reaper; it is cleaned manually.
fg-drop (outside the loop)
│
▼
Resolve forge root (ADR-0011)
▼
Scan buckets: ask.md · backlog · active slot · orphan running.md · executed/ · loop.md (exclude done/, quick/, loop members while loop.md present)
│ none ──▶ "no incomplete work to drop" → stop
▼
Present items with risk level: 1 → Drop this item | Cancel · 2–4 → checkbox multi-select · 5+ → numbered text list ("2,4,5" / "all")
▼
Disposal question (separate): Delete (default, no trace) | Archive → .forge/dropped/<slug>/
▼
Confirmation gate: summary + explicit "yes" (high-risk run.md/running.md/loop → "⚠ changed or still-changing code is NOT reverted"; non-default branch → "⚠ tracked files — deletion shows in git status")
│ no ──▶ abort, change nothing
▼
Execute per item (ask.md · active slot = adapter cancel if live locally, then plan+run+STATUS+review+running.md · orphan running.md · backlog file · executed/ dir · goal loop = cancel a live active member first, then loop.md + all incomplete member state)
▼
Report what was dropped/archived → end
.forge/ state and nothing else. It does not revert commits or working-tree changes (the same principle as fg-merge's git-free integration core — note fg-merge does have an opt-in git merge mode via fg-merge <branch>, but fg-drop never touches git at all). If the user wants already-changed code reverted, that is theirs to do via git — say so when it is relevant. (On a non-default branch the dropped .forge/branch/<branch>/ files are themselves git-tracked — ADR-0011 — so the deletion appears as an unstaged change; fg-drop still does not run git, the user commits or git restores it.)loop.md exists — drop the loop whole, which includes all member tasks' incomplete state while preserving done/ and non-members (the membership-resync logic is deliberately not built)..forge/dropped/<slug>/ (archive) the selected incomplete state: ask.md, a backlog/<slug>.md, the active slot (plan.md/run.md/STATUS.md/review.md/running.md), an orphan running.md, an executed/<slug>/ directory, or a whole goal loop (loop.md + all member tasks' incomplete backlog/active/executed state)..forge/dropped/ lazily only when archive is chosen. It is gitignored on the default branch; under a non-default branch's fully tracked root it is tracked and later preserved by fg-merge. fg-doctor tolerates it (does not flag its contents as orphans) and fg-status ignores it (abandoned work, not progress) — ADR-0021.done/ history.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