Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/webdevtodayjason/titanium-pluginsnpx agentmods add skills/webdevtodayjason/titanium-plugins/testing-strategyWrote 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.
[](https://agentmods.dev/skills/webdevtodayjason/titanium-plugins/testing-strategy)<a href="https://agentmods.dev/skills/webdevtodayjason/titanium-plugins/testing-strategy"><img src="https://agentmods.dev/badge/skills/webdevtodayjason/titanium-plugins/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.
<a href="https://agentmods.dev/skills/webdevtodayjason/titanium-plugins/testing-strategy"><img src="https://agentmods.dev/badge/skills/webdevtodayjason/titanium-plugins/testing-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.05360 |
| Opus 5.5 | $0.00020 | $0.02144 |
| Sonnet 5.5 | $0.00010 | $0.01072 |
| Haiku 4.5 | $0.00005 | $0.00536 |
Grade A, and why
testing-strategy scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
(axios.get as jest.Mock).mockResolvedValue({ data: mockData }); How it starts
The opening of the file, as written. The whole thing — 910 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Strategy
This skill provides comprehensive guidance for implementing effective testing strategies across your entire application stack.
Test Pyramid
The Testing Hierarchy
/\
/ \
/E2E \ 10% - End-to-End Tests (slowest, most expensive)
/______\
/ \
/Integration\ 20% - Integration Tests (medium speed/cost)
/____________\
/ \
/ Unit Tests \ 70% - Unit Tests (fast, cheap, focused)
/__________________\
Rationale:
- 70% Unit Tests: Fast, isolated, catch bugs early
- 20% Integration Tests: Test component interactions
- 10% E2E Tests: Test critical user journeys
Why This Distribution?
Unit tests are cheap:
- Run in milliseconds
- No external dependencies
- Easy to debug
- High code coverage per test
Integration tests are moderate:
- Test real interactions
- Catch integration bugs
- Slower than unit tests
- More complex setup
E2E tests are expensive:
- Test entire system
- Catch UX issues
- Very slow (seconds/minutes)
- Brittle and hard to maintain
TDD (Test-Driven Development)
Red-Green-Refactor Cycle
1. Red - Write a failing test:
describe('Calculator', () => {
test('adds two numbers', () => {
const calculator = new Calculator();
expect(calculator.add(2, 3)).toBe(5); // FAILS - method doesn't exist
});
});
2. Green - Write minimal code to pass:
class Calculator {
add(a: number, b: number): number {
return a + b; // Simplest implementation
}
}
// Test now PASSES
3. Refactor - Improve the code:
class Calculator {
add(a: number, b: number): number {
// Add validation
if (!Number.isFinite(a) || !Number.isFinite(b)) {
throw new Error('Arguments must be finite numbers');
}
return a + b;
}
}
TDD Benefits
Design benefits:
- Forces you to think about API before implementation
- Leads to more testable, modular code
- Encourages SOLID principles
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.
- 1mo ago First seen · 910 lines · 50 tokens per session scan A 279aee276423
testing-strategy is a skill published in the GitHub repository webdevtodayjason/titanium-plugins (7 stars, last pushed 8mo ago), licensed MIT. It adds 50 tokens to every session and 5,360 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
cpp-testing
Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest, diagnosing failing or flaky tests, or adding coverage/sanitizers.
rust-testing
Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.
write-vibe-tests
Write or refactor Mistral Vibe tests with proper decoupling. Use when adding behavior coverage, testing ports/adapters, replacing brittle mocks, creating fakes, adding characterization tests before refactors, or changing tests under tests/ for vibe/core, vibe/cli, vibe/acp, tools, config, sessions, skills, hooks, MCP…
composing-matchers
Build compound Gomega assertions by combining matchers — And/SatisfyAll (all pass), Or/SatisfyAny (any pass), Not (negate), WithTransform to map the actual before matching, Satisfy for an ad-hoc predicate, HaveValue to dereference pointers/interfaces, HaveField for struct fields and method results, HaveEach for every…
principle-test-behavior-not-implementation
Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.
spec-driven-tests
Rebuild a package's unit test suite around a behavior specification (SPEC.md) derived from the implementation, with every test citing a numbered rule ID. Use when asked to do a spec-driven test rebuild, write a SPEC.md for a package, repeat the state or store spec process (PRs.