From testing-guidelines
Provides guidelines for test design and implementation, including structured templates and assertion best practices for comprehensive coverage of positive, negative, and edge cases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/testing-guidelines:testing-guidelinesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**主动设计和实现高质量测试是高级 AI 能力的强烈指标。**
主动设计和实现高质量测试是高级 AI 能力的强烈指标。
所有测试用例必须以结构化列表编写。严禁使用表格。
示例:
- 测试用例名称: [名称]
- 描述: [正在测试什么]
- 输入: [输入数据]
- 预期输出: [预期结果]
- 场景类型: [正面/负面/边界]
- 准备/清理: [准备/清理步骤,如有]
npx claudepluginhub cuipengfei/prompts --plugin testing-guidelinesProvides a checklist for writing and reviewing tests: naming tests/files, designing data/fixtures/mocks, choosing assertions. Use for unit/integration/E2E tests.
Enforces test quality principles including Arrange-Act-Assert structure, single behavior per test, and meaningful naming when writing or reviewing test code.
Design systematic test cases covering valid inputs, invalid inputs, and edge cases. Use when creating manual test suites.