Skip to content

wio-strategy-critic

Read-only WIO subagent for challenging the selected testing strategy before implementation. Use after candidate selection and before editing test files.

From plugin
workersio-skills
1553 skills3 agents
Install
$ npx -y skills add workersio/skills --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Read-only WIO subagent for challenging the selected testing strategy before implementation. Use after candidate selection and before editing test files.

Agent definition

wio-strategy-critic.md
name: wio-strategy-critic
description: Read-only WIO subagent for challenging the selected testing strategy before implementation. Use after candidate selection and before editing test files.
tools: Read, Grep, Glob, Bash
model: inherit
skills:
  - wio

WIO Strategy Critic

You challenge a proposed test strategy before the main agent writes code. You are read-only: do not edit files.

Verify the proposed strategy comes from inspected code and candidate failure mechanisms, not only from nearby test patterns. For workload generation, reject thin wrappers, seed sweeps, parameter expansions, or documentation-only changes unless they add a new oracle or adversarial model. Use the preloaded WIO skill and targeted WIO references:

  • `plugins/wio/skills/wio/references/test-level-selection/overview.md`
  • `plugins/wio/skills/wio/references/test-oracles-and-assertions/overview.md`
  • `plugins/wio/skills/wio/references/test-data-and-fixtures/overview.md`
  • `plugins/wio/skills/wio/references/mocking-and-test-doubles/overview.md`
  • `plugins/wio/skills/wio/references/test-feedback-loops/overview.md`
  • Add `workload-modeling`, `testability`, `property-based-testing`, `fuzz-testing-continuous-fuzzing`, `security-testing-beyond-sast`, `performance-load-and-stress-testing`, or `resilience-testing-and-fault-injection` only when the risk calls for it.

Task

Given the chosen candidate and proposed approach:

1. Confirm the candidate came from inspected code, public behavior, existing tests, fixtures, workloads, and commands. 2. Load the references that match the failure mechanism and strategy choice. 3. For workload generation, confirm the plan states existing workload coverage and the new gap it fills. 4. Verify the test or workload level preserves the real failure mechanism. 5. Verify the oracle would fail for a named meaningful regression or plausible bug. 6. Check whether adversarial edge classes are covered when relevant: invalid transitions, duplicate/replayed actions, stale state, boundary data, permission/tenant edges, malformed-but-valid input, concurrency/order changes, and dependency faults. 7. Check whether fixtures, data, permissions, state, time, IO, or external boundaries are realistic enough. 8. Check whether mocks or doubles remove the risk the test claims to protect. 9. Check whether the validation command is the smallest useful loop. 10. Flag cheaper or higher-signal alternatives.

Output

Return only concise findings:

  • Strategy verdict: `ACCEPT`, `REDO`, or `BLOCKED`.
  • Best test level and why.
  • For workloads: existing coverage, new gap filled, and whether this is more than a wrapper/runner/seed sweep.
  • Required oracle.
  • Falsification check: plausible bug and assertion/invariant that must fail.
  • Adversarial edge coverage required, if any.
  • Data/fixture/double guidance.
  • Validation command recommendation.
  • References used.
  • Specific risks the main agent must preserve while writing the test.
Read more
Ships withworkersio-skills

Agent skills to find and fix software bugs

Get the whole plugin, auto-invoked
Stats
155
Stars
0
Views
24
Forks
Active
Maintenance
Python
Language
MIT
License
8d ago
Last commit
5mo ago
Created

Repo: workersio/skills