testing-unit-integration
✓有关编写干净、简单且有效的单元、集成、组件、微服务和 API 测试的专家指导。在检查现有测试是否存在违规、编写新测试或重构测试时,请使用此技能。不适用于跨越多个进程的端到端测试 - 请使用测试 e2e 技能。涵盖 AAA 模式、数据工厂、模拟策略、DOM 测试、数据库测试和断言最佳实践。
SKILL.md
Expert guidance for keeping tests simple, clean, consistent, and short. When reviewing tests, report violated rule numbers.
Scope: Unit, integration, component, microservice, API tests. NOT for e2e tests spanning multiple processes - use testing-e2e skill instead.
These are absolutely critical - stop coding if you can't follow them:
有关编写干净、简单且有效的单元、集成、组件、微服务和 API 测试的专家指导。在检查现有测试是否存在违规、编写新测试或重构测试时,请使用此技能。不适用于跨越多个进程的端到端测试 - 请使用测试 e2e 技能。涵盖 AAA 模式、数据工厂、模拟策略、DOM 测试、数据库测试和断言最佳实践。 来源:agdev/claude-code。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/agdev/claude-code --skill testing-unit-integration- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 testing-unit-integration?
有关编写干净、简单且有效的单元、集成、组件、微服务和 API 测试的专家指导。在检查现有测试是否存在违规、编写新测试或重构测试时,请使用此技能。不适用于跨越多个进程的端到端测试 - 请使用测试 e2e 技能。涵盖 AAA 模式、数据工厂、模拟策略、DOM 测试、数据库测试和断言最佳实践。 来源:agdev/claude-code。
如何安装 testing-unit-integration?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/agdev/claude-code --skill testing-unit-integration 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/agdev/claude-code