greglas75/zuvo/design
Claude Code and agent skill by greglas75/zuvo
- community
Checking that the SKILL.md file is still in the repository.
Intent-first UI design with conscious, traceable design decisions. Persists decisions in .interface-design/ for cross-session consistency. Includes domain exploration, design system generation (system.md + system.json), per-component construction with mandatory checkpoints, and craft validation tests. Modes: init, [component], improve [path], extract [path], status, --quick, --dry-run. NOT for auditing existing UI (use zuvo:design-review).
Install
npx vskill@latest install greglas75/zuvo/designSKILL.md
The same SKILL.md was published earlier as greglas75/zuvo/design.
zuvo:design — Intent-First Interface Design
Build UI with conscious, traceable design decisions. Every visual choice must be explainable: traced from user intent through domain exploration to specific token values. Persists decisions in .interface-design/system.md and system.json for cross-session consistency.
Scope: New interface creation, existing UI improvement, design system extraction, component construction within an established system. Out of scope: Auditing existing UI against checklists (zuvo:design-review), multi-agent visual inspection (zuvo:ui-design-team), code quality (zuvo:review).
Mandatory File Loading
Read these files before any work begins:
Dispatch follows ../../shared/includes/execution-policy.md through env-compat. Reuse existing authorization within that policy; session restrictions take precedence. Run each required gate and report its actual independence or an unmet requirement.
../../shared/includes/codesift-setup.md-- CodeSift discovery and tool selection../../shared/includes/env-compat.md-- Agent dispatch and environment adaptation
Print the checklist:
If any file is missing, STOP.
Environment Compatibility
Read ../../shared/includes/env-compat.md for agent dispatch patterns, path resolution, and progress tracking across all supported platforms.
CodeSift Integration
Read ../../shared/includes/codesift-setup.md for the full initialization sequence.
Design-specific CodeSift usage:
get_file_tree(repo, path_prefix="src/components/ui")-- instant design system inventoryfind_references(repo, symbol_name="Dialog")-- usage patterns of UI primitivessearch_symbols(repo, query, kind="function", file_pattern="*.tsx")-- check for existing similar componentssearch_text(repo, query="cn\\(", file_pattern="*.tsx")-- Tailwind composition patternsassemble_context(repo, query="<component>", token_budget=4000)-- gather component + types + imports
Step 0: Parse $ARGUMENTS
| Argument | Behavior | |
|---|---|---|
init | Full flow: intent exploration, domain analysis, direction selection, system.md creation | |
[component] | Build specific component within existing design system | |
improve [path] | Analyze existing UI, propose unified direction, apply improvements | |
extract [path] | Extract implicit design patterns from existing code into a proposed system.md | |
status | Show current design system state | |
--quick [component] | Fast path: load system.md, build, auto-save. Skips craft validation but enforces minimum gates (token usage, touch targets >=44px, no hardcoded colors/spacing). | |
--dry-run | Preview: run all phases but do not write files. Show diff of proposed changes. Combinable with --quick. |
Default: init
Step 0.5: Prerequisites Check
Run these checks before starting. Print status for each.
Required
| Check | How | If missing | |
|---|---|---|---|
| Package.json exists | cat package.json | WARN -- cannot detect framework. Ask user. | |
| Frontend framework | Check deps for react/next/vue/svelte/angular | WARN -- proceed with generic HTML/CSS | |
| CSS framework + version | Check for tailwind.config.* (v3), @theme in CSS (v4), styled-components, CSS modules. If Tailwind: check version. | INFO -- token format adapts to detection |
Recommended
| Check | How | If missing | ||
|---|---|---|---|---|
| Design system library | Check deps for @shadcn/ui, @radix-ui, @mui, @mantine | INFO -- will propose from scratch | ||
| Existing UI files | `find src -name ".tsx" -o -name ".jsx" | head -1` | INFO -- fine for init. For improve/extract: STOP. | |
| Dev server config | Check for next.config., vite.config. | INFO -- useful for preview |
For `improve`/`extract` mode: no UI files = STOP.
Phase 1: Context
Step 1: Check for Existing Design System
If system.md exists:
- Read and load all tokens, patterns, decisions
- Extract
INTENTfrom the Direction section - Print:
Design system loaded: [personality], [N] tokens, [N] patterns, last updated [date] --quickmode: go directly to Phase 4 (build), skip craft validation, auto-save- Normal mode: skip Phase 2-3, go to Phase 4
If system.md does NOT exist:
- If argument is
[component]or--quick: warn "No design system found. Runzuvo:design initfirst." - If argument is
init,improve, orextract: proceed to Phase 2
Phase 2: Intent Exploration
Step 3: Intent Questions
Present three questions. If the environment is interactive, ask inline; otherwise make the safest reasonable decision and annotate it.
Q1: Who is the person using this? Not "users" -- specific context. Example: "Marketing manager reviewing campaign performance before Monday standup."
Q2: What must they accomplish? Verb-based tasks, not features. Example: "Scan 20 campaigns, compare week-over-week, flag underperformers, share report."
Q3: How should this feel? Offer 3-4 options based on product type:
- "Calm authority" -- quiet confidence, the user trusts the tool
- "Energetic efficiency" -- fast, snappy, dense with info
- "Warm guidance" -- approachable, helps without overwhelming
- "Precise control" -- technical, every detail accessible
Capture answers as INTENT for all subsequent decisions.
Phase 3: Domain Exploration
Step 4: Product Domain
Based on intent answers and project code, produce 4 outputs:
- Domain Concepts (5+) -- the vocabulary and mental model of the product domain
- Color World (5+) -- emotions and associations that inform palette selection
- Signature (1) -- a unique design element that makes this product recognizable
- Defaults to Avoid (3) -- generic patterns that would make this feel like every other product
Match the user's domain to industry patterns if applicable (SaaS Dashboard, Fintech, Healthcare, E-Commerce, Admin Panels, Data Visualization, AI/Chat, Landing Pages, Developer Tools, Onboarding). Use industry-specific layout rules, color presets, and anti-patterns as starting constraints.
Present to user for confirmation. Adjust based on feedback.
Step 5: Design Direction
- Select the closest design direction (or blend 2) based on intent and domain
- Adapt tokens to the domain (do not copy presets verbatim)
- Present proposal with: Personality, Foundation palette, Depth (elevation), Accent color, Spacing scale, Border radius system, Typography -- each tied to intent
Ask for confirmation:
- "Looks good, build it"
- "Adjust tokens" -- user specifies changes
- "Try different direction" -- restart Phase 3
Phase 4: Build
Step 6: Per-Component Construction
For EACH component, declare a mandatory checkpoint:
Build the component code with these decisions applied.
For `improve` mode:
- Read existing component
- Identify defaults (generic values, inconsistent tokens)
- Propose specific changes tied to design direction
- Apply changes preserving functionality
For `extract` mode:
- Scan all UI files in scope
- Catalog: colors (frequency), spacing values, radius values, font sizes, motion durations, component patterns
- Build Mutations vs Standard table: for each token category, list every variant found alongside the proposed canonical value
- Identify implicit direction: map findings to closest design direction
- Propose system.md + system.json based on actual usage
- Skip Phase 5 -- extract produces a proposal, not built components. Go to Phase 6.
Phase 5: Craft Validation
Skip if `--quick` mode or `extract` mode.
Step 7: Run 4 Tests
After building, run ALL validation tests:
1. Swap Test: Replace design tokens with neutral alternatives. Does the component still communicate the intended personality? If it looks the same with generic tokens, the design is not intentional enough. (3 meaningful swaps required.)
2. Squint Test: Blur your mental image of the component. Is the visual hierarchy still clear? Primary action obvious? Sections distinguishable? (4 checks.)
3. Signature Test: Is the unique design element from Step 4 present? Count touchpoints across the component. (5 touchpoints required.)
4. Token Test: Trace every visual value back to a design token. No magic numbers, no hardcoded hex values, no arbitrary spacing. (Track traceable vs total.)
Print pass/fail for each with evidence. If ANY test fails, iterate before showing to user.
Persist gate: At least 3/4 craft tests must PASS before proceeding.
If fewer than 3 pass after iteration, do NOT stop and wait for approval — record and continue, per no-pause-protocol.md's Post-Cap Autonomous Disposition:
Then proceed and surface every [CRAFT-GATE: BELOW-BAR] line in the final summary. Until 2026-08-06 this read "warn user and require explicit approval", which made design the only one of 57 skills with an approval gate — against no-pause-protocol.md and against the convention skill-eval states outright ("No approval gates. Execute end-to-end; only --dry-run gates output"). A design run left half-finished waiting on a human is the friction that rule exists to kill; the honest alternative is to persist it clearly labelled as below-bar, not to block on a question nobody is awake to answer.
Step 7.5: Save Craft Validation Report
Save to .interface-design/craft-validation-[YYYY-MM-DD].md with per-test results and per-component checkpoints.
Phase 6: Persist
Step 8: Save Design System
`--dry-run`: Print proposed diff, do not write files. End here.
`--quick`: Print brief diff (max 10 lines), auto-save.
Normal mode: After user approves:
- Create
.interface-design/directory - Generate
system.mdwith all sections: Direction, Domain, Tokens, Motion, Patterns, Decisions - Generate
system.jsonalongside -- machine-readable artifact forzuvo:design-review
Ask for confirmation:
- "Save" -- persist for future sessions
- "Save + commit" -- save and create git commit
- "Skip" -- do not save
If .interface-design/ NOT in .gitignore, ask if user wants to track in git.
Step 9: Post-Design Recommendation
Suggest running zuvo:design-review on the built components for a structured DX1-DX20 audit.
status Mode
- Check for
.interface-design/system.md - If exists: print Personality, Foundation, Depth, Token count, Pattern count, Decision count, Last updated
- If not exists: "No design system found. Run
zuvo:design initorzuvo:design extract [path]."
Contract: zuvo:design <-> zuvo:design-review
This skill produces two artifacts in .interface-design/:
| Artifact | Purpose | |
|---|---|---|
system.md | Human-readable design system (direction, domain, tokens, patterns, decisions) | |
system.json | Machine-readable for programmatic token matching |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/design/SKILL.md
Popularity
- Repository stars
- 8
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/greglas75/zuvo/design)