cj-ways/arcana/v0-design
Claude Code and agent skill by cj-ways/arcana
- community
Checking that the SKILL.md file is still in the repository.
Generates optimized v0.dev prompts for UI design — full pages, single components, design systems, or redesigns. Analyzes the project, adapts questions to context, researches user-specified design references, and outputs ready-to-copy prompts following Vercel''s three-part framework. Manual via /v0-design.
Install
npx vskill@latest install cj-ways/arcana/v0-designSKILL.md
The same SKILL.md was published earlier as cj-ways/arcana/v0-design.
/v0-design — Generate v0.dev Design Prompts
Generate optimized prompts for v0.dev that produce consistent, production-ready UI designs. Supports full apps, single pages, individual components, design systems, and redesigns of existing UIs.
Role: Prompt Architect
Structure what v0 builds. Defer how it looks.
- Structural decisions (page order, layout type, content sections, states, interactions): yours
- Aesthetic decisions (colors, typography, spacing, shadows, design language): v0's
- Design references: research ONLY when the user explicitly names one. Do not independently research design systems, competitor UIs, or visual references.
The one exception: when the project clearly derives from a known product (e.g., notion-clone in package.json), mention it so v0 produces coherent output.
Arguments
Examples:
/v0-design "student portal with dashboard, schedule, exams, grades"/v0-design "redesign our settings page"/v0-design "data table component with sorting and filtering"/v0-design "project-level design system — colors, typography, spacing"
If no argument is provided, ask what to design.
Gotchas
- Forgetting the component library — v0 invents its own components, inconsistent with your project. Always name shadcn/ui (or whatever the project uses) explicitly.
- Vague responsive behavior — v0 generates desktop-only or breaks on mobile. Specify breakpoints and layout changes.
- Skipping empty states — pages look great with data, blank/broken without it. Always describe empty, loading, and error states.
- Writing "use dark colors" instead of "dark mode variant" — v0 makes a dark-themed light mode, not an actual dark mode toggle.
- Generating all pages in one prompt — v0 combines everything into a single messy page. One page per prompt.
- Forgetting non-Latin fonts — Georgian/Chinese/Arabic text renders in fallback font. Specify font stack.
- Over-constraining colors/spacing in page/component prompts — let v0 choose within your structural framework. (In Design System mode, defining these IS the goal.)
- Researching design systems or references independently — only research when the user explicitly names a reference. v0 handles aesthetics.
- Using vague language — "make it look nice", "add some cards", "make it modern" produce poor results. Be specific about content, data, and interactions.
- Including backend logic in prompts — v0 generates UI only. No API calls, database queries, or server logic.
Step 1: Detect Mode
Determine the design mode from the argument and project state:
| Signal | Mode | Behavior | |
|---|---|---|---|
| No codebase exists | Greenfield | Recommend default stack (Next.js + shadcn/ui + Tailwind), ask about pages/audience | |
| Argument mentions "redesign" or existing pages exist | Redesign | Read current pages/components to understand what's being replaced | |
| Argument describes a single component (table, form, card) | Component | Generate a single component prompt, skip context message and multi-page flow | |
| Argument describes multiple pages | Multi-page | Full flow: context message + per-page prompts | |
| Argument mentions "design system", "theme", "tokens", "colors + typography", "styling" | Design System | Generate design system prompts — palette, typography, spacing, component styling. Skip page-prompt flow. |
Greenfield default stack: Next.js (App Router) + TypeScript + Tailwind CSS + shadcn/ui + lucide-react. Deviate only if the user specifies otherwise.
Step 2: Analyze the Project
For existing projects, read in order (stop when sufficient):
CLAUDE.md,README.md, orPLAN.md— project purpose, architecturepackage.json— framework, dependencies, component librarytailwind.config.ts/globals.css— theme colors, design tokens- Existing page files (
src/app/*/page.tsx) — current UI structure and patterns
Extract and translate:
- CSS variables → human-readable colors:
--primary: oklch(0.52 0.18 268)→ "deep indigo, similar to indigo-600" - Tailwind config → design tokens: border-radius scale, shadow scale, spacing scale
- Component patterns → layout vocabulary: "uses sidebar + card grid", "bottom nav with 3 tabs"
For redesigns, also read the specific pages being redesigned. Summarize the current layout, data displayed, and interactions so the prompt can say "replace the current tab-based schedule with a 5-column grid."
For design systems, focus on: tokens.css / globals.css (current CSS variables), tailwind.config.ts (current token scales), existing component files (current styling patterns), and any registry.json or shadcn theme configuration. Identify gaps: missing semantic tokens, inconsistent radius/shadow usage, no dark mode variables, incomplete component coverage.
For greenfield projects, skip to Step 3.
Step 3: Gather Context (Adaptive)
Ask clarifying questions using AskUserQuestion. ONE question at a time. Let each answer reshape the next question. Stop when enough context exists — do NOT ask all questions if earlier answers make them unnecessary.
Possible questions (choose based on what's still unknown):
- What pages/screens are needed?
- Who uses this app? On what device primarily?
- Any design references to match? (e.g., "like Linear", "like Notion")
- Should v0 design within your existing color palette, or choose its own?
- Any specific interaction patterns needed? (wizards, drag-drop, real-time)
- Mobile-first or desktop-first?
- Any non-English text? What language(s)?
For Design System mode, ask instead:
- What's the primary goal — a complete new design system, or refining the existing one?
- Are you setting up a v0 Design System registry for consistent generation, or do you want a visual design reference?
- What components need styling? (buttons, cards, inputs, tables, badges, modals, etc.)
If the user mentions a design reference (e.g., "like Linear"): Use WebSearch to research it. Search for "[app name] UI design" or "[app name] dashboard screenshot". Extract specific visual traits: layout structure, color temperature, typography weight, spacing density, border radius, shadow style. Translate these into concrete v0 instructions instead of just writing "like Linear."
Do NOT research design references, competitor UIs, or design systems unless the user explicitly names one.
2-4 questions max. If the argument already contains enough detail, skip directly to generation.
Step 4: Generate Context Message
Create a context message to paste FIRST in the v0 chat. This sets the design direction for all pages.
Template:
Rules:
- Under 150 words
- List ALL pages (even existing ones) so v0 designs consistently
- State component library explicitly (shadcn/ui, etc.)
- Include non-English language note with 2-3 example strings if applicable
- Mention RTL if the language requires it (Arabic, Hebrew)
- Recommend font stack for non-Latin scripts: "Georgian text uses Noto Sans Georgian", "Chinese uses Noto Sans SC"
For component mode: Skip the context message. Generate a single component prompt directly.
For design system mode: Skip the context message. Generate a design system prompt directly (see Step 5).
v0 ecosystem tip: If the user has a v0 project, suggest saving the context message as a v0 Instruction (v0 Settings → Instructions). This persists across all chats and eliminates re-pasting.
Step 5: Generate Page/Component/Design System Prompts
For each page:
Follow the three-part framework (800-1200 words per prompt):
For single components:
Shorter prompt (400-600 words), skip layout/navigation, focus on the component itself:
For design systems:
Single comprehensive prompt (800-1200 words):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 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/v0-design/SKILL.md
Popularity
- 7-day trend score
- 0
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/cj-ways/arcana/v0-design)