$npx skillfedfor your agent

Testing Strategist

Testing Strategist helps you build a structured testing approach grounded in the testing pyramid—70% unit tests, 20% integration tests, 10% E2E tests. It covers practical implementation across business logic, React components, hooks, API routes, and database operations, plus test-driven development principles to ship with confidence.

Testing Strategist helps you design and implement comprehensive testing strategies using the testing pyramid framework.

AI-generated summary based on this skill's SKILL.md

32 7 MITupdated by daffy0208

Decision gist · record as of 2025-12-25

Testing Strategist helps you design and implement comprehensive testing strategies using the testing pyramid framework. Testing Strategist helps you build a structured testing approach grounded in the testing pyramid—70% unit tests, 20% integration tests, 10% E2E tests. It covers practical implementation across business logic, React components, hooks, API routes, and database operations, plus test-driven development principles to ship with confidence.

manual: git clone https://github.com/daffy0208/ai-dev-standards → cp -r ai-dev-standards/skills/testing-strategist ~/.claude/skills/testing-strategist
skills/testing-strategist/SKILL.md · version b3806094

Use it when

  • Testing Strategist teaches test-driven development by walking you through the red-green-refactor cycle.
  • Testing Strategist emphasizes organizing tests by the pyramid: keep unit tests fast and isolated, use mocks for external dependencies.

Verify before relying

Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

daffy0208/ai-dev-standards/testing-strategist · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is the testing pyramid and how should Testing Strategist help me apply it?

Testing Strategist guides you through the testing pyramid: 70% unit tests, 20% integration tests, 10% E2E tests. This structure balances speed, cost, and confidence. Unit tests verify individual functions and components quickly. Integration tests validate how modules work together—especially critical for API endpoints and database operations. E2E tests with Playwright confirm real user workflows. Testing Strategist helps you choose the right test type for each scenario and implement them across business logic, React components, hooks, and API routes.

How do I write tests before code using the TDD red-green-refactor cycle?

Testing Strategist teaches test-driven development by walking you through the red-green-refactor cycle. First, write a failing test (red) that describes the desired behavior. Then write minimal code to make it pass (green). Finally, refactor both test and implementation for clarity and maintainability (refactor). This approach ensures your code is testable from the start, reduces bugs, and creates living documentation. Testing Strategist provides TDD tutorials and examples for React components, async patterns, and business logic.

What are the best practices for the testing pyramid and structuring tests?

Testing Strategist emphasizes organizing tests by the pyramid: keep unit tests fast and isolated, use mocks for external dependencies, and group tests by feature or module. For integration tests, mock only external services while testing real interactions between your components. E2E tests should cover critical user journeys. Testing Strategist recommends clear file structure—colocating tests near source files or in a dedicated test directory—and setting Jest coverage thresholds to maintain quality as your project grows.

How do I set up Jest, React Testing Library, and Playwright for my project?

Testing Strategist walks you through configuring each tool. Jest handles unit and integration tests with coverage reporting and configurable thresholds. React Testing Library focuses on testing components as users interact with them, avoiding implementation details. Playwright automates E2E testing across browsers. Testing Strategist provides setup guides for Next.js projects, shows how to configure Jest coverage thresholds, and explains when to use mocks for external APIs versus real test doubles.

How can Testing Strategist help me improve code coverage and fix flaky tests?

Testing Strategist helps identify gaps in coverage by analyzing which code paths lack tests and recommends which scenarios to prioritize. It guides you toward realistic coverage targets and explains how to test async code patterns, form interactions, and edge cases. For flaky tests, Testing Strategist teaches debugging techniques: isolate test dependencies, avoid timing assumptions, use proper async/await patterns, and ensure mocks are reset between tests. Structured testing practices eliminate most flakiness.

What's the difference between unit, integration, and E2E tests in Testing Strategist?

Testing Strategist clarifies each layer: unit tests verify single functions or components in isolation using mocks—fast and focused. Integration tests validate how multiple modules interact, like testing React components with real hooks or API endpoints with databases. E2E tests with Playwright simulate real users navigating your app across browsers—slow but highest confidence. Testing Strategist helps you choose the right balance: prioritize unit tests for speed, use integration tests for critical workflows, and E2E tests for user-facing features.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Testing Strategist

Test the right things at the right level - write tests that give you confidence to ship.

Core Principle

The Testing Pyramid: 70% unit tests, 20% integration tests, 10% E2E tests.

Tests should be:

  • Fast - Run in milliseconds (unit) to seconds (integration) to minutes (E2E)
  • Isolated - Test one thing at a time
  • Repeatable - Same input = same output
  • Self-checking - Pass/fail automatically, no manual verification
  • Timely - Written alongside code (or before, with TDD)

The Testing Pyramid

``` /\ / \ E2E Tests (10%) /----\ - Slow, brittle, expensive / \ - Test critical user journeys /--------\ - Example: "User can complete checkout" / \ /------------\ Integration Tests (20%) / \ - Medium speed,

(truncated - see the full file via the links below)

File tree — 3 files
skills/testing-strategist/README.md
skills/testing-strategist/SKILL.md
skills/testing-strategist/manifest.yaml

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Design and implement a comprehensive testing strategy for a new project”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Testing Qa
by jmsktm · jmsktm/claude-settings

Strengthen your quality assurance foundation with structured guidance on testing methodologies and proven best practices. This skill covers the core principles of test planning, execution strategies, and quality validation techniques used across development teams. Build confidence in designing effective test cases and implementing comprehensive QA workflows.

no license declared → metadata onlyupdated Jan 2026
★ 7repo stars
testing-strategies
by miles990 · miles990/claude-software-skills

Testing Strategies covers the testing pyramid—unit tests for speed and breadth, integration tests for component interaction, and E2E tests for full-system validation. Learn Arrange-Act-Assert structure, mocking patterns, edge case handling, and database testing with real examples using Jest, Playwright, and Testcontainers.

MITupdated Jan 2026
★ 19repo stars
testing-expert
by personamanagmentlayer · personamanagmentlayer/pcl

Testing Expert guides you through building robust test suites using proven methodologies and modern frameworks. Learn the test pyramid, mocking strategies, and coverage targets across multiple languages including Vitest, Pytest, Go testing, and JUnit 5.

Apache-2.0updated Mar 2026
★ 38repo stars
React Native Testing
by pluginagentmarketplace · pluginagentmarketplace/custom-plugin-react-native

This skill equips you with practical testing techniques tailored for React Native development. Discover how to configure your test environment, write effective test cases, and validate your mobile applications through hands-on guidance.

no license declared → metadata onlyupdated Jan 2026
★ 9repo stars
jest
by bobmatnyc · bobmatnyc/claude-mpm-skills

This skill streamlines Jest configuration for TypeScript projects, handling setup automation and intelligent toolchain detection. It integrates with Claude's multi-agent ecosystem to accelerate test infrastructure deployment across diverse development stacks.

MITupdated Jul 2026
★ 62repo stars
React Testing
by majesticlabs-dev · majesticlabs-dev/majestic-marketplace

Master React testing through practical patterns for Vitest, React Testing Library, and Jest. This skill covers component and hook testing, form validation, mocking APIs, and integration scenarios with context and routing. Apply behavior-focused testing practices to catch real bugs and build confidence in your code.

no license declared → metadata onlyupdated May 2026
★ 44repo stars

More skills Jest React Testing (unlicensed) · react-testing (MIT) · Security Engineer (MIT) · testing-patterns (MIT)

Tags
test-pyramidquality-assurancetdd-workflowcode-reliabilitytest-automationcoverage-metricsqa-strategytesting-frameworksci-cd-testing