bonfire:code
Execute the frozen code handoff. Spawns coder/evaluator agents per implementation unit. Cannot invent product meaning.
от ZB-ur★ 40 звёзд на GitHub
Установить bonfire:code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core invariant: if the coder needs to ask what the product means, reenter /bonfire:plan.
Throughout this process, bonfire means node $HOME/.claude/bonfire/bin/bonfire-tools.cjs.
</execution_context>
Entry Check
Read state.json:
- If
pending_reentryexists: abort with "pending reentry to /bonfire:. Please resolve first." - Verify
pipeline_stage == "code"andstage-j.status == "passed" - Otherwise abort: "Please complete /bonfire:plan first"
- If
Read
.bonfire/plan/compile-output.json:- Verify
handoff.code_ready == true - Otherwise abort: "handoff code_ready=false"
- Verify
Initialize code steps:
bonfire state-init-code-steps bonfire state-begin-run --run-id run-<timestamp>
Unit Execution Loop
For each unit in handoff.implementation_units (dependency order from execution_manifest):
Set iteration = 0, max_iterations = 5, feedback = null
Loop start:
iteration += 1 bonfire state-step --step unit-N --status runningSpawn bonfire-coder:
Agent({ subagent_type: "bonfire-coder", prompt: "Unit definition: <unit JSON> Handoff: @.bonfire/plan/compile-output.json#handoff Preflight: @.bonfire/plan/compile-output.json#code_preflight Feedback: <previous evaluator issues or null> @$HOME/.claude/bonfire/references/code-playbook.md" })Move manifest:
runs/<run-id>/unit-N-manifest.jsonSpawn bonfire-evaluator:
Agent({ subagent_type: "bonfire-evaluator", prompt: "Unit definition: <unit JSON> Manifest: @.bonfire/runs/<run-id>/unit-N-manifest.json Frozen decisions: @.bonfire/plan/compile-output.json#handoff.frozen_product_decisions Snapshot: @.bonfire/truth-surface/constraint-ledger-snapshot.json @$HOME/.claude/bonfire/references/code-playbook.md" })Move verdict:
runs/<run-id>/unit-N-verdict.jsonVerdict routing:
PASS:
- Git commit (unit-granularity atomic commit)
- Write
runs/<run-id>/unit-N-pass.json state-step --step unit-N --status passedpreflight-update --field current_focus --value "unit-(N+1)"preflight-update --field progress --unit unit-N --status passed- → next unit
FAIL + conflict_type != null (constraint violated):
- Write
runs/<run-id>/unit-N-reentry.json state-pending-reentry --conflict-type <type> --from unit-N --reason <text>log-agent --event failed --agent bonfire-evaluator --step unit-N- Output: "Frozen constraint violated (<conflict_type>). Reentry needed. Please execute /bonfire:plan"
- HALT — skill terminates
FAIL + conflict_type == null + iteration < max_iterations:
- feedback = verdict.issues
log-agent --event failed --agent bonfire-evaluator --step unit-N- → loop start (retry with feedback)
FAIL + conflict_type == null + iteration >= max_iterations:
state-step --step unit-N --status awaiting_user- Output: "unit-N failed after 5 iterations. Please intervene."
- HALT — skill pauses
Completion
- All units passed:
- Run global
verification_commandsfrom handoff - Run
browser_checksif applicable - Write
runs/<run-id>/code-run.json state-complete-run --run-id <id> --verdict pending_achieve- Render:
bonfire render --run <run-id> --note code-run - Output: "/code complete. Please execute /bonfire:achieve"
- Run global
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bonfire:code?
Execute the frozen code handoff. Spawns coder/evaluator agents per implementation unit. Cannot invent product meaning.
Как установить скилл bonfire:code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bonfire:code запускает скрипты?
Нет, скилл состоит только из инструкций (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…