bonfire:plan
Run the bonfire planning pipeline stages B-J. Divergence, requirements, adversarial review, code-readiness verdict, and compile to frozen handoff.
от ZB-ur★ 40 звёзд на GitHub
Установить bonfire:plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core invariant: when this skill completes, the coder must be able to implement without inventing high-impact product meaning.
<execution_context> Read these references before starting: - @$HOME/.claude/bonfire/references/stage-playbook.md - @$HOME/.claude/bonfire/references/subagent-protocol.md - @$HOME/.claude/bonfire/references/handoff-quality-bar.md - @$HOME/.claude/bonfire/references/ecl-schema.mdThroughout this process, bonfire means node $HOME/.claude/bonfire/bin/bonfire-tools.cjs.
</execution_context>
Startup
Check pending_reentry:
- If
pending_reentry.target_pipeline == "plan": executebonfire state-reentry --conflict-type <type>, thenbonfire state-clear-reentry. Jump to the target step. - If
pending_reentrytargets a different pipeline: abort. - If no pending_reentry: validate
pipeline_stage == "plan"orstage-a.status == "passed".
- If
Read state.json to determine current_step. Resume from there.
Stage B — Divergence
bonfire state-step --step stage-b --status runningParent executes (no agent):
- Read case.json#stages.preprocess and truth surface snapshot
- Generate >= 3 materially different options (not style variants)
- Each option must explain which blind spots it covers
- Retain exactly one path
Write to case.json#stages.divergence. Render:
bonfire render --note stage-bGate: >= 3 options, 1 retained →
state-step --step stage-b --status passed,state-advance --step stage-b
Stage C — Requirements
bonfire state-step --step stage-c --status runningParent executes (no agent):
- Decompose retained option into requirement units
- Each unit needs success criteria
- Batch truth-propose: retained_goal, frozen_constraint, dependency_chain, acceptance_semantic
Write to case.json#stages.requirements. Render:
bonfire render --note stage-cGate: all requirement units have success criteria → advance
Stage D — Critique
bonfire state-step --step stage-d --status awaiting_agentSpawn bonfire-d-critique:
Agent({ subagent_type: "bonfire-d-critique", prompt: "<role>...<input>@.bonfire/truth-surface/constraint-ledger-snapshot.json</input>" })state-step --step stage-d --status integratingParse agent return value as JSON. Validate:
bonfire delta-validate --agent bonfire-d-critique --file .bonfire/plan/bonfire-d-critique-delta.jsonWrite delta to
.bonfire/plan/bonfire-d-critique-delta.jsonExecute truth surface mutations:
- For each proposal:
truth-propose - For each challenge:
truth-update --id <target> --field challenged_by --value d-critique
- For each proposal:
Render:
bonfire render --note stage-dGate: >= 1 challenge integrated → advance
Stage E — Closure
bonfire state-step --step stage-e --status runningParent executes: close dependency chain gaps, convert to dependency-aware execution chain.
Write to case.json#stages.closure. Render:
bonfire render --note stage-eGate: all dependency_chain entry refs valid → advance
Stage F — Probes
bonfire state-step --step stage-f --status runningParent executes: run executable validation (repo inspection, scripts, tests, environment checks). Record hypothesis, method, expected signal, kill criteria, result.
Write to case.json#stages.probes. Render:
bonfire render --note stage-fGate: all probes have results or inability records → advance
Stage G — Red-Blue
bonfire state-step --step stage-g --status awaiting_agentSpawn bonfire-g-red (input: d-critique delta + snapshot):
Agent({ subagent_type: "bonfire-g-red", prompt: "..." })Validate delta, write to
.bonfire/plan/bonfire-g-red-delta.json. Execute truth-update challenged_by for each challenge.Spawn bonfire-g-blue (input: g-red delta + d-critique delta + snapshot):
Agent({ subagent_type: "bonfire-g-blue", prompt: "..." })Validate delta, write to
.bonfire/plan/bonfire-g-blue-delta.json. Execute truth-update aligned_by for each alignment, truth-propose for new proposals.Truth-Freeze Gate: run
bonfire stage-g-freeze-gate.- Exit 0 → all eligible PROPOSED/CHALLENGED entries are now FROZEN (high_impact_risk stays OPEN by design).
- Non-zero exit → the command lists CHALLENGED entries without alignment. Return these to G-Blue for defense, or escalate to H-Review. Do not proceed until the command exits 0.
Render:
bonfire render --note stage-gGate: red/blue complete + residual risks recorded + freeze verification passed → advance. `state-advance --step stage-g
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bonfire:plan?
Run the bonfire planning pipeline stages B-J. Divergence, requirements, adversarial review, code-readiness verdict, and compile to frozen handoff.
Как установить скилл bonfire:plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bonfire:plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…