Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Anthropic

testing-strategy — Claude Code skill: testing and setup

This skill designs testing strategies and test plans for a project. Use it when you need test types, coverage goals, or gaps in existing checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/knowledge-work-plugins --skill testing-strategy -a claude-code
Open on GitHub

What testing-strategy does

testing-strategy organizes testing by levels: unit tests for focused checks, integration tests for connected parts, and E2E tests for key flows. For API endpoints, it separates business-logic tests, HTTP-layer integration tests, and consumer contract tests. Data pipelines get checks for input validation, transformation correctness, and idempotency.

The skill produces a test plan that names what to test, assigns a test type to each area, sets coverage targets, and gives example cases. It also directs attention to error handling, edge cases, security boundaries, and data integrity. Frontend plans can cover components, interactions, visual regression, and accessibility.

For infrastructure, it includes smoke, chaos, and load testing. It advises skipping trivial getters and setters, framework code, and one-off scripts, so review which parts of the project carry the real testing risk before using its plan.

What it helps with

  • design a testing strategy for a component
  • split checks across the testing pyramid
  • find gaps in existing test coverage
  • choose tests for an API, pipeline, or frontend
  • cover edge cases and error handling

Example prompts for the agent

  • How should we test this API? Separate business-logic, HTTP-layer, and consumer contract tests.
  • Write a test plan for this data pipeline with input validation, transformation, and idempotency checks.
  • What tests do we need for this frontend, including accessibility and visual regression?

How to install testing-strategy

1Skills CLI (Vercel)

npx skills add anthropics/knowledge-work-plugins --skill testing-strategy -a claude-code

2Manually: put the files in place

~/.claude/skills/testing-strategy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/testing-strategy/

From the same set133

The whole set →
data-visualization official anthropics Selects chart types based on data structure and produces Python visualization code in matplotlib, seaborn, and plotly. Useful for reports and research figures. Claude Code CX Codex Cursor +1 13,700installs documentation official anthropics A skill for technical writing that drafts READMEs, API references, runbooks, architecture docs and onboarding guides. Useful when the code exists but the description does not. Claude Code CX Codex Cursor +1 10,300installs build-dashboard official anthropics Builds a self-contained HTML dashboard with Chart.js charts, KPI cards, and filterable tables. Useful for turning raw data or queries into a standalone browser report. Claude Code CX Codex Cursor +1 9,100installs memory-management official anthropics This skill organizes workplace shorthand, names, and project details into files an agent can consult. It fits projects where requests rely on an internal vocabulary and shared context. Claude Code CX Codex Cursor +1 7,400installs task-management official anthropics Tracks commitments, active work, and follow-ups in a local TASKS.md file. Useful when managing project to-dos directly from the AI coding chat. Claude Code CX Codex Cursor +1 7,200installs architecture official anthropics Writes an Architecture Decision Record or reviews a system design: options, trade-offs, consequences. Useful when you have to pick between technologies. Claude Code CX Codex Cursor +1 6,700installs knowledge-synthesis official anthropics Merges search results across chats, emails, and documents into deduplicated answers with source attribution. Flags conflicting facts and scores source reliability. Claude Code CX Codex Cursor +1 6,400installs view-pdf official anthropics Opens PDFs in an interactive viewer for shared markup, form filling, highlights, stamps, and visual signatures. Use it when text reading alone is not enough. Claude Code CX Codex Cursor +1 6,300installs

Similar

dotnet-upgrade official github Plan a .NET upgrade by reviewing project dependencies, choosing a migration order and preparing post-upgrade checks. GitHub Copilot 11,475installs srdf earthtojake This skill creates and validates MoveIt2 SRDF files paired with a URDF. Use it for planning groups, robot semantics, and review-ready handoff. Claude Code CX Codex Cursor +1 10,300installs agent-eval colbymchenry Compares agent behavior with and without CodeGraph on a real repository. Use it to audit retrieval quality and test a local or published CodeGraph version. Claude Code CX Codex Cursor +1 1,800installs apple-appstore-reviewer official github Reviews an iOS project from an Apple App Store reviewer’s perspective and ranks rejection risks. Use it before submitting an app for review. GitHub Copilot 11,295installs rtk-tdd rtk-ai This skill enforces a Red-Green-Refactor workflow for Rust and activates on implementation, testing, refactoring, and bug-fixing tasks. Claude Code CX Codex Cursor +1 2,100installs hatch-pet official openai Creates and packages animated pets and spritesheets for Codex. Use it to turn a character concept, reference image, or brand cues into a pet. Claude Code CX Codex Cursor +1 3,300installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about testing-strategy

How do I install testing-strategy in Claude Code?

Run npx skills add anthropics/knowledge-work-plugins --skill testing-strategy -a claude-code, run the same command again, then check ~/.claude/skills/testing-strategy/SKILL.md.

What does testing-strategy do?

It designs a testing strategy and test plan, assigns test types to project areas, proposes coverage targets and example cases, and identifies gaps in existing coverage.

Which project areas does it cover?

For APIs, it separates business logic, HTTP-layer, and consumer contract checks. For frontends, it covers components, interactions, visual regression, and accessibility; data pipelines get validation, transformation, and idempotency checks.

Source text

SKILL.md · Apache-2.0
---
name: testing-strategy
description: Design test strategies and test plans. Trigger with "how should we test", "test strategy for", "write tests for", "test plan", "what tests do we need", or when the user needs help with testing approaches, coverage, or test architecture.
---

# 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.

© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor