Testing strategies

From akillness/jeo-skills · View interactive version

Testing strategies is an AI agent skill from the GitHub repository akillness/jeo-skills. Turn test-policy ambiguity into one packet-first validation brief. Use when the main job is deciding which gate is actually being shaped (merge, release, or scheduled), what evidence a change needs, how flaky or expensive suites should be handled, and whether the next owner is `backend-testing`, `de

How to use this skill

Skill file

Testing Strategies

Use this skill when the main question is "what validation packet do we trust, what confidence level do we actually need, and what should the team do next?"

The job is not to dump a generic pyramid/trophy manifesto or write test code.

The job is to:

  1. normalize the current policy packet,
  2. name which gate is actually being decided,
  3. choose one primary policy mode,
  4. name the smallest convincing layer mix,
  5. separate local / PR / release / scheduled expectations,
  6. state exception and flake rules honestly,
  7. route implementation, debugging, release execution, accessibility, game launch, or performance work out immediately.

Read references/intake-packets-and-route-outs.md before handling an unfamiliar policy packet.

Read references/gate-truth-and-release-handovers.md when the ambiguity is really about branch blockers vs release-only or platform-launch proof.

Read references/validation-matrix.md when choosing the minimum convincing layer mix.

Read references/handoff-boundaries.md when deciding whether testing-strategies, backend-testing, debugging, code-review, performance-optimization, or web-accessibility should own the next step.

When to use this skill

When not to use this skill

Instructions

Step 1: Start from the policy packet already in hand

Use references/intake-packets-and-route-outs.md.

Normalize the current packet into one of these shapes:

Capture the minimum useful frame:

Packet: change-risk-packet
Change type: API contract + DB migration
Hotspots: compatibility, migration safety, permissions
Decision point: PR + release
Current evidence: unit tests only

Rule: start from the packet the user already has. Do not demand an ideal QA template before doing useful work.

Step 2: Name the gate truth before choosing layers

Say which decision point is real right now:

Rules:

Step 3: Choose one primary policy mode

Pick exactly one primary mode:

Optional: name one secondary mode, but do not flatten every testing conversation into the same checklist.

Step 4: Classify the risk tier and critical path

Use a small risk model:

Capture:

If the change spans multiple tiers, plan for the highest one.

Step 5: Choose the smallest convincing layer mix

Use references/validation-matrix.md.

Default layer choices:

Always say both:

Examples:

Step 6: Separate local, PR, release, and scheduled expectations

A useful policy brief does not pretend one suite fits every loop.

Define the smallest truthful gate split:

Rules of thumb:

Step 7: Write explicit exception and flake rules

This step is where strategy becomes operational.

State:

Good defaults:

Step 8: Route the next owner immediately

This skill owns policy and confidence decisions, not all downstream work.

Typical route-outs:

If the user asks “what should we test?” stay here.

If they ask “how do we write or stabilize those tests?” route out.

Step 9: Produce one concise validation brief

Preferred format:

# Validation Strategy Brief

## Policy packet
- Packet:
- Gate truth:
- Primary mode:
- Risk tier:
- Decision point:

## Required validation now
1. [Layer] ... because ...
2. [Layer] ... because ...
3. [Manual / release check] ... because ...

## Gate split
- Local:
- PR:
- Release:
- Scheduled:

## Out of scope for now
- ...

## Exception / flake policy
- ...

## Next owner
- `backend-testing` / `debugging` / `code-review` / other

A short, explicit brief beats a giant testing manifesto.

If the honest answer is “do less, but at the right layer,” say that directly.

Output format

Always return a validation strategy brief, gate-shaping memo, or regression-ratchet brief.

Required qualities:

Examples

Example 1: API + migration packet

Input

This PR changes an API contract and adds a DB migration. What validation should be required before merge?

Output sketch

1. integration test for migration read/write path

2. contract/API check for response compatibility

3. release smoke on the highest-value consumer path

Example 2: Flaky browser suite packet

Input

Our Playwright suite is slow and keeps flaking. What testing strategy should this repo adopt?

Output sketch

1. narrow PR browser coverage to critical journeys only

2. move broader combinations to scheduled runs

3. define quarantine/fix rules for repeated flake

4. shift confidence to lower-level integration/component checks where honest

Example 3: Release-readiness packet

Input

Engineering says tests are green, but should we require anything else before this release?

Output sketch

1. targeted staging smoke for the changed customer journey

2. migration / rollback checklist item if deploy shape changed

3. explicit note that no new broad regression sweep is required beyond scheduled coverage

Example 4: Game launch checklist packet

Input

Our build passed CI, but we still have Steam release checklist items and packaging work. Does this stay here?

Output sketch

Best practices

  1. Start from the packet already in hand, not from a favorite testing slogan.
  2. Prefer the cheapest layer that still proves the risky behavior.
  3. Keep local, PR, release, and scheduled loops distinct.
  4. Treat flaky tests as a policy smell, not just a rerun inconvenience.
  5. Tie release checklists back to actual risk instead of treating them as a separate universe.
  6. State intentional exclusions so residual risk is visible.
  7. Use escaped bugs to ratchet in the lowest-layer regression that would have caught them.
  8. Make merge blockers, release-only proof, and scheduled breadth explicit instead of blending them together.
  9. Route implementation to backend-testing, diagnosis to debugging, rollout execution to deployment-automation, platform/game launch work to steam-store-launch-ops or game-ci-cd-pipeline, and accessibility-heavy validation to web-accessibility.
  10. Use manual validation when it is the honest answer, not as a shameful fallback.
  11. One concise validation brief is more reusable than a giant testing manifesto.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.