/doe:pairwise [factor=level1,level2,... ...]from doe
Generates minimal pairwise covering arrays for testing with 3+ factors having arbitrary mixed level counts. Use when Taguchi arrays don't fit and runs are expensive.
Ships in doe. 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; scripts run unread.
A pairwise covering array guarantees every combination of levels of every factor pair appears in at least one run, in close to the minimal number of runs. Any behavior driven by one factor or a two-factor interaction is guaranteed to fire somewhere in the array — that is the same trigger guarantee the taguchi arrays give, without their fixed 2-3-level shapes.
The tradeoff: covering arrays are not balanced. Levels appear unequal numbers of times, so averaging outcomes per level is not a fair comparison between factors. Use this skill to make the bug fire and to shortlist suspects; rank and confirm with balanced follow-ups.
Same rules as the taguchi skill: factors must be independently settable, every level discrete and articulable, observable-but-unsettable factors recorded as covariates. Level counts are unrestricted — that is the point of this skill.
Run the bundled generator (relative to this skill's base directory):
python3 scripts/pairwise.py "net=fast,slow,flaky,off" "browser=chrome,firefox,safari" "os=linux,macos"
It prints a markdown run sheet plus the run count against the full factorial. The output is self-verified: the script crashes rather than print an array with an uncovered pair. It restarts the greedy search from 64 seeds and keeps the shortest array — the seeds cost milliseconds, the runs they save cost CI round-trips (--restarts trades one for the other, --json emits the rows for a driver script).
Combinations that cannot be run go in as constraints, not as rows you quietly skip. Safari does not run on Linux; version X does not build against Y. Dropping such a row by hand takes its pairs down with it and the coverage guarantee is gone without a word:
python3 scripts/pairwise.py "browser=chrome,firefox,safari" "os=linux,macos" "net=fast,slow" \
--exclude "browser=safari & os=linux"
Excluded rows are never generated, pairs that no legal row can contain leave the target set, and everything still reachable stays covered.
Present the sheet with concrete values and execute like the taguchi skill's run plan (randomize order under environment drift; for flaky bugs repeat the whole array N times, N ≥ ln(0.05)/ln(1−p) from the observed repro probability p).
Because the array is unbalanced, skip level means. Work from the failing rows directly:
Same discipline as the taguchi skill: an accusation run (suspect levels on an otherwise-innocent config, must fail) and an acquittal run (a failing row with the suspect moved to an innocent level, must pass). If the shortlist has 2-3 suspect factors and the pattern is unclear, run their full factorial, or re-encode just the suspects at 2-3 levels and hand them to the taguchi skill for a balanced ranking pass.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/shrinkFind the guilty few among many boolean suspects with group testing (split-half, delta debugging) instead of toggling one thing at a time. TRIGGER — invoke when 8+ independently toggleable suspects (feature flags, config lines, env-var deltas, patches, plugins, extensions, imports) hide an expected single culprit or small set and each run is expensive; the moment the plan looks like "disable them one by one" this replaces it. DO NOT TRIGGER for ranking several contributing factors (use the taguchi skill), for ordered history (git bisect does this natively), for suspects that cannot be toggled independently, or for cheap runs./taguchiPlan a minimal set of debugging or testing runs with a Taguchi orthogonal array instead of changing one factor at a time. TRIGGER — invoke proactively whenever a debugging, tuning, or repro plan involves 3+ independent candidate factors (flags, versions, environments, config values) and each run is expensive (slow build, CI round-trip, flaky repro, hardware cycle); the moment the plan starts to look like "try A, then B, then A+B" this skill replaces it. Also on explicit ask - "taguchi", "orthogonal array", "DOE", "design of experiments", "plan the runs", "reduce iterations". DO NOT TRIGGER for a single suspected factor (bisect it), runs cheap enough to brute-force the full factorial, factors that cannot be set independently, or pure code-reading investigation with no experiment loop.npx claudepluginhub lexfrei/ccc --plugin doeOther plugins' skills for the same job