Home/Testing & QA/testing-strategy
T

testing-strategy

by @anthropicsv
4.5(20)

Designs testing strategies that balance coverage, execution speed, and maintenance costs, based on the test pyramid methodology.

test-strategytest-pyramidcoveragetest-planningGitHub
Installation
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill testing-strategy
compare_arrows

Before / After Comparison

1 组
Before

Ad-hoc and unplanned test writing, excessive end-to-end tests leading to slow execution, insufficient unit test coverage, high maintenance costs, and test suites gradually becoming a development bottleneck.

After

Reasonably allocate test proportions at each layer based on the test pyramid, balance coverage and execution speed, clearly define the responsibility boundaries for each test type, resulting in efficient and easily maintainable test suites.

SKILL.md

testing-strategy

Testing Strategy

Design effective testing strategies balancing coverage, speed, and maintenance.

Testing Pyramid

        /  E2E  \         Few, slow, high confidence
       / Integration \     Some, medium speed
      /    Unit Tests  \   Many, fast, focused

Strategy by Component Type

  • API endpoints: Unit tests for business logic, integration tests for HTTP layer, contract tests for consumers

  • Data pipelines: Input validation, transformation correctness, idempotency tests

  • Frontend: Component tests, interaction tests, visual regression, accessibility

  • Infrastructure: Smoke tests, chaos engineering, load tests

What to Cover

Focus on: business-critical paths, error handling, edge cases, security boundaries, data integrity.

Skip: trivial getters/setters, framework code, one-off scripts.

Output

Produce a test plan with: what to test, test type for each area, coverage targets, and example test cases. Identify gaps in existing coverage. Weekly Installs205Repositoryanthropics/know…-pluginsGitHub Stars9.9KFirst SeenFeb 24, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex191opencode191gemini-cli190cursor189github-copilot189amp188

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs6.4K
Rating4.5 / 5.0
Version
Updated2026年10月22日
Comparisons1

User Rating

4.5(20)
5
20%
4
50%
3
25%
2
5%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code

Timeline

Created2026年3月19日
Last Updated2026年10月22日
🎁 Agent Knowledge Cards
Survey