mcpField
T
testing-strategy

testing-strategy

github.com/anthropicsTesting & quality33.6k6.5k installsUpdated 1d ago
Repository

About testing-strategy

A skill for designing test strategies that balance coverage, speed, and maintenance. It guides teams on test levels and component-specific coverage, then produces a plan with targets, example cases, and coverage gaps.

Key features

  1. 01Testing pyramid guidance
  2. 02Component-specific test recommendations
  3. 03Coverage priorities and exclusions
  4. 04Test plans with targets and examples
  5. 05Existing coverage gap identification

Use cases

  1. 01Plan tests for API endpoints and data pipelines
  2. 02Choose frontend and infrastructure test types
  3. 03Review critical paths, edge cases, and security boundaries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/anthropics/knowledge-work-plugins --skill testing-strategy

After installing, type/testing-strategyin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported