npx claudepluginhub 15195999826/lomomarketplace --plugin lomo-kitsThis skill uses the workspace's default tool permissions.
- 开始做新功能时,怕 Claude 理解错需求闷头写一堆然后全返工
Enforces strict TDD workflow: write failing tests first, add minimal code to pass, refactor. For new features, bug fixes, refactors before production code.
Orchestrates agentic Red-Green-Refactor TDD cycles to build features incrementally: decompose into small tasks, write failing tests, make pass, refactor. Detects project lang and test setup.
Enforces strict TDD for features and bugfixes: RED (write minimal failing test), GREEN (minimal passing code), REFACTOR. No production code without failing test first.
Share bugs, ideas, or general feedback.
/tdd 实现一个删除记忆的按钮
/tdd 给 Worker 加崩溃自动重启功能
读取相关代码,列出验收标准(测试用例):
✅ 测试 1: 点击删除按钮弹出确认框
✅ 测试 2: 确认后调用 DELETE /api/memories/:id,返回 200
✅ 测试 3: 删除成功后列表自动刷新,该条消失
✅ 测试 4: 点取消不触发删除
✅ 测试 5: 删除不存在的 ID 返回 404
同时说明测试方式:
等我说"可以"后再进入下一阶段。
📊 TDD 报告
- 测试用例: 5 个
- 迭代轮数: 3 轮
- 第 1 轮: ❌ 测试 2 失败(API 路由未注册)→ 添加路由
- 第 2 轮: ❌ 测试 3 失败(前端没刷新列表)→ 加 refetch
- 第 3 轮: ✅ 全部通过
- 构建检查: tsc --noEmit ✅
附最终 diff 摘要。