/ronce-racine:comprehensive-test-strategyfrom Ronce Racine
Defines or audits a project's test strategy: builds a risk-based coverage matrix, chooses test pyramid split, and prioritizes what to test first. Outputs a matrix and ordered plan, not test code.
Ships in Ronce Racine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If the current repo has a project-specific test-strategy skill, it wins - it knows the surfaces, the commands and the project's tracker.
writing-robust-tests instead if: the target is one specific file whose tests must be written/hardened (ISTQB design, page object, proof of failure).superpowers:test-driven-development instead if: the code does not exist yet (test first, red-green loop on a feature).writing-robust-tests or TDD.package.json / Cargo.toml / Makefile / pyproject.toml / CI config.*.spec.*, *.test.*, tests/ folders), read a neighbour to copy its conventions.Covered (existing test) / Partial (exists but misses cases) / Absent. Produce the Surface · Priority · Level · State · Action report.writing-robust-tests (existing code) or the TDD flow (code to write). This skill does not descend to the file level.Copy-paste checklist:
- [ ] Surfaces mapped (one matrix row each)
- [ ] Each surface classified P0/P1/P2 by risk
- [ ] Test level chosen and justified (70/20/10 pyramid)
- [ ] Gap analysis: Covered / Partial / Absent per surface
- [ ] Ordered plan P0 → P1 → P2, tickets created for the absent ones
- [ ] Surfaces delegated to the right skill (writing-robust-tests / TDD)
Coverage matrix (header to fill in):
| Surface | Level | Framework | Priority | State | Action |
|---|---|---|---|---|---|
| Authentication (login/logout/refresh) | E2E + contract | (to fill in) | P0 | Partial | complete refresh |
| Isolation between organizations/tenants | integration + E2E | (to fill in) | P0 | Absent | create |
| API endpoint contract | snapshot/contract | (to fill in) | P0/P1 | … | … |
| Form validation (client + server) | unit + E2E | (to fill in) | P1 | … | … |
| Error pages (non-existent ID, resource of another tenant) | E2E | (to fill in) | P1 | … | … |
| Business invariants | unit | (to fill in) | P1 | … | … |
| Lists (sort/filter/pagination/empty state) | unit + E2E | (to fill in) | P2 | … | … |
Expected output (final summary):
Matrix : X surfaces identified
Risk : a P0 | b P1 | c P2
Gaps : Y absent | Z partial
Plan : N P0 tests to create (blocking), M P1 tests
Tickets: <list of follow-up tickets created>
| Excuse | Reality |
|---|---|
| "We test everything the same, we'll figure out the order later" | Without risk prioritization the budget drains into cosmetics while tenant isolation stays bare. P0 first, always. |
| "Let's do everything in E2E, it's the most realistic" | E2E = slow, fragile, expensive. The majority must be unit. An E2E that could have been a contract test is waste. |
| "Coverage is at 85%, so it's covered" | The % does not tell you whether the risky path is exercised. A test that does not break when you break the code covers nothing. |
| "We mock the whole API to make it stable" | An E2E with a fully-mocked API becomes a UI test: it will never catch a backend contract break. |
| "No time to map, I'm starting to write" | Without a matrix you test what is easy, not what is risky. The map is the output, not a preamble. |
reference/testing-advanced.md - advanced techniques loaded on demand: quality gates, mutation testing, fuzzing, API snapshots, UAT, pyramid detail. Read it when the strategy must rely on automated safeguards.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub charierefiedler/ronce-racine --plugin ronce-racine37 skills in this plugin
/adversarial-feature-challengeUse when a feature is "done" and needs adversarial stress-testing before shipping - "is it really ready", "est-ce vraiment prêt", "find the bugs", "trouve les bugs", "red team", before closing a ticket whose only validation is the golden path passing./api-contract-versioningUse when modifying an API endpoint, schema or contract consumed elsewhere - renaming/removing/restructuring a request or response field, pagination or envelope change, "field X must become", "le champ X doit devenir", introducing a breaking change, versioning an API, or deprecating a field/route. Covers REST, GraphQL and gRPC alike./audit-architectureOther plugins' skills for the same job