bonfire-strategic
npx skills add https://github.com/vieko/bonfire --skill bonfire-strategic
Agent 安装分布
Skill 文档
Create Strategic Document
Create a strategic document of type $1 for $2.
Git root: !git rev-parse --show-toplevel
Document Type Detection
Parse $ARGUMENTS:
- First word: document type (rfc, prd, poc)
- Remaining: topic/subject
Examples:
/bonfire-strategic rfc authenticationâ RFC about authentication/bonfire-strategic prd dark-modeâ PRD about dark mode feature/bonfire-strategic poc acme-corpâ POC plan for Acme Corp
If type not recognized or missing, ask user to specify.
Supported Types
| Type | Full Name | Use Case | Template |
|---|---|---|---|
rfc |
Request for Comments | Technical decisions, architecture proposals | references/rfc-template.md |
prd |
Product Requirements Document | Product specs, feature definitions | references/prd-template.md |
poc |
Proof of Concept Plan | Customer evaluations, technical validations | references/poc-template.md |
Workflow
All document types follow the same research â interview â write pattern:
Phase 1: Research (Subagent)
Progress: Tell the user “Researching codebase for context…”
Use the Task tool to invoke the Explore agent.
Research questions vary by type:
- RFC: Prior art, architecture, constraints, stakeholders
- PRD: Related features, user flows, data model, technical constraints
- POC: Relevant features, integration points, configuration, limitations
Wait for findings before proceeding.
Phase 2: Interview (Main Context)
Progress: Tell the user “Starting interview…”
Read the appropriate template from references/ to get interview rounds.
Use AskUserQuestion with informed questions based on research.
Phase 3: Write (Subagent)
Progress: Tell the user “Writing document…”
Use the Task tool to invoke the general-purpose agent.
Provide:
- Document type
- Research findings
- Interview Q&A
- Output path
- Template structure from
references/
Phase 4: Verify & Confirm
Read the template to get required sections, then verify they are present.
If incomplete, offer: proceed / retry / abort.
File Locations
- Config:
<git-root>/.bonfire/config.jsoncontainsdocsLocation - Default:
.bonfire/docs/if not configured
Post-Write
- Verify document has required sections (from template)
- Link to session context in
<git-root>/.bonfire/index.md - Confirm with user and offer next steps:
- Share with reviewers/stakeholders
- Refine specific sections
- Create implementation specs (from RFC/PRD)
- Create related issues
Document Lifecycle
All strategic docs progress through states (see templates for details):
- RFC: Draft â In Review â Approved â Rejected
- PRD: Draft â In Review â Approved â In Development â Shipped
- POC: Draft â Prep â Active â Review â Decided (Go/No-go/Extend)
When approved/decided:
- Create follow-up artifacts (specs, issues, plans)
- Archive with outcome notes