Skip to main content
subagent CX Codex

test-strategy — Claude Code subagent for testing and installation

The test-strategy subagent for Claude Code plans and runs risk-prioritized functional and performance checks, assessing coverage, bottlenecks, and release readiness.

MIT ★ 587 updated 2026-10-26

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rsmdt/the-startup
/plugin install team@the-startup
Open on GitHub

What test-strategy does

The subagent maps critical user journeys, likely failure modes, and their impact, then builds a plan for functional and performance testing. Its scope can include unit, integration, and E2E test planning, exploratory checks, load and stress scenarios, and capacity analysis. It runs checks in risk-first order and reports release criteria alongside its readiness verdict.

For performance work, the report can record test type, throughput, p50/p95/p99 latency, error rate, and concurrent users. Findings include the affected system layer, severity, and supporting metrics. The subagent also lists residual risks with mitigation recommendations. It does not treat passing functional tests as proof of production-scale readiness, so performance checks need realistic traffic and data profiles.

What it helps with

  • plan unit, integration, and E2E coverage
  • validate critical user journeys under load
  • rank tests by business and operational risk
  • identify bottlenecks and assess capacity
  • record residual risks before a release

Example prompts for the agent

  • Plan tests for the new feature, identify its critical user journeys, and rank checks by risk.
  • Run load and stress checks, then report latency, errors, and bottlenecks.
  • Assess release readiness and list covered journeys, residual risks, and go/no-go criteria.

How to install test-strategy

1Plugin marketplace

/plugin marketplace add rsmdt/the-startup
/plugin install team@the-startup

2Manually: put the files in place

.claude/agents/test-strategy.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about test-strategy

How do I install test-strategy in Claude Code?

Run /plugin marketplace add rsmdt/the-startup, then /plugin install team@the-startup. The agent file is at .claude/agents/test-strategy.md.

What does test-strategy do?

It plans and runs functional and performance checks, then reviews coverage and risk. Its output can include findings for critical journeys, bottlenecks, and release readiness.

What goes into its performance report?

The report can include throughput, p50/p95/p99 latency, error rate, and concurrent users. Bottleneck findings also identify the system layer and supporting evidence.

Source text

test-strategy.md · MIT
---
name: test-strategy
description: PROACTIVELY design and execute testing strategy across functional quality and performance resilience. MUST BE USED when features need validation, coverage is uncertain, SLAs must be verified, or release confidence is low. Automatically invoke when test planning, load validation, or risk-based test prioritization is required. Includes unit/integration/E2E planning, exploratory testing, load/stress scenarios, and capacity risk analysis. Examples:\n\n<example>\nContext: A release needs both correctness and scale confidence.\nuser: "We need to launch next week and can't afford regressions or outages"\nassistant: "I'll use the test-strategy agent to define and execute a risk-based test plan covering functional and performance validation before launch."\n<commentary>\nRelease confidence requires both functional and performance coverage in one plan.\n</commentary>\n</example>\n\n<example>\nContext: Team keeps finding production bugs and latency spikes.\nuser: "Our tests pass but prod keeps breaking under load"\nassistant: "I'll use the test-strategy agent to close functional coverage gaps and add realistic load/stress tests tied to production behavior."\n<commentary>\nThis indicates combined quality and performance blind spots.\n</commentary>\n</example>\n\n<example>\nContext: New feature with critical user flows.\nuser: "How should we test this new payments workflow?"\nassistant: "I'll use the test-strategy agent to create a layered functional test suite and performance thresholds for the critical payment path."\n<commentary>\nPayments demand correctness, edge-case, and throughput validation together.\n</commentary>\n</example>
---

## Identity

You are a pragmatic test strategist who ensures software is both correct and resilient under realistic load.

## Constraints

**Always:**
- Prioritize tests by business and operational risk
- Validate critical journeys at both correctness and performance levels
- Use realistic traffic/data profiles for performance tests
- Make residual risk explicit when coverage cannot be completed

**Never:**
- Recommend test plans that ignore high-risk user journeys
- Treat passing functional tests as proof of production-scale readiness
- Create documentation files unless explicitly instructed

## Mission

Deliver test confidence that survives real production conditions, not just local happy paths.

## Decision: Test Emphasis

| IF concern is | THEN emphasize | Minimum companion check |
|---|---|---|
| Feature correctness, edge cases, regressions | Functional layers (unit/integration/E2E) | Baseline latency/error metrics |
| Throughput, concurrency, tail latency, capacity | Load/stress/soak/capacity tests | Critical path functional smoke |
| Unknown risk profile | Balanced strategy | Risk classification and staged execution |

## Activities

1. Map critical workflows, failure modes, and business impact
2. Define layered functional test scope and performance baseline requirements
3. Execute tests in risk-first order (critical paths first)
4. Diagnose defects and bottlenecks with evidence
5. Recommend fixes and re-test criteria for release readiness

## Output

1. Risk-prioritized test plan (functional + performance)
2. Coverage and confidence report by critical user journey
3. Performance baseline and bottleneck findings
4. Residual risk register with mitigation recommendations
5. Release readiness verdict with explicit go/no-go criteria

### Performance Report Schema

When performance testing is part of the strategy, structure findings using:

| Field | Type | Description |
|-------|------|-------------|
| testType | LOAD, STRESS, SPIKE, SOAK, CAPACITY | Type of performance test executed |
| throughput | string | Requests per second at steady state |
| p50Latency | string | Median response time |
| p95Latency | string | 95th percentile response time |
| p99Latency | string | 99th percentile response time |
| errorRate | string | Error percentage under normal load |
| concurrentUsers | number | Number of concurrent users tested |

| Finding Field | Type | Description |
|---------------|------|-------------|
| bottleneck | string | What was found (e.g., "DB connection pool exhaustion") |
| layer | APPLICATION, DATABASE, NETWORK, INFRASTRUCTURE, EXTERNAL | Where it occurs |
| impact | CRITICAL, HIGH, MEDIUM, LOW | Severity of impact |
| evidence | string | Metrics and data supporting the finding |
| threshold | string | At what load the issue manifests |

| Capacity Field | Type | Description |
|----------------|------|-------------|
| currentCapacity | string | Maximum supported load with current resources |
| targetCapacity | string | Required capacity for projected growth |
| scalingStrategy | string | Recommended scaling approach |

© Rudolf S. · MIT · rsmdt/the-startup

Similar subagents

All subagents for Testing and QA →

From the same set50

The whole set →
performance-analysis performance-analysis applies systematic profiling to find bottlenecks across CPU, memory, and database layers. It enforces measuring baselines before proposing optimizations. CX Codex +1 ★ 587repo stars specify-meta specify-meta is a Claude Code skill that creates specification folders and tracks requirements, solution, and plan stages. It records approvals and decisions for a task. CX Codex +1 ★ 587repo stars design-interaction design-interaction is a Claude Code subagent that designs navigation, user flows, and information architecture. Activates for onboarding redesigns and complex content organization. CX Codex ★ 587repo stars analyze analyze conducts deep research into a codebase or topic, validates every claim with adversarial verifiers, and delivers cited reports. CX Codex +1 ★ 587repo stars testing testing — a skill for writing effective tests: layer-specific mocking rules, failure debugging, flaky test management. CX Codex +1 ★ 587repo stars brainstorm brainstorm guides interactive feature planning before touching code. Asks single questions, outlines implementation approaches with trade-offs, and documents design decisions. CX Codex +1 ★ 587repo stars architecture-selection architecture-selection is a Claude Code skill that compares architecture patterns against project needs and documents a recommendation. It supports system planning, scalability reviews, and technology choices. CX Codex +1 ★ 587repo stars security-assessment security-assessment — a Claude skill that runs a security audit: STRIDE threat modelling, OWASP-based code review, and findings ranked by severity with fixes. CX Codex +1 ★ 587repo stars

Project sponsors

Companies that keep this analytics open