SkillsReviewed · jakubkrehel

Variant

Variant is an AI coding skill for developers comparing designs for one UI component, but it leaves the final choice to the user. It directs an assistant to build three alternatives along one design axis, display them through a URL-controlled picker on the real page, and remove the comparison code after a choice.

Researched 16 Nov 2026

In short.

Variant is an AI coding skill for developers and designers exploring alternatives for one UI component, but its instructions require implementation and leave the decision to the user. It specifies three candidates by default, varied along one primary axis such as density or typography, with full-size comparison in the actual page. The folder supplies instructions, assistant metadata and reference HTML/CSS; URL handling, keyboard behavior and project integration still need to be implemented. Runtime behavior, generated design quality and accessibility conformance are unverified because nothing was run.

Researched and written by an AI model and checked by a second AI model. How it works

Covers skills/variant/SKILL.md, skills/variant/picker.md and skills/variant/agents/openai.yaml, plus the repository-root LICENSE, at revision 6c2120103600407a1a9986afd834e73144ef8998. The remaining repository, including referenced sibling skills, is outside this coverage. Installation, generated implementations, browser rendering, interactions, accessibility conformance and cleanup were not executed or verified.

The overview

Identity

Variant is the skill named variant in Jakub Krehel's skills repository, published at [https://github.com/jakubkrehel/skills/tree/main/skills/variant]. Its folder contains SKILL.md, picker.md and agents/openai.yaml.

SKILL.md defines the design process, picker.md specifies the comparison controls, and agents/openai.yaml supplies the display name Variant and invocation policy. These files describe instructions for a coding assistant, with reference markup and styles.

Assessment

Variant is a useful fit when a team has a specific component to explore and wants alternatives that can be compared in context. Its strongest feature is a concrete comparison process: define one axis, build distinct positions on that axis, show realistic content at full size, and describe each candidate's tradeoffs.

The main burden is implementation. The assistant must adapt the instructions to the project, implement the picker behavior and clean up after selection. The files provide no evidence that generated candidates consistently satisfy the stated requirements.

Users

The intended users are frontend developers and designers working with a coding assistant on a component such as a metric card. The skill limits each run to one piece of UI; a request covering a whole dashboard requires choosing which piece to explore.

Beginners get a structured way to compare design directions, but still need help connecting the skill to an assistant and reviewing generated code. Experienced developers get specific rules for project conventions, temporary imports, responsive controls and cleanup.

Capabilities

The skill directs the assistant to create three variants by default, or five when requested. The primary axis can be structure, density, emphasis, typography or voice. Each candidate must occupy a distinct position, with secondary choices supporting that direction.

It specifies realistic content, comparison within the actual containing page, shareable variant URLs and a tradeoff explanation. If no page can host the component, it permits one self-contained HTML file with the same picker.

After a choice, it directs the assistant to integrate the chosen version using project conventions and delete the remaining variants and comparison controls. Another exploration round keeps the controls and defines new positions around the preferred direction.

Using it

Requirements

Practical use requires a coding assistant that can load these instructions and create or edit interface code. Project-aware use also requires access to the styling system, component library, tokens, surrounding page and representative data. No minimum assistant version, supported framework list or dependency manifest is supplied.

Every candidate is required to meet the same accessibility baseline: accessible control names, visible focus, keyboard access, reduced-motion support, appropriate contrast and usable layouts at 320px width and 200% zoom. The instructions also cover recoverable errors, accessible full values for truncated content and safeguards for destructive actions. These are requirements, not verified outcomes.

A browser is needed for the prescribed rendering, interaction and console review. The instructions allow handing the URL to the user when no browser is available.

Mechanism

The assistant first scopes the component, reads its project context and names the candidates along one primary axis. It then renders one candidate at a time at the component's actual page width. Variant files may import production components, while only the hosting page may import the variants.

The picker uses the __variant URL search parameter as its source of truth. Arrow keys move through candidates, and H hides or shows the picker. Shortcut handling must ignore modified or already-handled events and events from editable controls. The active button uses aria-pressed, and groups have accessible labels.

A dark, system-font picker stays visually separate from the product. A container query switches between a sticky side list and a select above the component; both controls remain rendered. The reference layout budgets 232px for the list and gap, plus the component's production width, giving an 876px breakpoint for the example 644px component.

Setup

Obtain the folder at the documented revision from [https://github.com/jakubkrehel/skills/tree/6c2120103600407a1a9986afd834e73144ef8998/skills/variant]. Keep picker.md alongside SKILL.md, retain agents/openai.yaml in its subdirectory, and preserve the accompanying repository LICENSE.

The files provide no installation command or host-specific installation directory. Follow the chosen assistant's skill-loading instructions. SKILL.md sets disable-model-invocation to true, and the assistant metadata sets allow_implicit_invocation to false, indicating that explicit invocation is intended; the exact invocation syntax is unspecified.

Example

An illustrative use would be exploring the density of an account metric card on an existing dashboard. The assistant could define Compact, Balanced and Spacious candidates, use the dashboard's actual item count and copy, and keep the surrounding navigation visible.

Each candidate would be selectable through the __variant parameter and the responsive picker. The comparison would explain how much information each layout fits and what space it consumes. After the user chooses one, the assistant would integrate it and remove the temporary controls and unused candidates. This is a hypothetical application, not an observed result.

Assessment & evidence

Limitations

Variant handles one component at a time and normally presents candidates without ranking them. When directly asked for a preference, its instructions call for advice based on usage frequency and product personality. Existing-interface review, stress testing and state coverage are assigned to other named skills.

The folder contains reference HTML/CSS but no JavaScript implementation of URL synchronization or keyboard switching. Framework integration, interaction behavior and cleanup depend on the assistant's implementation.

The accessibility baseline does not demonstrate accessibility conformance. Browser compatibility, shortcut conflicts, responsive rendering, console behavior and the quality of generated alternatives remain unverified.

Reasoning

The design rationale is to make tradeoffs understandable by varying one primary dimension. Keeping content, context and accessibility requirements consistent gives the user a clearer basis for comparing density, emphasis or another chosen axis.

Full-size rendering beside real page content is intended to expose spacing and layout consequences that thumbnails or empty demonstration routes can hide. Separating the picker visually from the product helps distinguish comparison controls from the design being judged. These are stated design principles; their effect on decision quality has not been measured.

Alternatives

SKILL.md points to interface-review and better-interface for reviewing existing UI, break for stress testing a component, and state-machine for working through its states. These are adjacent tasks that may fit a user who needs evaluation or state coverage.

It also associates layout and density with better-layout, emphasis with better-colors, typography with better-typography, and voice with better-writing. Those sibling resources are outside the supplied folder. Their contents, installation requirements and comparative effectiveness were not assessed, and the references do not establish that installing them is mandatory.

Evidence

The available source consists of the complete three-file Variant folder and the accompanying repository LICENSE at commit 6c2120103600407a1a9986afd834e73144ef8998. The main instructions are available at [https://raw.githubusercontent.com/jakubkrehel/skills/6c2120103600407a1a9986afd834e73144ef8998/skills/variant/SKILL.md].

The files establish the intended process, picker specification, invocation metadata and licence terms. They provide no observed generated interfaces, benchmark results or runtime measurements. Nothing was installed or run, so practical behavior and output quality are unverified.

Access & freshness

Costs

The supplied files contain no assistant pricing, token usage, execution-time measurements or compute requirements. Total operating cost is unknown and depends on the assistant, model and project work involved.

The MIT licence permits use without a stated licence fee. Building several implementations, implementing the picker and removing it after selection also require development effort; that effort has not been measured.

Rights

The accompanying repository LICENSE is the MIT License, copyright 2026 Jakub Krehel. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions.

The licence disclaims warranties and liability. Redistributing the skill files requires retaining the applicable notices. These terms do not establish the rights to a user's project assets or generated interface content.

Freshness

The source snapshot was captured on 16 November 2026 at 15:34:25.010 UTC and identifies commit 6c2120103600407a1a9986afd834e73144ef8998. No semantic version is supplied in the folder.

These findings describe that revision. Whether the main branch has changed since capture, and whether later assistant versions interpret the metadata identically, is unknown.

Actions

Start with one clearly bounded component and name the decision you want to explore, such as fitting more information or reducing visual emphasis. Provide representative content and the actual page context. Confirm that your assistant recognizes the skill and can implement the behavior described in picker.md.

Review every generated candidate at relevant widths, including keyboard interaction, reduced motion, focus visibility and error recovery. Compare the tradeoffs before choosing. After promotion, inspect the changes and search for unused variant names, temporary imports and the __variant parameter to confirm cleanup.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/variant/SKILL.mdselected · checked 2026-11-16
skills/variant/agents/openai.yamlselected · checked 2026-11-16
skills/variant/picker.mdselected · checked 2026-11-16