testing-strategy

testing-strategy is a skill for Claude Code from addxai/enterprise-harness-engineering. It costs 40 tokens per session (5,430 once invoked), scanned A, original, Apache-2.0.

A testing-planning tool that designs layered test strategies for backend, app, web, and embedded projects.

In plain words
What is it for?
Use it to create test plans, testing layers, scenario matrices, code templates, and CI/CD guidance for unit, integration, end-to-end, Kubernetes, and acceptance testing.
Why use it?
It clarifies what should be tested at each level, from fast unit tests to full end-to-end checks, and how those tests should run.

Skill for Claude Code

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

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Good fit Use it to create test plans, testing layers, scenario matrices, code templates…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/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 addxai/enterprise-harness-engineering --skill testing-strategy
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

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/addxai/enterprise-harness-engineering/testing-strategy.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/testing-strategy)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/testing-strategy"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/testing-strategy.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,430 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.00040 $0.05430
Opus 5 $0.00020 $0.02715
Sonnet 5 $0.00008 $0.01086
Haiku 4.5 $0.00004 $0.00543

Measured 7d ago against content hash 0f2a055055b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 7d 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 · 490 lines

How it starts

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

Universal Layered Testing Strategy

Description

This Skill generates a complete layered testing strategy based on project type (Backend+APP / Backend+WEB / Backend+APP+Embedded), including test layer architecture, scenario adaptation matrices, code templates, and CI/CD configuration.

Core philosophy: "Quality is built in, not tested in."

Two Key Principles

  1. Shift Left: Developers write L1/L2 tests during coding — the earlier bugs are found, the lower the fix cost
  2. Push Down: If it can be tested at L1, don't leave it for L2; if it can be tested at L2, don't leave it for L3

Ideal Test Pyramid Proportions

  • L1 (Unit): ~70% — Millisecond feedback (includes interface contract / schema contract)
  • L2 (Integration): ~20% — Minute-level feedback (single service + real middleware)
  • L3 (E2E): ~10% — Hour-level feedback (cross-service full chain, including third-party APIs)
    • L3-k8s: L3 sub-layer, requires K8s/minikube environment
  • L4 (UAT): <1% — Staging acceptance

Rules

  1. Layering must be complete: Every project must define the test scope and tools for each L1-L4 layer
  2. Coverage gates: L1 coverage ≥ 80%, core logic libraries ≥ 90%
  3. Mock isolation: L1 tests must mock all external dependencies (DB/network/HAL/filesystem)
  4. Test case ID convention: All cases follow the L{layer}-<MODULE>-NNN format
  5. TDD debugging: Bug fixes must start with a reproduction test case — manual browser debugging is prohibited
  6. CI quality gates: L1 + L2-1 must pass 100% on every commit
  7. Requirements traceability: A User Story → Test Case traceability matrix must be established
  8. L3/L4 black-box testing: L3 and L4 must be end-to-end black-box tests — the test client (Playwright/Appium/real device) interacts directly with the user interface. Intercepting, mocking, or bypassing any internal component at intermediate layers is prohibited. The only exception is uncontrollable external third-party services, which may use stub replacements
  9. Test scenario data management: Each test scenario must be loadable via make mock-scenario or equivalent commands for controlled, repeatable input

Read the full file on GitHub · 490 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. 7d ago First seen · 490 lines · 40 tokens per session scan A 0f2a055055b0

Subscribe to this mod's changes

testing-strategy is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 5,430 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-08-30.

Related

Other skills, from other repositories

tdd

Use this skill to practice test-driven development — writing tests before implementation, using tests to drive design, and validating implementation against pre-written tests. Activates when implementing new functionality, refactoring code, or fixing bugs where regression coverage is needed.

karthikrshet/aiskills · 53 tokens

skill-release-gate

Evaluate an Agent Skill bundle for structural integrity, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity, and target-host portability before release.

rohitg00/ai-engineering-from-scratch · 36 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens