tdd-workflow
Skill0 starsChanged 9 months agoMITView on GitHub
强制测试驱动开发实践,强制 80%+ 代码覆盖率
148 other projects use a version of this.
Adopted by
Most recently taken up by
- KevinLoichot/everything-claude-codetheir own version, first seen Nov 29, 2026
- vjrivmon/Setup-Software-IAtheir own version, first seen Nov 29, 2026
- aayushsoam/clawbot-plustheir own version, first seen Nov 29, 2026
- multiplex-ai/muggle-ai-teamstheir own version, first seen Nov 29, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- iamaanahmad/everything-antigravitytheir own version, first seen Nov 29, 2026
Used with
Projects with it also use orch-pipeline, ralphinho-rfc-pipeline and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
renepfSkillorch-pipeline
Shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly.
Also in 5 projects that use this
junimnjwSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 18 projects that use this
loulanyueSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 14 projects that use this
RojiosSkilldart-flutter-patterns
Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.
Also in 10 projects that use this
royaluniondesign-sysSkillcontent-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.
Also in 23 projects that use this
HABUBUSSSkillproject-guidelines-example
Also in 20 projects that use this
Other versions148 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 148
- affaan-m/ECC★ 246ksame name
- vudovn/ag-kit★ 8.2ksame name
- vudovn/antigravity-kit★ 8.2ksame name
- xu-xiang/everything-claude-code-zh★ 1.9ksame name
- loulanyue/awesome-claude-notes★ 272same name
- ab604/claude-code-r-skills★ 202same name
- cloudnative-co/claude-code-starter-kit★ 153same name
- xenitV1/Antigravity-Workflows★ 130same name
- cohen-liel/hivemind★ 108same name
- travisjneuman/.claude★ 106same name
138 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- backend-patternsSkill
- coding-standardsSkill
- continuous-learningSkill
- luoshu.configSkill
- luoshu.setupSkill
- security-reviewSkill
- setupSkill
- teamSkill
- verification-loopSkill
The file
Files
TDD 工作流技能
核心流程
- 用户旅程 - 将需求记录为 "作为[角色],我想要..."
- 编写测试 - 在实现前创建全面的测试用例
- 运行测试(失败) - 确认测试在没有代码的情况下失败
- 实现代码 - 编写满足测试的最小代码
- 运行测试(通过) - 验证所有测试成功
- 重构 - 在保持绿色测试的同时提高代码质量
- 验证覆盖率 - 确保达到 80%+ 阈值
测试类别
单元测试
- Jest/Vitest 用于函数、组件、工具
- 模拟外部依赖
- 执行快速(< 50ms)
集成测试
- API 端点测试
- 数据库操作测试
- 服务交互测试
E2E 测试
- Playwright 测试关键用户流程
- 使用语义选择器
- 独立可重复
覆盖率标准
- 最低 80%(单元 + 集成 + E2E)
- 关键路径 100%(认证、支付、安全)
- 覆盖边缘情况和错误场景
成功指标
- 80%+ 代码覆盖率
- 所有测试一致通过
- 快速执行(单元测试 < 50ms)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

