test-standards-enforcer
✓实施测试最佳实践 - AAA 模式、命名约定、隔离、覆盖阈值。阻止不合规的测试。在编写或审查测试时使用。
SKILL.md
| Test Location | Tests must be in tests/ or tests/ | src/utils/helper.test.ts | | AAA Pattern | Tests must have Arrange/Act/Assert structure | No clear sections | | Descriptive Names | Test names must describe behavior | test('test1') | | No Shared State | Tests must not share mutable state | let globalVar = [] without reset |
| Coverage Threshold | Coverage must be ≥ 80% | 75% coverage |
| Overall | 80% | 90% | | Business Logic | 90% | 100% | | Critical Paths | 95% | 100% | | New Code | 100% | 100% |
实施测试最佳实践 - AAA 模式、命名约定、隔离、覆盖阈值。阻止不合规的测试。在编写或审查测试时使用。 来源:yonatangross/skillforge-claude-plugin。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill test-standards-enforcer- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 test-standards-enforcer?
实施测试最佳实践 - AAA 模式、命名约定、隔离、覆盖阈值。阻止不合规的测试。在编写或审查测试时使用。 来源:yonatangross/skillforge-claude-plugin。
如何安装 test-standards-enforcer?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill test-standards-enforcer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/yonatangross/skillforge-claude-plugin
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01