testing-strategy

testing-strategy is a skill for Claude Code from Kin9Zeus/senior-engineer-skills. It costs 156 tokens per session (2,505 once invoked), scanned A, original, MIT.

A plan for deciding what a software test suite should cover and where each test belongs. It includes unit tests for small pieces, integration tests for connected parts, and end-to-end tests for complete user journeys.

In plain words
What is it for?
Use it to choose tests for business rules and critical journeys, check integrations and APIs, manage test data, control flaky tests, and set CI quality gates.
Why use it?
It helps catch real bugs quickly without making the test suite unnecessarily slow, flaky or focused only on coverage numbers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the senior-engineer-skills plugin — 15 skills, 7 commands, 4 agents shipped together

Good fit Use it to choose tests for business rules and critical journeys, check integrations and APIs, manage test data, control flaky tests, and set CI quality gates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kin9zeus/senior-engineer-skills/testing-strategy
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.

Any agent
npx skills add Kin9Zeus/senior-engineer-skills --skill testing-strategy
Clone the repo
git clone --depth 1 https://github.com/Kin9Zeus/senior-engineer-skills

Made for: Claude Code.

Or install senior-engineer-skills, the plugin that ships this one along with the rest of its 15 skills, 7 commands, 4 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/kin9zeus/senior-engineer-skills/testing-strategy/github.svg)](https://agentmods.dev/skills/kin9zeus/senior-engineer-skills/testing-strategy)
Your own site
<a href="https://agentmods.dev/skills/kin9zeus/senior-engineer-skills/testing-strategy"><img src="https://agentmods.dev/badge/skills/kin9zeus/senior-engineer-skills/testing-strategy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for testing-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/kin9zeus/senior-engineer-skills/testing-strategy"><img src="https://agentmods.dev/badge/skills/kin9zeus/senior-engineer-skills/testing-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,505 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.00156 $0.02505
Opus 5 $0.00078 $0.01252
Sonnet 5 $0.00031 $0.00501
Haiku 4.5 $0.00016 $0.00250

Measured 9d ago against content hash 2d7051097620, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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/testing-strategy/SKILL.md · 251 lines

How it starts

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

Testing Strategy

A test suite has one job: tell you, quickly and truthfully, whether the system still does what it is supposed to do. Judge every testing decision against that. Coverage percentage, test count and framework choice are proxies, and proxies get gamed.


The pyramid, and why it is that shape

        ╱──────────╲        E2E              few, slow, high confidence
       ╱   5-10%    ╲                        the critical journeys only
      ╱──────────────╲
     ╱   Integration  ╲     20-30%           real database, real HTTP layer
    ╱──────────────────╲                     where most real bugs live
   ╱────────────────────╲
  ╱         Unit         ╲  60-70%           milliseconds, no I/O
 ╱────────────────────────╲                  business rules and edge cases

The shape follows from cost. A unit test runs in a millisecond and fails precisely; an E2E test takes 30 seconds, is flakier, and tells you only that something broke. You want as much signal as possible from the cheap layer, and just enough from the expensive one to know the pieces are actually connected.

Both inversions are failures. An ice-cream cone (mostly E2E) is slow and flaky, and people stop running it. A suite with no top has never tested that the parts work together — which is where integration bugs live by definition.


What belongs at each layer

Unit — business rules, calculations, state machines, validation, edge cases, error paths, pure transformations. No database, no network, no filesystem, no clock. If it needs a mock of something you own, that is usually a design signal: the logic wants to be extracted from its dependencies.

Integration — the things unit tests structurally cannot catch: does the query return what you think, does the migration apply, does the authorization middleware actually reject, does the transaction roll back, does the serialiser produce the right shape. Use a real database (a container, or a per-worker schema). A mocked database tests your mock.

Read the full file on GitHub · 251 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 251 lines · 156 tokens per session scan A 2d7051097620

Subscribe to this mod's changes

testing-strategy is a skill published in the GitHub repository Kin9Zeus/senior-engineer-skills (3 stars, last pushed 16d ago), licensed MIT. It adds 156 tokens to every session and 2,505 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories

chrome-ext-testing

This skill should be used when writing or setting up tests for a Chrome extension. Trigger when: "test chrome extension", "extension unit test", "extension e2e test", "Vitest extension", "Playwright extension", "@webext-core/fake-browser", "test content script", "test service worker", "test messaging", "test storage"…

RadOrigin-LLC/RAD-Claude-Skills · 101 tokens

req-to-test

Generates comprehensive test scenarios from requirements including BDD/Gherkin scenarios, unit tests, integration tests, and end-to-end test cases. Use when converting requirements, user stories, or specifications into testable scenarios with full coverage including happy paths, error cases, edge cases, and boundary…

ArabelaTso/Skills-4-SE · 71 tokens

test-strategy

Use when deciding what to test and at which level. Covers the test pyramid, what belongs in unit versus integration versus end-to-end tests, coverage as a signal rather than a target, and eliminating flakiness.

nimadorostkar/Claude-Skills-collection · 47 tokens

test-levels

This skill explains the 3 test levels (Unit, Integration, E2E) using the "Building a Car" analogy and provides guidance on when to use each type. Includes project-specific Playwright examples.

georgekhananaev/claude-skills-vault · 46 tokens

test-strategy-document

Create a production-ready Testing Strategy and QA Execution Plan. Covers testing levels (unit, integration, E2E, performance), mocking boundaries, test environment matrix, code coverage thresholds, and automated CI pipeline runsheets. Use when establishing a QA framework for a new system or feature set.

fattain-naime/engineering-docs · 62 tokens

writing-tests

Write unit, integration, and E2E tests that follow the testing pyramid, the Arrange-Act-Assert pattern, the shouldXwhenY naming convention, and meet a 75% (target 80%) branch coverage gate per supported OS. Use when the user asks to write tests, add coverage, build a test suite, fix flaky tests, or verify a feature…

Cristhianzl/claude-skills-czl · 103 tokens