/jonhill90-skills:decide-by-variantfrom jonhill90-skills
Builds several genuinely different real artifacts in the real medium with fake data, letting the human pick by looking instead of asking taste decisions in prose. Use for unresolved aesthetic or preference calls.
Ships in jonhill90-skills. 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.
None: SKILL.md is the whole skill.
"If you have questions just make an example section so I can cycle through things."
A taste decision asked in prose costs the human two minutes of imagining what you mean, and returns an answer vague enough that you then over-interpret it. The same decision shown as two or three real, different artifacts costs two seconds per option and returns a pointed finger. Never ask in prose what a variant could answer instead — that is the whole rule; everything below is mechanism for doing it well.
Do not reach for this when the answer is already known. Run determine-intent
first — if the human already specified the answer, stated it as a standing
preference, or it is a known parameter recorded somewhere, building variants
to re-ask a settled question wastes the artifact and the human's attention on
both ends. Variants are for genuine, unresolved taste calls, not a ritual
performed before every decision.
A variant set that fails any one of these has quietly turned back into the prose question it was supposed to replace.
Three shades of the same layout is one option shown three times. Before building, check: would all the options survive the same objection? If a single complaint ("too dense," "too formal," "wrong scope") kills every variant at once, they are not variants — they are one idea with cosmetic knobs. Pick axes that actually diverge: not "spacing A/B/C" but "a table," "a stream," "a tree." If you cannot state what distinct bet each option is making, you have not built variants yet.
A paragraph describing a layout is the prose question this skill exists to replace, just moved one level down. Build the thing — render it, run it, generate the file — so the human looks at output, not at your description of output. If producing a real artifact for every option is expensive, that expense is information: either the decision does not warrant this many options, or the seam that would make variation cheap does not exist yet (see "Fake state, not medium" below).
A page, a gallery, a numbered set, a tab-through picker — anything that
lets one glance land on one option and the next glance land on the next.
Sending four files across four separate messages is not cycling; the human
loses the option they saw three messages ago. Put the options where
attention can move linearly across all of them in one sitting.
Rejection happens on implication as often as on appearance — a name that implies the wrong product scope, a layout that implies the wrong information density, a default that implies a different failure mode is common. Label each option with the one-line consequence it commits to, next to the artifact itself: not "option 2: a tree view" but "option 2: a tree view — implies nesting is the primary way people will navigate this, not search." An artifact without its implication stated makes the human reconstruct the implication themselves, which is exactly the inference cost this skill is supposed to remove.
Vary one dimension per variant set. Cycling three dimensions at once — is this about the glyph, the layout, or the density? — turns a picker into a maze where no answer is clean, because a rejected option might have been rejected for any of the three reasons. If a decision genuinely has two independent axes, build two separate variant sets and let the human answer them in sequence, not one set trying to carry both.
The human should be able to say nothing and still get something sane. A variant set is for surfacing preference, not for forcing a decision nobody has made yet — if the picker is ignored, the artifact still has to work. Pick the default before showing the set, and make it whichever variant you would ship if no one ever answered.
Jon asked, on a real decision, whether to mock a terminal UI in HTML first — iterate on look and feel there, then build the real thing. The instinct (build something to look at before committing) is right; the medium is wrong.
HTML lies about the medium. A terminal is a fixed grid of monospace cells: no subpixel positioning, no arbitrary fonts, no shadows, no rounded corners, no smooth animation. An HTML mock locks in a look the terminal cannot render, and the cuts a real build has to make land exactly on the polish the mock was used to specify. The human picks an HTML variant, then watches the thing they picked get worse with every constraint the terminal imposes that HTML never had.
The fix is not "less mocking," it's "mock the state, not the surface."
Build the real thing — same renderer, same font, same colour depth, same
wrapping — and hand it throwaway, hardcoded fake state instead of a live
connection. This is proven, not theoretical: --gallery renders every lane
state against every glyph set with no supervisor connection at all. Point
the same pattern at a rail, a board, an API response shape, a log line — the
renderer is real, the data feeding it is invented.
This is also the cheaper path. The expensive parts of an app are usually the plumbing — live data, network wiring, embedding in another process — not rendering. A rail with six invented lane states is hours of work; an HTML mock plus the real build afterward is both those hours and the mock's, and still ends with the same cuts landing on the same polish.
Invented state must still be honest state. Fake data that only covers the three rows that look good measures nothing but the happy path — a variant that cannot render the rare or ugly case (empty, overflowing, erroring, all-selected) is not a candidate, it is a demo. Enumerate the real states before inventing fake instances of them, so the picker is choosing between artifacts that will hold up, not artifacts staged to flatter one option.
The general rule: prefer a real artifact in the real medium with fake data over a faithful mock built in the wrong medium. The medium is what determines what the human is actually approving; the data is the cheap part to substitute.
This only pays off if adding a variant costs a line, not a rewrite. If a variant turns out to be expensive to add or remove, that expense is the finding — the seam sits in the wrong place, a variant should be data behind an interface, not a forked code path. Report that instead of working around it; a picker that is expensive to extend is quietly measuring how modular the underlying code is every time it gets used.
For terminal work specifically, two of Charm's own tools make a variant lookable-at without attaching to anything live:
freeze — renders a terminal's output to a static SVG or PNG. Good
for a numbered gallery of options a human scans in one image viewer or
one doc.vhs — runs a scripted terminal session and records it to a GIF.
Good when the variant is a behavior over time (an animation, a
transition, a multi-step flow) rather than a single frame.Neither requires the live system the real artifact will eventually connect to — which is what makes cycling through several possible.
Once the human picks, write down which option and why in the same place the decision lives (a commit message, a PR description, a doc) — not just the selection, but the implication it confirmed or rejected. An unrecorded choice gets re-litigated the next time someone hits a similar decision and doesn't know it was already settled.
ask-a-council. A council gets different positions from agents
reviewing the same artifact, each through a different lens, to decide
whether something holds up. This skill gets a decision from the human,
by showing them artifacts to look at. Different subject (agents vs. the
human), different question (does this hold up vs. which do you prefer).determine-intent. That skill runs first, and answers whether
variants are even needed — it works out what the human already specified.
If the answer to a decision is already a known parameter, determine-intent
should catch that and this skill should not run at all. Only build
variants for what is genuinely still open.devils-advocate. That skill attacks a conclusion already
reached, before it is committed to. Variants precede a conclusion — they
are how one gets reached in the first place. Once the human has picked
from a variant set, devils-advocate can stress-test the pick; it does
not replace building the set.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jonhill90/skills --plugin jonhill90-skills44 skills in this plugin
/adopt-or-buildDecide, per component, whether to adopt an existing name, dependency, library, or tool or build it in-house, weighing blast radius over convenience. Use at the point a name or dependency is about to be chosen or recommended — before it is proposed, not after. Not for finding a technology's capability ceiling (research-the-limit), not the mechanism for genuinely different reviewer lenses (ask-a-council, which this skill may call), and not a substitute for attacking the chosen answer (devils-advocate, which this skill invokes as its final step)./ask-a-councilConvene several harnesses or models against one question, each doing a distinct job it can fail at — different evidence, a different objective, or a withheld conclusion — before an artifact becomes load-bearing and being wrong is expensive. Diversity comes from what each reviewer is given, never from a character it plays. Use when the failure modes genuinely differ in kind — a single reviewer's prompt would only catch what its own lens looks for. Not for a question a cheap deterministic check settles (run the check first); not for one reviewer's prompt (sanity-check owns that); not for dispatch mechanics or isolation boundaries (dispatching-subagents owns those); not for trusting a verdict already returned (verify-the-instrument owns that).