Skip to content
Skill

Testing strategy

Guides an agent to decide what to test and how before any test file is written

Testing strategy is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
28
Last commit
License
MIT
Listing updated

Similar skills

About Testing strategy

This skill walks the agent through a fixed sequence of gates for test design. The agent classifies each unit as pure logic, an I/O boundary, an integration, or a regression, then ranks the ways the code could fail by damage and likelihood so tests follow that ranking rather than coverage numbers.

For bug fixes it requires a regression test that is run against the unfixed code to confirm it fails, then against the fixed code to confirm it passes. It also includes a flakiness audit covering timing, shared state, ordering and external calls, and it requires an explicit list of what the tests do not cover. The workflow ends with a structured strategy report and a confidence rating.

The skill is written as a pure instruction document with no scripts or reference files. It hands off to a test-driven development skill when Superpowers is installed, and otherwise has the agent write the tests directly.

When your agent uses it

MANDATORY test design protocol. You MUST invoke this skill before writing tests for new code, deciding test scope for a feature, or declaring any bug fixed. Do NOT chase coverage percentages. Do NOT call a bug fixed without a regression test that fails on the old code. Invoke this BEFORE writing the first test, not after the suite exists.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the praxis plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add xD4O/praxis
/plugin install praxis@praxis

Or copy only this skill to ~/.claude/skills/testing-strategy:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/testing-strategy &&
cp -R "$tmp/skills/testing-strategy" ~/.claude/skills/testing-strategy &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/testing-strategy inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/testing-strategy to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/testing-strategy &&
cp -R "$tmp/skills/testing-strategy" ~/.agents/skills/testing-strategy &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/testing-strategy inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/testing-strategy to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/testing-strategy &&
cp -R "$tmp/skills/testing-strategy" ~/.cursor/skills/testing-strategy &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/testing-strategy inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/xD4O/praxis.git --path skills/testing-strategy

Or copy the folder to ~/.gemini/skills/testing-strategy yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/testing-strategy:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/testing-strategy &&
cp -R "$tmp/skills/testing-strategy" ~/.copilot/skills/testing-strategy &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/testing-strategy inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/xD4O/praxis.git

Then copy praxis/skills/testing-strategy into your agent's skills folder as testing-strategy. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Unit classification
Sorts each unit of work into pure logic, I/O boundary, integration or regression before choosing a test type.
Failure mode ranking
Orders possible failures by damage and likelihood so the most harmful cases are tested first.
Regression test gate
Requires a test that fails on the old code and passes after the fix, with both runs observed.
Flakiness audit
Checks new tests for timing, shared state, ordering and external call problems before accepting them.
Explicit coverage gaps
Requires a written list of what the test suite does not protect against.
Strategy report format
Produces a structured summary of classification, covered failure modes and a confidence level.

Good for

  • Plan which tests a new feature needs before writing any test code
  • Confirm a bug is fixed with a regression test that fails on the old code
  • Audit a new test for flakiness caused by timing or shared state
  • Decide the test scope for a module that mixes logic with file or network I/O
  • List what a test suite leaves unprotected

Testing strategy FAQ

When does the skill trigger?

Its description says the agent must invoke it before writing tests for new code, deciding test scope for a feature, or declaring a bug fixed, and before writing the first test.

Does Testing strategy write the tests itself?

Not necessarily. If Superpowers is installed it hands the strategy to the test-driven-development skill to write the tests; otherwise the agent writes them in failure-mode rank order.

Does Testing strategy need any scripts or external tools?

No scripts are included and no allowed tools are set. The skill is a single SKILL.md file.

Does Testing strategy target a specific language or framework?

The SKILL.md does not name a language or test framework.

How do I install Testing strategy in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/testing-strategy to use it in all your projects, or to .claude/skills/testing-strategy in one project. Or install the praxis plugin, which includes it: /plugin marketplace add xD4O/praxis, then /plugin install praxis@praxis.

Does Testing strategy run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Testing strategy?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Testing strategy?

The closest alternatives to Testing strategy are TDD, TDD, Breakdown test, Property based testing and Ci.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from xD4O/praxis

  1. Walks an agent through a structured checklist before major architecture decisions

    • Open source
    • 28 GitHub stars
    • Developer tools
  2. Runs a 15-check design review on code to flag readability, safety and structure issues

    • Open source
    • 28 GitHub stars
    • Developer tools
  3. Makes the agent trace callers and data flow before editing code it does not know

    • Open source
    • 28 GitHub stars
    • Developer tools
  4. Walks an agent through a structured, weighted evaluation of alternatives before it

    • Open source
    • 28 GitHub stars
    • Productivity
  5. Forces a structured, hypothesis-driven debugging process before any code is changed

    • Open source
    • 28 GitHub stars
    • Developer tools
  6. Guides agents through modeling entities, invariants and forbidden states before schema

    • Open source
    • 28 GitHub stars
    • Developer tools