variant
Skill by jakubkrehel
Builds three UI variants of one component on the real page, with a picker to flip between them. It is for developers and designers who want to compare UI directions before choosing one. It does not rank the candidates.
Install variant
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jakubkrehel/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/variant ~/.claude/skills/variantRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jakubkrehel/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/variant ~/.gemini/antigravity-cli/skills/variantAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The variant skill takes one described piece of UI and builds three versions that differ on purpose. Each variant is a different answer to the same brief on one primary axis, such as structure, density, emphasis, type or voice. Every variant must clear the same accessibility floor, drawn from the better-interface escalation triggers, before it enters the picker.
The variants are hosted on the page that will contain the piece, with real chrome, neighbouring components and realistic data. A picker selected by a URL search param such as ?__variant=quiet lets you view one variant at a time at full size. The skill presents tradeoffs without marking a favourite, then promotes the chosen variant and removes the harness. It suits developers and designers comparing UI directions for a single component.
Written from the project's SKILL.md and checked against it.
What it can do
- Variant axis planningSets three variants with different positions on one primary axis, named by direction.
- Picker hostingHosts variants on the real page, selected by a URL search param such as ?__variant.
- Accessibility floorChecks every variant against the same accessibility triggers before it enters the picker.
- Tradeoff presentationPresents a table of axis position, when each variant is right, and its costs.
- Promotion and cleanupBuilds the chosen variant properly and removes the other variants and the picker.
Try asking
- Build three variants of my pricing card and let me flip between them.
- Use the variant skill to explore layout options for our settings page header.
- Promote the Quiet variant and remove the picker and other variants.
Good to know
- Does not rank or recommend a favourite variant.
- Builds three variants by default and five only when asked.
- Needs a browser to check the page; without one, the user checks the URL.
- Works on one piece of UI per run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/variant/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml152 B -
picker.md7 KB
Alternatives to variant
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
variant: common questions
How many variants does the variant skill build?
It builds three variants by default and goes to five only when asked. Each variant takes a different position on one primary axis.
Does the variant skill pick a winning design?
No. The skill says it produces candidates and never ranks them. It presents tradeoffs and leaves the decision to you.
Where are the variants shown?
They are shown on the page that will actually contain the piece, using the real chrome, neighbours and realistic data. A picker lets you switch between them one at a time.
How do I install variant?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is variant free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is variant safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to variant?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
