验证闭环提醒。当代码修改完成、Story完成、准备PR时自动激活。确保每次变更都经过验证,效率提升2-3倍。
Automatically runs linting and type checks after code changes, then prompts for test verification when stories are complete. Ensures code quality through a three-tier validation system that catches issues early and prevents unverified changes from moving forward.
/plugin marketplace add pure-maple/cc-mmo-plugin/plugin install mmo@cc-mmo-pluginThis skill is limited to using the following tools:
"没有验证闭环,AI输出永远不可靠。" —— Boris Cherny (Claude Code之父)
拥有反馈回路后,最终产出质量可提升2-3倍。
# TypeScript项目
pnpm lint
pnpm typecheck
# Python项目
ruff check .
mypy .
触发时机:PostToolUse Hook自动执行
# 单元测试
pnpm test
# 集成测试
pnpm test:integration
触发方式:
/mmo:verifyreviewer agent(独立SESSION,客观视角)# E2E测试
pnpm test:e2e
# 或使用Playwright
npx playwright test
┌─────────────────────────────────────┐
│ 验证失败? │
└─────────────────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ 1. 不继续下一阶段 │
│ 2. 记录失败原因 │
│ 3. 分析根因 │
│ 4. 修复问题 │
│ 5. 重新验证 │
└─────────────────────────────────────┘
│
▼
┌──────┴──────┐
│ 通过? │
└──────┬──────┘
│
Yes ───┴─── No(循环)
│
▼
继续下一阶段
| BMAD工作流 | 验证检查点 |
|---|---|
| dev-story | 每个subtask完成后 |
| code-review | PR前必须通过 |
| sprint-status | 检查所有Story验证状态 |
会话结束时自动提醒:
"✅ 会话结束。建议运行
/mmo:verify进行验证。"