cj-ways/arcana/v0-design

Claude Code and agent skill by cj-ways/arcana

Trust tier 3
  • community
Source check pending

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-design

SKILL.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

/v0-design <description>

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

  1. Forgetting the component library — v0 invents its own components, inconsistent with your project. Always name shadcn/ui (or whatever the project uses) explicitly.
  2. Vague responsive behavior — v0 generates desktop-only or breaks on mobile. Specify breakpoints and layout changes.
  3. Skipping empty states — pages look great with data, blank/broken without it. Always describe empty, loading, and error states.
  4. Writing "use dark colors" instead of "dark mode variant" — v0 makes a dark-themed light mode, not an actual dark mode toggle.
  5. Generating all pages in one prompt — v0 combines everything into a single messy page. One page per prompt.
  6. Forgetting non-Latin fonts — Georgian/Chinese/Arabic text renders in fallback font. Specify font stack.
  7. Over-constraining colors/spacing in page/component prompts — let v0 choose within your structural framework. (In Design System mode, defining these IS the goal.)
  8. Researching design systems or references independently — only research when the user explicitly names a reference. v0 handles aesthetics.
  9. Using vague language — "make it look nice", "add some cards", "make it modern" produce poor results. Be specific about content, data, and interactions.
  10. 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:

SignalModeBehavior
No codebase existsGreenfieldRecommend default stack (Next.js + shadcn/ui + Tailwind), ask about pages/audience
Argument mentions "redesign" or existing pages existRedesignRead current pages/components to understand what's being replaced
Argument describes a single component (table, form, card)ComponentGenerate a single component prompt, skip context message and multi-page flow
Argument describes multiple pagesMulti-pageFull flow: context message + per-page prompts
Argument mentions "design system", "theme", "tokens", "colors + typography", "styling"Design SystemGenerate 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):

  1. CLAUDE.md, README.md, or PLAN.md — project purpose, architecture
  2. package.json — framework, dependencies, component library
  3. tailwind.config.ts / globals.css — theme colors, design tokens
  4. 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:

I'm building "[App Name]" — [one-line description]. It's a [framework] app with [component library] + [CSS framework].
The app has these pages: [list ALL pages, including existing ones not being redesigned].
I'll give you each page one by one. Design them as a cohesive app — same theme, consistent components across all pages. [Design direction: either specific traits from reference research, or "Pick the best color scheme you think works for [audience]."] Dark mode required on every page.
[Special notes: language (with example text), mobile-first, RTL if applicable, user type]
Ready? I'll start with [first page — pick the most visually complex one].

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):

Design [page description] for "[App Name]".
[PRODUCT SURFACE — what the user sees and interacts with]
Layout:
- [Overall structure: sidebar + main, full-width, split-pane, etc.]
- [Responsive: "2-column grid on desktop (md:grid-cols-2), single column on mobile"]
Content:
- [Element 1]: [exact data fields, text content in target language, states]
- [Element 2]: [same level of detail]
- [Empty state]: [what shows when no data — icon + message]
- [Loading state]: [skeleton/spinner description if data-dependent]
Interactions:
- [Hover effects, click actions, expand/collapse, tooltips]
- [Navigation: what links where]
[CONTEXT OF USE]
- Used by [user type] on [device], primarily for [task]
- [Frequency of use: daily check vs occasional config]
[CONSTRAINTS]
Design requirements:
- [Responsive behavior with specific breakpoints if needed]
- Dark mode variant
- [Mobile: bottom nav, safe-area padding, touch targets min 44px]
- [Accessibility: color contrast, keyboard nav]
- Use [component library] components: [name specific ones — Card, Badge, Table, etc.]
- Use [CSS framework], [icon library], Next.js "use client"
For single components:

Shorter prompt (400-600 words), skip layout/navigation, focus on the component itself:

Design a [component type] component for "[App Name]".
Data: [fields, types, example values]
States: [loading, empty, error, populated]
Interactions: [sort, filter, expand, select, hover]
Variants: [compact vs expanded, light vs dark]
Design: [specific shadcn/ui base component], [Tailwind], dark mode.
For design systems:

Single comprehensive prompt (800-1200 words):

Design a complete design system reference for "[App Name]" — [one-line description].
The app uses [framework] + [component library] + [CSS framework].
[If existing tokens: "Current theme uses these CSS variables: [list key variables with current values]. Refine and extend this system." If new: "Create a cohesive design system for [audience/domain]."]
Generate a visual reference sheet showing:
COLOR PALETTE:
- Primary, secondary, accent, destructive colors with semantic tokens
- Background and foreground scales (at least 3 levels each)
- Border, ring, and muted variants
- Format as CSS custom properties using shadcn/ui naming (--primary, --secondary, etc.)
- Light AND dark mode values for every token
TYPOGRAPHY:
- Font family recommendations (with Google Fonts names)
- Type scale: xs through 4xl with sizes, weights, and line-heights
- Heading styles (h1-h4) and body text styles
- [If non-Latin: "Include [language] font stack — e.g., Noto Sans Georgian"]
SPACING & SHAPE:
- Spacing scale (4px base, show common values)
- Border radius scale (sm, md, lg, xl, full)
- Shadow scale (sm, md, lg) for cards, dropdowns, modals
- Border widths and styles
COMPONENT STYLING:
- Buttons: primary, secondary, outline, ghost, destructive — all states (hover, active, disabled, focus)
- Cards: default, interactive (hover lift/border), nested
- Inputs: default, focus, error, disabled
- Badges: status variants (success, warning, error, info, neutral)
- Tables: header, row, hover, striped variant
- [Additional components from project: list specific ones]
INTERACTION PATTERNS:
- Hover transitions (duration, easing)
- Focus ring style
- Active/pressed states
- Loading indicators (skeleton, spinner)
Make every token copyable. Show visual swatches next to color values. Use shadcn/ui components for all examples.

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cj-ways/arcana/v0-design/badge)](https://verified-skill.com/skills/cj-ways/arcana/v0-design)

Something wrong with this skill or its page? Tell us.