Agent Skills
› davepoon/buildwithclaude
› testing
testing
GitHub提供全面测试指导,涵盖TDD工作流、测试组织及多框架支持。遵循AAA模式与测试优先原则,强调无共享状态和描述性命名,旨在提升代码质量与可维护性。
Trigger Scenarios
使用/cc-best:dev指令进行实现与测试
调用tdd-guide代理获取TDD指导
使用build-error-resolver代理修复测试失败
Install
npx skills add davepoon/buildwithclaude --skill testing -g -y
SKILL.md
Frontmatter
{
"name": "testing",
"description": "Testing strategies and methodologies including TDD, E2E testing, and multi-framework support"
}
Testing Skill
Comprehensive testing guidance covering:
- TDD Workflow: Red → Green → Refactor cycle with practical examples
- Test Organization: Unit / Integration / E2E test structure
- Framework Support: pytest, Jest, JUnit5, xUnit, Google Test
- Mock Strategies: Only mock external boundaries, not internal logic
- Coverage Requirements: 80%+ with meaningful assertions
When Loaded
This skill is automatically injected when working with:
/cc-best:dev— Implementation with teststdd-guideagent — Test-driven development guidancebuild-error-resolveragent — Fixing test failures
Key Rules
- Tests first — Write failing test before implementation
- AAA pattern — Arrange, Act, Assert in every test
- No shared mutable state — Each test is independent
- Descriptive names —
test_<feature>_<scenario>_<expected>
Version History
- 502fc01 Current 2026-07-05 15:09


