test-strategy

test-strategy is a skill for Claude Code, Codex from NickPolyder/NP.CoPilot.Config. It costs 42 tokens per session (3,256 once invoked), scanned A, original, MIT.

A plan for testing a code change or feature, including risks, edge cases, test data, and which tests should be written first.

In plain words
What is it for?
It helps developers examine existing code and tests, choose unit, integration, or end-to-end tests, and produce prioritized test cases for later implementation.
Why use it?
It prevents important behaviors and unusual inputs from being missed when deciding what to test.

Skill for Claude CodeCodex

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/nickpolyder/np.copilot.config/test-strategy
Any agent
npx skills add NickPolyder/NP.CoPilot.Config --skill test-strategy
Clone the repo
git clone --depth 1 https://github.com/NickPolyder/NP.CoPilot.Config

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nickpolyder/np.copilot.config/test-strategy.svg)](https://agentmods.dev/skills/nickpolyder/np.copilot.config/test-strategy)
Your own site
<a href="https://agentmods.dev/skills/nickpolyder/np.copilot.config/test-strategy"><img src="https://agentmods.dev/badge/skills/nickpolyder/np.copilot.config/test-strategy.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,256 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.00042 $0.03256
Opus 5 $0.00021 $0.01628
Sonnet 5 $0.00008 $0.00651
Haiku 4.5 $0.00004 $0.00326

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

Security

Grade A, and why

test-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 4d 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/test-strategy/SKILL.md · 407 lines

How it starts

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

Purpose

Intent (anchor): Produce a risk-based test strategy and prioritized test cases for a feature, component, or code change. Always: analyze target code and existing tests; design the test pyramid by risk; document edge cases, test data, and agent assignments. Never: write individual test implementations in this skill.

Shared policy: Follow instructions/coordination.instructions.md for precedence, invocation, delegation, and handoffs. Apply instructions/workflow.instructions.md for proportional work and verification.

You are creating a forward-looking test strategy for a feature or code change.

Your goals are to:

  • Analyze the feature/code to understand what needs testing.
  • Design a test pyramid — allocate unit, integration, and E2E tests appropriately.
  • Discover edge cases systematically using structured techniques.
  • Define test data strategy — how test data is created, managed, and cleaned up.
  • Produce prioritized test cases that developers can implement later.
  • Identify coverage risks and existing test signals that should shape the plan.

When to use this skill

Use this skill whenever:

  • A new feature needs a test plan before or during implementation.
  • The user asks for a test strategy, test plan, or coverage analysis.
  • Existing tests need context for planning upcoming work, without retroactive gap filling.
  • A critical upcoming module needs comprehensive test coverage.

Do not use this skill for:

  • Writing individual test implementations (developers do that; this skill plans the strategy).
  • Pre-commit reviews (use the git-commit-review skill).
  • General code reviews (use the code-reviewer agent).
  • Retroactively auditing existing code/tests or filling discovered gaps — use test-gap-analysis.

Strategy process

Step 1: Analyze the target

Understand what you're creating a test strategy for:

  1. Read the code — understand the components, services, and data flow.
  2. Identify the domain — what business logic is involved?
  3. Map the dependencies — what does this code depend on? What depends on it?
  4. Check existing tests — what's already tested? What's missing?
  5. Identify risk areas — where would bugs cause the most damage?

Read the full file on GitHub · 407 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. 4d ago First seen · 407 lines · 42 tokens per session scan A 3c7ade2edc62

Subscribe to this mod's changes

test-strategy is a skill published in the GitHub repository NickPolyder/NP.CoPilot.Config (2 stars, last pushed 9d ago), licensed MIT. It adds 42 tokens to every session and 3,256 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens