Variant Design Skill
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install skilldb:yuqingnicole~variant-design-skillcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/skilldb%3Ayuqingnicole~variant-design-skill/file -o variant-design-skill.mdGit 仓库获取源码
git clone https://github.com/openclaw/skills/commit/409aee06e6d145b4148fda0bdbb54b44896b6a87--- name: variant-design description: AI-driven visual/UI design generation with Impeccable design system. Generates 3 distinct design variations from a prompt with built-in scenario materials, design system references (typography, color, spatial, motion, interaction, responsive, UX writing), and anti-AI-slop quality gates. Supports variation actions: Vary strong/subtle, Distill, Change style, Remix colors, Shuffle layout, Polish, Critique, Extract tokens, See other views. Exports to HTML or React. Triggers on: "design options for X", "show me variations", "give me UI directions", "vary this design", "distill this", "change the style", "remix colors", "shuffle layout", "polish this", "critique this", "extract tokens", "design a dashboard/landing page/app/editorial". --- # Variant Design Solve the blank canvas problem. Prompt → 3 fully-formed distinct designs → vary → export. ## About Inspired by the [Variant](https://variant.com) design community — a space where designers share divergent takes on the same brief. This skill brings that practice into Claude Code: every prompt yields three designs that feel like they came from different studios, then lets you iterate with one-word actions. Built on the **Impeccable design system** — a comprehensive set of design references covering typography, color theory, spatial design, motion, interaction patterns, responsive design, and UX writing. Every design decision is grounded in these principles. **Supports:** HTML (default) · React · 7 domain reference libraries · 27 palettes · design system references · variation actions --- ## Project Context Initialization On first use in a project, gather design context to ground all future generations. Ask the user: 1. **Users & Purpose** — Who uses this? What problem does it solve? What's the core task? 2. **Brand & Personality** — Existing brand colors? Tone (playful / serious / technical / warm)? Any sites you admire? 3. **Aesthetic Preferences** — Light or dark? Minimal or dense? Any direction from the aesthetic table you're drawn to? 4. **Constraints** — Framework requirements? Accessibility standards beyond baseline? Target devices? If the user can't answer, infer from their codebase: scan for existing color variables, font imports, component patterns, and README/brand docs. Confirm inferences before proceeding. Persist context as a comment block at the top of generated files or in the conversation — reference it in every subsequent generation to ensure consistency across variations. --- ## Scenario Detection → Load Reference Identify the scenario and load the corresponding reference file before designing: | User asks about... | Also matches | Load | |---|---|---| | Dashboard, analytics, metrics, monitoring, data viz | 后台, admin panel, management system, backoffice, CRM, internal tool | `references/dashboard.md` | | Editorial, magazine, journalism, news, article | blog post, report, white paper, newsletter | `references/editorial.md` | | Landing page, SaaS, product page, startup, B2B | website, 官网, corporate site, personal site, portfolio, agency | `references/saas.md` | | E-commerce, shopping, product, fintech card, consumer | store, shop, marketplace, cart, checkout | `references/ecommerce.md` | | Education, learning app, quiz, language, science | lesson, flashcard, tutorial, training, course | `references/education.md` | | Generative art, music tool, 3D, creative tool, synthesizer | tool, studio, editor, canvas, sequencer, DAW | `references/creative.md` | | Mobile app, iOS, Android, onboarding, home screen | app, 应用, 界面, UI screen | `references/mobile.md` | | Unsure / general | | Use aesthetic directions table below + `references/palettes.md` | **Always also load the relevant design system references** from `references/design-system/` based on what matters most for the design: | Design challenge | Load | |---|---| | Font selection, type scale, hierarchy | `references/design-system/typography.md` | | Color palette, dark mode, contrast | `references/design-system/color-and-contrast.md` | | Layout, spacing, grids, visual hierarchy | `references/design-system/spatial-design.md` | | Animations, transitions, loading states | `references/design-system/motion-design.md` | | Forms, states, focus, keyboard nav | `references/design-system/interaction-design.md` | | Mobile-first, breakpoints, fluid design | `references/design-system/responsive-design.md` | | Labels, errors, empty states, microcopy | `references/design-system/ux-writing.md` | For initial generation, load at minimum: **typography**, **color-and-contrast**, and **spatial-design**. Load others as the design demands. ## Core Workflow ### 1. Parse → Detect → Load Identify scenario, load domain reference file + relevant design system references, pick 3 starter prompts and palettes. Study the Real Community Examples for composition patterns and what makes each design work — extract the principle, not the surface style. ### 2. Generate 3 Distinct Variations Each variation = a different studio's interpretation. Never two in the same direction. **Universal aesthetic directions:** | Direction | Feel | Signature | |---|---|---| | Minimal / Editorial | Type-driven, generous space | One strong font, minimal color | | Bold / Expressive | High contrast, graphic | Dominant color block | | Dark / Premium | Moody, atmospheric | Deep bg, elevated surfaces (not shadows) | | Warm / Human | Rounded, approachable | Soft palette, organic forms | | Data / Technical | Dense, systematic | Grid, monospace, tight | | Neo-brutalist | Raw, unconventional | Bold outlines, broken grid | | Luxury / Silence | Maximum negative space | One image, sparse text | **For each variation, define before coding:** - Starter prompt (from reference or custom) - Color palette (from reference or `palettes.md`) — use OKLCH for perceptually uniform colors where possible - Typography: display font + body font (see banned fonts list below) - Layout pattern (from reference) — consult `spatial-design.md` for grid and hierarchy principles - Motion strategy — consult `motion-design.md` for timing and easing - One signature detail that makes this variation unforgettable ### 3. Implement Working code — HTML (default) or React. Real content, no lorem ipsum. Visually complete. Label: **Variation A — [Name]** / **B — [Name]** / **C — [Name]** ### 4. AI Slop Test (Quality Gate) Before presenting, run this check on each variation: > If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, redesign. A distinctive interface should make someone ask "how was this made?" not "which AI made this?" Review the Anti-Patterns table below — they are the fingerprints of AI-generated work. ### 5. Offer Variation Actions After presenting, always offer: > Which direction resonates? Options: > - **Vary strong** — push aesthetic to its extreme > - **Vary subtle** — polish, same direction > - **Distill** — strip to essence, remove everything non-essential > - **Change style** — keep layout, swap visual language > - **Remix colors** — 3 alternative palettes using OKLCH > - **Shuffle layout** — same content/style, different composition > - **Polish** — refine spacing, typography, and micro-details > - **Critique** — audit against design system principles > - **Extract tokens** — export design tokens as CSS/JSON/Tailwind config > - **See other views** — mobile / dark mode / empty state / onboarding / hover states --- ## Variation Action Definitions ### Vary strong Amplify current direction to maximum. More contrast, stronger type, bolder color, more dramatic composition. Consult `references/design-system/typography.md` for scale ratios and `references/design-system/color-and-contrast.md` for high-contrast palette construction. *Before → After example:* - Body text 16px, heading 32px → Body 15px, heading 72px (ratio 1.25 → 1.5+) - Accent used on buttons only → Accent dominates hero section, bleeds int