BMAD Method by daffy0208/ai-dev-standards
npx skills add https://github.com/daffy0208/ai-dev-standards --skill 'BMAD Method'BMAD 方法连接了商业战略与技术架构。它确保您的技术决策支持长期的商业可持续性,而不仅仅是即时功能交付。
核心洞见: 您的架构就是您商业模式的代码形式。
在以下情况下使用 BMAD:
理解收入引擎:
关键问题:
将商业模式映射到架构:
订阅型 SaaS(B2B):
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
按使用量计费(API/平台):
市场平台/网络:
免费增值/消费者:
基础设施成本分析:
计算单位经济效益:
示例(SaaS):
目标:$20/用户/月订阅
可接受成本:
- 基础设施:<$2/用户/月(10% 销售成本)
- 支持:<$4/用户/月(20%)
- 销售/营销:<$60 客户获取成本(3个月回收期)
架构决策:
- 共享基础设施(非每个客户专用)
- 自助服务入门(降低销售成本)
- 应用内支持工具(减少支持工单)
- 高效的数据库设计(降低存储成本)
为增长阶段设计:
阶段 1:MVP(0-100 用户)
阶段 2:增长(100-10k 用户)
阶段 3:规模化(10k-1M 用户)
阶段 4:企业级(1M+ 用户)
评估核心能力与周边能力:
自建时机:
购买/使用 SaaS 时机:
示例:
| 能力 | 决策 | 理由 |
|---|---|---|
| 支付处理 | 购买(Stripe) | 通用功能,合规要求高 |
| 核心算法 | 自建 | 竞争壁垒 |
| 邮件发送 | 购买(SendGrid) | 通用基础设施 |
| 分析 | 购买(Mixpanel) | 比自建更快 |
| 定制 AI 模型 | 自建 | 基于您的独特数据 |
| 认证基础设施 | 初期购买(Auth0) | 在规模化后自建 |
捕获不可协商的要求:
监管/合规:
业务承诺:
财务约束:
商业模式:
架构决策:
自建与购买:
结果: $2.50/客户/月销售成本,83% 利润率
商业模式:
架构决策:
自建与购买:
结果: $0.0025/次调用销售成本,75% 利润率
商业模式:
架构决策:
自建与购买:
结果: 扩展到 10 万用户时成本 <$35k/月
不要先选择 React/Node/AWS。在理解以下内容后再选择:
为当前阶段构建,但不要将自己锁定在无法进入下一阶段。
不好: 硬编码的单租户,无法扩展 好: 从第一天起就采用多租户(即使只有 10 个用户)
如果您无法计算每用户成本,就无法预测盈利能力。
每月跟踪:
如果功能不能驱动收入/留存,就推迟昂贵的架构。
示例: 在证明产品市场契合度之前,不要构建多区域架构。
知道何时需要重构:
当您只有 100 个用户时,为 100 万用户构建会浪费时间和金钱。
反模式: 在 MVP 阶段使用微服务 + Kubernetes 更好: 在 Railway/Heroku 上使用单体架构,稍后扩展
在 B2B SaaS 中不构建多租户架构会在规模化时破坏利润率。
反模式: 每个客户专用数据库 更好: 从第一天起就采用多租户架构
不跟踪每用户成本意味着在规模化时会出现意外。
反模式: "我们稍后会计算成本" 更好: 在构建之前进行成本建模
通用功能不需要定制解决方案。
反模式: 构建自定义认证、支付、邮件 更好: 购买 Stripe、Auth0、SendGrid;构建差异化功能
在不能驱动商业价值的功能上花费。
反模式: 在证明产品市场契合度之前追求完美的 CI/CD 更好: 快速交付,稍后优化
使用 BMAD 方法时,产出:
商业模式画布
架构对齐文档
自建与购买决策矩阵
架构路线图
当您成功应用 BMAD 时:
记住: 最好的架构是使您的商业模式可持续且盈利的架构。
每周安装量
0
代码仓库
GitHub 星标数
18
首次出现
1970年1月1日
安全审计
The BMAD Method bridges business strategy and technical architecture. It ensures your technical decisions support long-term business sustainability, not just immediate feature delivery.
Core Insight: Your architecture IS your business model in code form.
Use BMAD when:
Understand the Revenue Engine:
Key Questions:
Map Business Model to Architecture:
Subscription SaaS (B2B):
Usage-Based (API/Platform):
Marketplace/Network:
Freemium/Consumer:
Infrastructure Cost Analysis:
Calculate Unit Economics:
Example (SaaS):
Target: $20/user/month subscription
Acceptable costs:
- Infrastructure: <$2/user/month (10% COGS)
- Support: <$4/user/month (20%)
- Sales/Marketing: <$60 CAC (3-month payback)
Architecture decisions:
- Shared infrastructure (not dedicated per customer)
- Self-service onboarding (reduce sales cost)
- In-app support tools (reduce support tickets)
- Efficient database design (reduce storage costs)
Design for Growth Stages:
Stage 1: MVP (0-100 users)
Stage 2: Growth (100-10k users)
Stage 3: Scale (10k-1M users)
Stage 4: Enterprise (1M+ users)
Evaluate Core vs. Context:
Build when:
Buy/Use SaaS when:
Examples:
| Capability | Decision | Rationale |
|---|---|---|
| Payment processing | Buy (Stripe) | Commodity, compliance heavy |
| Core algorithm | Build | Competitive moat |
| Email delivery | Buy (SendGrid) | Commodity infrastructure |
| Analytics | Buy (Mixpanel) | Faster than building |
| Custom AI model | Build | Unique to your data |
| Auth infrastructure | Buy (Auth0) initially | Build later at scale |
Capture Non-Negotiable Requirements:
Regulatory/Compliance:
Business Commitments:
Financial Constraints:
Business Model:
Architecture Decisions:
Build vs. Buy:
Outcome: $2.50/customer/month COGS, 83% margin
Business Model:
Architecture Decisions:
Build vs. Buy:
Outcome: $0.0025/call COGS, 75% margin
Business Model:
Architecture Decisions:
Build vs. Buy:
Outcome: Scales to 100k users at <$35k/month
Don't choose React/Node/AWS first. Choose after understanding:
Build for where you are now, but don't lock yourself out of next stage.
Bad: Hard-coded single-tenant that can't scale Good: Multi-tenant from day 1 (even at 10 users)
If you can't calculate cost per user, you can't predict profitability.
Track monthly:
If feature doesn't drive revenue/retention, defer expensive architecture.
Example: Don't build multi-region before proving PMF.
Know when you'll need to refactor:
Building for 1M users when you have 100 wastes time and money.
Antipattern: Microservices + Kubernetes at MVP stage Better: Monolith on Railway/Heroku, scale later
Not building multi-tenancy in B2B SaaS kills margins at scale.
Antipattern: Dedicated database per customer Better: Multi-tenant architecture from day 1
Not tracking cost per user means surprises at scale.
Antipattern: "We'll figure out costs later" Better: Model costs before building
Commodities don't need custom solutions.
Antipattern: Build custom auth, payments, email Better: Buy Stripe, Auth0, SendGrid; build differentiation
Spending on features that don't drive business value.
Antipattern: Perfect CI/CD before proving PMF Better: Ship fast, optimize later
When using BMAD Method, produce:
Business Model Canvas
Architecture Alignment Document
Build vs. Buy Decision Matrix
Architectural Roadmap
You've successfully applied BMAD when:
Remember: The best architecture is the one that makes your business model sustainable and profitable.
Weekly Installs
0
Repository
GitHub Stars
18
First Seen
Jan 1, 1970
Security Audits
任务估算指南:敏捷开发故事点、计划扑克、T恤尺码法详解
10,500 周安装