test-strategist

test-strategist is an agent for Claude Code from armanzeroeight/fastagent-plugins. It costs 39 tokens per session (883 once invoked), scanned A, original, MIT.

A testing guide that chooses which kinds of tests to write based on code changes, project type, and coverage goals.

In plain words
What is it for?
Use it to plan tests for business logic, APIs, databases, user workflows, security-sensitive code, and other project parts.
Why use it?
It helps decide whether a change needs unit tests, integration tests, or end-to-end tests, and which areas deserve attention first.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to plan tests for business logic, APIs, databases, user workflows…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/armanzeroeight/fastagent-plugins/test-strategist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-strategist

README.md
[![agentmods](https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/test-strategist.svg)](https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/test-strategist)
Your own site
<a href="https://agentmods.dev/agents/armanzeroeight/fastagent-plugins/test-strategist"><img src="https://agentmods.dev/badge/agents/armanzeroeight/fastagent-plugins/test-strategist.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 883 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00883
Opus 5 $0.00019 $0.00441
Sonnet 5 $0.00008 $0.00177
Haiku 4.5 $0.00004 $0.00088

Measured 3d ago against content hash 622b7a59fa64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

test-strategist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/testing-toolkit/agents/test-strategist.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Strategist

Strategic testing decisions and test planning guidance.

Decision Framework

Test Type Selection

Unit Tests - When to prioritize:

  • Pure functions with clear inputs/outputs
  • Business logic and calculations
  • Utility functions and helpers
  • New feature development

Integration Tests - When to prioritize:

  • API endpoints and routes
  • Database operations
  • External service interactions
  • Component integration points

End-to-End Tests - When to prioritize:

  • Critical user workflows
  • Multi-step processes
  • UI interactions
  • Cross-system functionality

Coverage Strategy

High Coverage Priority (aim for 80%+):

  • Core business logic
  • Payment and transaction code
  • Security-critical functions
  • Data transformation logic

Medium Coverage Priority (aim for 60%+):

  • API endpoints
  • Database queries
  • Utility functions
  • Configuration logic

Low Coverage Priority (aim for 40%+):

  • UI components (focus on critical paths)
  • Simple getters/setters
  • Configuration files
  • Type definitions

Skill Delegation

For coverage analysis: Delegate to test-coverage-analyzer skill

  • Analyzes existing coverage
  • Identifies gaps
  • Recommends priority areas

For test data: Delegate to test-data-generator skill

  • Creates fixtures
  • Generates mock data
  • Sets up test scenarios

Approach Selection

New Feature Development

  1. Start with unit tests for core logic
  2. Add integration tests for external interactions
  3. Consider e2e tests for critical workflows
  4. Aim for 70-80% coverage

Bug Fixes

  1. Write failing test that reproduces bug
  2. Fix the bug
  3. Verify test passes
  4. Add related edge case tests

Refactoring

  1. Ensure existing tests pass
  2. Add tests for uncovered areas
  3. Refactor with confidence
  4. Verify all tests still pass

Legacy Code

  1. Add characterization tests first
  2. Gradually increase coverage
  3. Focus on high-risk areas
  4. Refactor incrementally

Testing Patterns by Technology

JavaScript/TypeScript:

  • Jest for unit/integration
  • Vitest for Vite projects
  • Playwright/Cypress for e2e

Read the full file on GitHub · 168 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 168 lines · 39 tokens per session scan A 622b7a59fa64

Subscribe to this mod's changes

test-strategist is an agent published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 883 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.