RalphMAD – Claude Code的自主软件开发生命周期工作流程(BMAD和Ralph Loop)
我一直在使用 BMAD(构建更多架构梦想)进行结构化的 AI 辅助开发,但发现自己在不同项目之间复制粘贴工作流配置。为了解决这个问题,我构建了 RalphMAD:一个 Claude Code 插件,它将 BMAD 的结构化 SDLC 工作流与 Geoffrey Huntley 的 Ralph Loop 自我引用技术结合在一起。
主要特点:
- 模板化工作流,运行时占位符自动填充
- 项目无关:一次安装,适用于任何启用 BMAD 的项目
- 自主运行:Claude 自动执行工作流,直到完成
- 12 个预构建工作流:产品简介 → PRD → 架构 → Sprint 规划 → 实施
示例用法:
```
/plugin install ralphmad
/ralphmad:ralphmad-loop product-brief
```
Claude 会自主运行整个工作流,读取项目配置,检查前提条件,并生成工件,直到检测到完成承诺。
技术细节:
- 使用与 ralph-loop 分开的状态文件,以支持并发插件使用
- 包含前提条件、完成承诺和角色的人物工作流注册表
- 停止钩子集成,支持优雅中断
- 模板使用 {{placeholder}} 语法,从 _bmad/bmm/config.yaml 中填充
GitHub: [https://github.com/hieutrtr/ralphmad](https://github.com/hieutrtr/ralphmad)
要求:项目中安装 Claude Code CLI + BMAD 方法
欢迎反馈。特别希望听到其他使用 Claude Code 插件进行工作流自动化的人的意见。
查看原文
I've been using BMAD (Build More Architect Dreams) for structured AI-assisted development, but found myself copy-pasting workflow configs across projects.<p>Built RalphMAD to solve this: a Claude Code plugin that combines BMAD's structured SDLC workflows with Geoffrey Huntley's Ralph Loop self-referential technique.<p>Key features:
- Templatized workflows with runtime placeholder population
- Project-agnostic: install once, works with any BMAD-enabled project
- Self-running: Claude executes workflows autonomously until completion
- 12 pre-built workflows: Product Brief → PRD → Architecture → Sprint Planning → Implementation<p>Example usage:
/plugin install ralphmad
/ralphmad:ralphmad-loop product-brief<p>Claude runs the entire workflow autonomously, reading project config, checking prerequisites, and generating artifacts until completion promise is detected.<p>Technical details:
- Uses separate state file from ralph-loop for concurrent plugin usage
- Workflow registry with prerequisites, completion promises, personas
- Stop hook integration for graceful interruption
- Templates use {{placeholder}} syntax populated from _bmad/bmm/config.yaml<p>GitHub: https://github.com/hieutrtr/ralphmad<p>Requires: Claude Code CLI + BMAD Method installed in project<p>Feedback welcome. Especially interested in hearing from others using Claude Code plugins for workflow automation.