variant-component SKILL.md skillA

variant-component from yuqingnicole/variant-design-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yuqingnicole/variant-design-skill/variant-component@git:20261005.4992c34

Pins git:20261005.4992c34 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yuqingnicole/variant-design-skill
Path
skills/variant-component/SKILL.md
Versions recorded
3
Latest version
git:20261005.4992c34, committed Oct 5, 2026
First version recorded
May 28, 2026
Size
4,665 bytes
Repository stars
47
License
MIT

Generate isolated UI components with all 8 states and variants — button systems, forms, cards, modals, nav. Design System-aware when a token set is confirmed. Load skills/shared/code-output.md for framework detection and output conventions. Triggers on: component, button system, form component, card component, modal, navigation component, design a button, input components, component library.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> Before generating code, load `skills/shared/code-output.md` for framework detection and `references/quality-baseline.md` for verification.

## Component Mode

When the user asks for a **component** rather than a full page, switch to Component Mode. Generates isolated, self-contained UI pieces — not full layouts.

### Triggers

| User says | Action |
|---|---|
| "design a button system" / "button variants" | Button component set: all sizes, all states |
| "design a form" / "input components" | Form component set: inputs, selects, errors, validation |
| "card component" / "design a card" | Card variants: default, hover, selected, loading, empty |
| "modal" / "dialog component" | Modal with header, body, footer, dismiss, focus trap |
| "design a [X] component" | Single component, all 8 interactive states |
| "component library" / "design system components" | Set of 5–8 related components as a unified system |
| "nav component" / "sidebar component" | Navigation piece with all states and responsive behavior |

### Component Mode Workflow

**Step 1: Clarify scope** — single component or a system of related components?
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yuqingnicole/variant-design-skill/variant-component@sha256:2d63c22a75878e0b

The line at the top of this page pins the label git:20261005.4992c34, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xnnawgqzaieezxcl.svg)](https://markdownregistry.com/a/art_xnnawgqzaieezxcl)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 28, 2026 and Oct 5, 2026, about one every 65 days.

versioncommittedcommitsizeaudit
git:20261005.4992c34 latest2026-10-05 4992c34 4,665 BA view · diff
git:20260927.f9d8d402026-09-27 f9d8d40 4,663 BA view · diff
git:20260528.1bcced92026-05-28 1bcced9 4,448 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4665 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yuqingnicole/variant-design-skill · 47 stars · license MIT · pushed 2026-10-10 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_xnnawgqzaieezxcl
GET https://markdownregistry.com/api/v1/resolve?ref=yuqingnicole/variant-design-skill/variant-component
GET https://markdownregistry.com/api/v1/blob/2d63c22a75878e0b88e0ed6aa1b0650194a895503f45b8f3a73fab2007bd9c85

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yuqingnicole/variant-design-skill

variant-design SKILL.md skill
yuqingnicole/variant-design-skill · SKILL.md · Create, vary, review, or extend product interfaces. Routes design generation, design systems, components, existing-site…
git:20261010.f6ae153 · audit A · 47 stars
variant-analyze SKILL.md skill
yuqingnicole/variant-design-skill · skills/variant-analyze/SKILL.md · Audit existing sites, extract design tokens, generate style-matched pages. Runs consistency checks and Visual Quality…
git:20261005.4992c34 · audit A · 47 stars
variant-design-system SKILL.md skill
yuqingnicole/variant-design-skill · skills/variant-design-system/SKILL.md · Design System mode — tokens → components → pages three-layer workflow. Generate a complete token set…
git:20261005.4992c34 · audit A · 47 stars
variant-generate SKILL.md skill
yuqingnicole/variant-design-skill · skills/variant-generate/SKILL.md · Generate 3 distinct design variations from a prompt. Each variation expresses a distinct product trade-off; locked…
git:20261007.c2c0736 · audit A · 47 stars
variant-ux SKILL.md skill
yuqingnicole/variant-design-skill · skills/variant-ux/SKILL.md · UX Review mode — heuristic evaluation (Nielsen's 10), cognitive load analysis, mental model diagnosis, affordance…
git:20261005.4992c34 · audit A · 47 stars

Every file in yuqingnicole/variant-design-skill

Browse by kind, by grade A, or by owner.