スキル一覧に戻る
aidanmorgan

bonfire

by aidanmorgan

Vibe-Sourcing (verb): it's like crowd-sourcing, but the crowd is hallucinated.

2🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: bonfire description: Generate an orchestrator prompt from a plan file and assume the coordinator role. Creates plan directory with state and event log files.

Bonfire - Parallel Implementation Coordinator

Generate an orchestrator prompt from the template and base variables, then assume the coordinator role to execute the plan.

Parameters

ParameterRequiredDescription
plan_fileYesPath to the implementation plan file

The plan slug is automatically derived from the plan file name:

  • COMPREHENSIVE_IMPLEMENTATION_PLAN.md -> comprehensive-implementation-plan
  • AuthFeaturePlan.md -> auth-feature-plan
  • my-feature-plan.md -> my-feature-plan

Invocation

/bonfire COMPREHENSIVE_IMPLEMENTATION_PLAN.md

Workflow

Step 1: Generate Orchestrator Prompt

Run the generation script:

python .claude/scripts/generate-orchestrator.py "$plan_file"

This script:

  1. Derives the plan slug from the plan file name
  2. Reads .claude/base_variables.md for configuration
  3. Reads .claude/prompts/master_prompt_template.md template
  4. Replaces all variable tables with values from base_variables.md
  5. Sets derived variables:
    • PLAN_FILE = $plan_file
    • STATE_FILE = .claude/bonfire/<slug>/state.json
    • EVENT_LOG_FILE = .claude/bonfire/<slug>/event-log.jsonl
  6. Creates .claude/bonfire/<slug>/ directory
  7. Writes processed template to .claude/bonfire/<slug>-orchestrator.md

Step 2: Read Generated Orchestrator

Read the generated file at .claude/bonfire/<slug>-orchestrator.md.

Step 3: Assume Orchestrator Role

Output:

ORCHESTRATOR GENERATED

Plan: $plan_file
Slug: <derived-slug>
State: .claude/bonfire/<slug>/state.json
Events: .claude/bonfire/<slug>/event-log.jsonl
Prompt: .claude/bonfire/<slug>-orchestrator.md

ASSUMING ORCHESTRATOR ROLE...

The generated prompt becomes your operating instructions. Execute the "On Session Start" procedure from the orchestrator prompt:

  1. Validate all agent definitions exist (create missing ones using Creation Prompts)
  2. Load plan file and discover tasks
  3. Build dependency graph
  4. Initialize state file
  5. Dispatch developers to fill all actor slots

Continue as orchestrator until:

  • Plan completion (all tasks complete)
  • Context exhaustion (trigger compaction)
  • Session limit (trigger pause)

Error Handling

ErrorAction
Script execution failsOutput error message and stop
base_variables.md missingOutput: "Create .claude/base_variables.md first"
Template missingOutput: "Template not found at .claude/prompts/master_prompt_template.md"
Plan file missingWarn but continue. Orchestrator fails on start if file missing at runtime.

Files Created

PathDescription
.claude/bonfire/<slug>-orchestrator.mdProcessed orchestrator prompt
.claude/bonfire/<slug>/Directory for state and event files
.claude/bonfire/<slug>/state.jsonCreated by orchestrator during execution
.claude/bonfire/<slug>/event-log.jsonlCreated by orchestrator during execution

Prerequisites

RequirementLocation
Base variables.claude/base_variables.md
Prompt template.claude/prompts/master_prompt_template.md
Generation script.claude/scripts/generate-orchestrator.py
Plan file$plan_file

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です