testing-strategy

testing-strategy is a skill for Claude Code, Codex from AnastasiyaW/codex-claude-code-config. It costs 82 tokens per session (1,728 once invoked), scanned A, original, MIT.

A guide for choosing software tests based on the risk and boundaries of a code change. It covers checks ranging from small unit tests to integration, end-to-end, performance, security, and agent-evaluation tests.

In plain words
What is it for?
Use it to plan or review tests, select regression checks, test real system boundaries, and document evidence for high-risk work.
Why use it?
It avoids running a large, unfocused test suite when a smaller set could disprove the changed behavior. It also helps keep slow or specialized checks in the right testing environment.

Skill for Claude CodeCodex

Part of the claude-code-config plugin — 56 skills, 8 agents shipped together

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.

agentmods
npx agentmods add skills/anastasiyaw/codex-claude-code-config/testing-strategy
Any agent
npx skills add AnastasiyaW/codex-claude-code-config --skill testing-strategy
Clone the repo
git clone --depth 1 https://github.com/AnastasiyaW/codex-claude-code-config

Made for: Claude Code, Codex.

Or install claude-code-config, the plugin that ships this one along with the rest of its 56 skills, 8 agents.

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 testing-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/anastasiyaw/codex-claude-code-config/testing-strategy.svg)](https://agentmods.dev/skills/anastasiyaw/codex-claude-code-config/testing-strategy)
Your own site
<a href="https://agentmods.dev/skills/anastasiyaw/codex-claude-code-config/testing-strategy"><img src="https://agentmods.dev/badge/skills/anastasiyaw/codex-claude-code-config/testing-strategy.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00082 $0.01728
Opus 5 $0.00041 $0.00864
Sonnet 5 $0.00016 $0.00346
Haiku 4.5 $0.00008 $0.00173

Measured 5d ago against content hash efefeae8c325, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

testing-strategy 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 5d 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.

skills/development/testing-strategy/SKILL.md · 131 lines

How it starts

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

Testing Strategy

Testing is an evidence-selection problem, not a contest to run the largest suite. Choose the smallest set that can falsify the changed behavior, then add one higher-level check only when it covers a boundary the lower level cannot. Keep execution environments reusable, but separate their evidence profiles: staging-smoke, security-proof, release-attestation, and nightly-stress. Use harness-feedback when a gate is reported as overloaded or misplaced.

Workflow

  1. Freeze the acceptance criteria as observable outcomes.
  2. Inspect the changed files and classify the risk.
  3. Select the lowest useful test level from the matrix below and name the profile.
  4. Run the fast gate first. If it fails, fix the cause before adding more tests.
  5. Add a focused regression test for a confirmed bug or a changed invariant.
  6. Test real boundaries only when the change crosses them.
  7. Keep security-proof and release-attestation checks out of staging-smoke unless the acceptance criteria explicitly require that evidence.
  8. For high-risk or long-horizon work, use a fresh-context verifier and store the command, revision, result, and skipped checks in a durable artifact.
  9. When a verified stage becomes the input to another stage, seal that boundary with commit/tree, contract, input/output digests, and a fresh verdict. Mark an unavailable external prerequisite as BLOCKED; do not rerun unrelated accepted code merely because the following environment is unavailable.

Compact Matrix

Change Required evidence Usually deferred
Docs, comments, formatting only Link/lint check when relevant Runtime suite
Pure function, local refactor Fast checks + focused unit/regression tests Full E2E, mutation
Parser, serializer, file, DB, API adapter Fast + focused + one real boundary/integration check Browser E2E unless user flow changes
Auth, permissions, migrations, concurrency, public API, deployment Fast + focused + integration/contract + targeted smoke; independent review for non-trivial changes Full load test unless performance is in scope
UI or user journey Fast + component/focused checks + one stable E2E smoke Large browser matrix
Release or performance claim All applicable lower levels + fixed benchmark/security/release evidence Nothing that is part of the claim

Read the full file on GitHub · 131 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. 5d ago First seen · 131 lines · 82 tokens per session scan A efefeae8c325

Subscribe to this mod's changes

testing-strategy is a skill published in the GitHub repository AnastasiyaW/codex-claude-code-config (147 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 1,728 once invoked, about $0.0004 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-08-30.