Testing Strategy

Testing Strategy is a skill for Claude Code, Codex from Xiaowen-Jiang/agent-enterprise. It costs 18 tokens per session (373 once invoked), scanned A, original, MIT.

A guide for planning and writing software tests. It covers unit tests for isolated code, integration tests for connected components, and end-to-end tests for complete user flows.

In plain words
What is it for?
Use it to inspect code, choose suitable test boundaries, create a test matrix, prioritize critical paths, and write independent tests that check behavior rather than implementation details.
Why use it?
It helps uncover normal, edge-case, error, and boundary problems before they reach users, while keeping the test work organized by priority.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect code, choose suitable test boundaries, create a test matrix, prioritize critical paths, and write independent tests that check behavior rather than implementation details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaowen-jiang/agent-enterprise/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 Xiaowen-Jiang/agent-enterprise --skill testing_strategy
Clone the repo
git clone --depth 1 https://github.com/Xiaowen-Jiang/agent-enterprise

Made for: Claude Code, Codex.

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/xiaowen-jiang/agent-enterprise/testing_strategy/github.svg)](https://agentmods.dev/skills/xiaowen-jiang/agent-enterprise/testing_strategy)
Your own site
<a href="https://agentmods.dev/skills/xiaowen-jiang/agent-enterprise/testing_strategy"><img src="https://agentmods.dev/badge/skills/xiaowen-jiang/agent-enterprise/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/xiaowen-jiang/agent-enterprise/testing_strategy"><img src="https://agentmods.dev/badge/skills/xiaowen-jiang/agent-enterprise/testing_strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 373 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.00018 $0.00373
Opus 5.5 $0.00007 $0.00149
Sonnet 5.5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00037

Measured 1mo ago against content hash b0ec4af6f52d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

agent_enterprise/skills_data/testing_strategy/SKILL.md · 42 lines

What it actually says

Process

  1. Read the code under test — Understand inputs, outputs, and side effects
  2. Identify test boundaries — What is a unit? What needs integration testing?
  3. Map test cases — Happy path, edge cases, error cases, boundary values
  4. Write unit tests — Isolated, fast, mock external dependencies
  5. Write integration tests — Test component interactions with real dependencies
  6. Consider E2E scenarios — Full user flows that validate the system end-to-end
  7. Prioritize — Critical paths first, then edge cases

Output Format

Provide a test matrix:

Test Name Type Input Expected Output Priority
test_create_user_success unit valid user data user object returned P0
test_create_user_duplicate_email unit existing email 409 error P0
test_user_flow_signup_to_order e2e full flow order created P1

Then provide the actual test code.

Guidelines

  • Test behavior, not implementation details
  • One assertion per test (or closely related assertions)
  • Use descriptive test names that explain the scenario
  • Arrange-Act-Assert pattern
  • No test interdependencies — each test should be independent
  • Mock at boundaries (database, external APIs), not internal functions
  • Cover both success and failure paths
  • Include edge cases: empty inputs, max values, unicode, concurrent access
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. 1mo ago First seen · 42 lines · 18 tokens per session scan A b0ec4af6f52d

Subscribe to this mod's changes

Testing Strategy is a skill published in the GitHub repository Xiaowen-Jiang/agent-enterprise (52 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 373 once invoked, about $0.0001 per session on Opus 5.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

proof-strategy

Produce a test strategy for a project or feature — risk map, test type decisions, coverage targets, CI config. Use when asked to "create test strategy", "what should we test", "testing plan", or "improve test coverage".

tonone-ai/tonone · 53 tokens

proof-recon

Testing reconnaissance — inventory all tests, frameworks, coverage, CI integration, and assess testing maturity for project takeover. Use when asked to "understand the tests", "testing assessment", "what's tested", or "test inventory".

tonone-ai/tonone · 50 tokens

ios-test

XCTest patterns for unit tests, UI tests, and SwiftData testing with in-memory containers under Swift 6 strict concurrency, plus test performance budgets. Use when writing or fixing tests, setting up test targets, testing SwiftData models, or planning CI test suites. Trigger on "write a test", "unit test", "XCTest"…

markdavidgan/apple-dev-skills · 100 tokens

testing-strategy

Write comprehensive test suites with proper structure, mocking strategies, fixtures, and coverage goals. Use when implementing unit tests, integration tests, or e2e tests. Triggers on: tests, testing, unit test, integration test, e2e, jest, vitest, pytest, mocking, TDD.

parisgroup-ai/imersao-ia-setup · 66 tokens

tsq-testing

A guide to planning and writing software tests, including unit tests, integration tests, end-to-end tests, test coverage, and the Given-When-Then format. TDD means writing a failing test, making it pass with the smallest change, then cleaning up the code.

sonature-lab/timsquad · 85 tokens

test-generation

Generate a test strategy and starter test stubs for given modules across unit, integration, and e2e layers (pytest/jest/playwright). Trigger on: generate tests, test plan, test strategy, coverage plan, test scaffolding.

sarveshtalele/mcp-skills-registry · 51 tokens