用途:Bonfire 为 AI 编程提供会话上下文持久化,帮助在编码会话之间保存进度与决策,避免上下文丢失。
主要能力:提供 /bonfire start(开始会话、加载上下文)、/bonfire end(保存上下文、健康检查)、/bonfire config(修改设置)、/bonfire spec <topic>(创建成果规格)、/bonfire doc <topic>(创建文档)、/bonfire review(复查当前工作)等命令。当用户提及之前的工作、决策、阻塞点或“last time”“previously”“what we decided”时,会读取 <git-root>/.bonfire/index.md 并总结相关上下文来回答。
使用方式:命令按 $ARGUMENTS 路由到对应命令文件(commands/start.md、commands/end.md、commands/config.md、commands/spec.md、commands/doc.md、commands/review.md),空输入或上下文提问则读取会话上下文作答。运行任何命令时若 .bonfire/index.md 不存在,会创建 .bonfire/ 及 specs/ 和 docs/ 子目录、带 frontmatter 配置的 index.md 与 .gitignore,默认内容见 templates/。
文件结构:.bonfire/ 下含 index.md(会话上下文,配置写在 frontmatter)、specs/(成果规格)、docs/(文档)、.gitignore(Git 策略)。
限制:资料未提供具体收费、价格、模型依赖、平台支持和效果说明,暂未提供。