[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ER4PGRFCMZ3D11YCEQ7Q9H":3,"skill-same:01M6ER4PGRFCMZ3D11YCEQ7Q9H":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":13,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M6ER4PGRFCMZ3D11YCEQ7Q9H","v0-design",null,"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 \u002Fv0-design.","cj-ways\u002Farcana","cj-ways","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F268418145?v=4","01M6ER2722FXTDPCH3119PJ5T3","01M6ER2773VFWAC3D21KGP6N7Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fv0-design\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"v0 design","v0","design","design-system","app","feature","full","project","three","references","ui design","ready","context","write","read","ui","framework","design systems","component","components","2026-11-10 10:12:30",false,"---\nname: v0-design\ndescription: '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 \u002Fv0-design.'\nargument-hint: \"\u003Capp-description, feature, component, or design-system>\"\ndisable-model-invocation: true\nallowed-tools: Read, Glob, Grep, Agent, WebSearch, WebFetch, Write, AskUserQuestion\neffort: medium\nphase: design\nfeedback-profile: advisory\ncatalog-order: 35\n---\n\n# \u002Fv0-design — Generate v0.dev Design Prompts\n\nGenerate 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.\n\n## Role: Prompt Architect\n\nStructure what v0 builds. Defer how it looks.\n\n- **Structural decisions** (page order, layout type, content sections, states, interactions): yours\n- **Aesthetic decisions** (colors, typography, spacing, shadows, design language): v0's\n- Design references: research ONLY when the user explicitly names one. Do not independently research design systems, competitor UIs, or visual references.\n\nThe 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.\n\n## Arguments\n\n```\n\u002Fv0-design \u003Cdescription>\n```\n\nExamples:\n- `\u002Fv0-design \"student portal with dashboard, schedule, exams, grades\"`\n- `\u002Fv0-design \"redesign our settings page\"`\n- `\u002Fv0-design \"data table component with sorting and filtering\"`\n- `\u002Fv0-design \"project-level design system — colors, typography, spacing\"`\n\nIf no argument is provided, ask what to design.\n\n## Gotchas\n\n1. **Forgetting the component library** — v0 invents its own components, inconsistent with your project. Always name shadcn\u002Fui (or whatever the project uses) explicitly.\n2. **Vague responsive behavior** — v0 generates desktop-only or breaks on mobile. Specify breakpoints and layout changes.\n3. **Skipping empty states** — pages look great with data, blank\u002Fbroken without it. Always describe empty, loading, and error states.\n4. **Writing \"use dark colors\" instead of \"dark mode variant\"** — v0 makes a dark-themed light mode, not an actual dark mode toggle.\n5. **Generating all pages in one prompt** — v0 combines everything into a single messy page. One page per prompt.\n6. **Forgetting non-Latin fonts** — Georgian\u002FChinese\u002FArabic text renders in fallback font. Specify font stack.\n7. **Over-constraining colors\u002Fspacing in page\u002Fcomponent prompts** — let v0 choose within your structural framework. (In Design System mode, defining these IS the goal.)\n8. **Researching design systems or references independently** — only research when the user explicitly names a reference. v0 handles aesthetics.\n9. **Using vague language** — \"make it look nice\", \"add some cards\", \"make it modern\" produce poor results. Be specific about content, data, and interactions.\n10. **Including backend logic in prompts** — v0 generates UI only. No API calls, database queries, or server logic.\n\n---\n\n## Step 1: Detect Mode\n\nDetermine the design mode from the argument and project state:\n\n| Signal | Mode | Behavior |\n|--------|------|----------|\n| No codebase exists | **Greenfield** | Recommend default stack (Next.js + shadcn\u002Fui + Tailwind), ask about pages\u002Faudience |\n| Argument mentions \"redesign\" or existing pages exist | **Redesign** | Read current pages\u002Fcomponents to understand what's being replaced |\n| Argument describes a single component (table, form, card) | **Component** | Generate a single component prompt, skip context message and multi-page flow |\n| Argument describes multiple pages | **Multi-page** | Full flow: context message + per-page prompts |\n| Argument mentions \"design system\", \"theme\", \"tokens\", \"colors + typography\", \"styling\" | **Design System** | Generate design system prompts — palette, typography, spacing, component styling. Skip page-prompt flow. |\n\n**Greenfield default stack**: Next.js (App Router) + TypeScript + Tailwind CSS + shadcn\u002Fui + lucide-react. Deviate only if the user specifies otherwise.\n\n---\n\n## Step 2: Analyze the Project\n\n**For existing projects**, read in order (stop when sufficient):\n\n1. `CLAUDE.md`, `README.md`, or `PLAN.md` — project purpose, architecture\n2. `package.json` — framework, dependencies, component library\n3. `tailwind.config.ts` \u002F `globals.css` — theme colors, design tokens\n4. Existing page files (`src\u002Fapp\u002F*\u002Fpage.tsx`) — current UI structure and patterns\n\n**Extract and translate**:\n- CSS variables → human-readable colors: `--primary: oklch(0.52 0.18 268)` → \"deep indigo, similar to indigo-600\"\n- Tailwind config → design tokens: border-radius scale, shadow scale, spacing scale\n- Component patterns → layout vocabulary: \"uses sidebar + card grid\", \"bottom nav with 3 tabs\"\n\n**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.\"\n\n**For design systems**, focus on: `tokens.css` \u002F `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\u002Fshadow usage, no dark mode variables, incomplete component coverage.\n\n**For greenfield projects**, skip to Step 3.\n\n---\n\n## Step 3: Gather Context (Adaptive)\n\nAsk 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.\n\n**Possible questions** (choose based on what's still unknown):\n\n- What pages\u002Fscreens are needed?\n- Who uses this app? On what device primarily?\n- Any design references to match? (e.g., \"like Linear\", \"like Notion\")\n- Should v0 design within your existing color palette, or choose its own?\n- Any specific interaction patterns needed? (wizards, drag-drop, real-time)\n- Mobile-first or desktop-first?\n- Any non-English text? What language(s)?\n\n**For Design System mode**, ask instead:\n- What's the primary goal — a complete new design system, or refining the existing one?\n- Are you setting up a v0 Design System registry for consistent generation, or do you want a visual design reference?\n- What components need styling? (buttons, cards, inputs, tables, badges, modals, etc.)\n\n**If the user mentions a design reference** (e.g., \"like Linear\"):\nUse **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.\"\n\n**Do NOT research design references, competitor UIs, or design systems unless the user explicitly names one.**\n\n**2-4 questions max.** If the argument already contains enough detail, skip directly to generation.\n\n---\n\n## Step 4: Generate Context Message\n\nCreate a context message to paste FIRST in the v0 chat. This sets the design direction for all pages.\n\n**Template**:\n```\nI'm building \"[App Name]\" — [one-line description]. It's a [framework] app with [component library] + [CSS framework].\n\nThe app has these pages: [list ALL pages, including existing ones not being redesigned].\n\nI'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.\n\n[Special notes: language (with example text), mobile-first, RTL if applicable, user type]\n\nReady? I'll start with [first page — pick the most visually complex one].\n```\n\n**Rules**:\n- Under 150 words\n- List ALL pages (even existing ones) so v0 designs consistently\n- State component library explicitly (shadcn\u002Fui, etc.)\n- Include non-English language note with 2-3 example strings if applicable\n- Mention RTL if the language requires it (Arabic, Hebrew)\n- Recommend font stack for non-Latin scripts: \"Georgian text uses Noto Sans Georgian\", \"Chinese uses Noto Sans SC\"\n\n**For component mode**: Skip the context message. Generate a single component prompt directly.\n\n**For design system mode**: Skip the context message. Generate a design system prompt directly (see Step 5).\n\n**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.\n\n---\n\n## Step 5: Generate Page\u002FComponent\u002FDesign System Prompts\n\n### For each page:\n\nFollow the three-part framework (800-1200 words per prompt):\n\n```\nDesign [page description] for \"[App Name]\".\n\n[PRODUCT SURFACE — what the user sees and interacts with]\nLayout:\n- [Overall structure: sidebar + main, full-width, split-pane, etc.]\n- [Responsive: \"2-column grid on desktop (md:grid-cols-2), single column on mobile\"]\n\nContent:\n- [Element 1]: [exact data fields, text content in target language, states]\n- [Element 2]: [same level of detail]\n- [Empty state]: [what shows when no data — icon + message]\n- [Loading state]: [skeleton\u002Fspinner description if data-dependent]\n\nInteractions:\n- [Hover effects, click actions, expand\u002Fcollapse, tooltips]\n- [Navigation: what links where]\n\n[CONTEXT OF USE]\n- Used by [user type] on [device], primarily for [task]\n- [Frequency of use: daily check vs occasional config]\n\n[CONSTRAINTS]\nDesign requirements:\n- [Responsive behavior with specific breakpoints if needed]\n- Dark mode variant\n- [Mobile: bottom nav, safe-area padding, touch targets min 44px]\n- [Accessibility: color contrast, keyboard nav]\n- Use [component library] components: [name specific ones — Card, Badge, Table, etc.]\n- Use [CSS framework], [icon library], Next.js \"use client\"\n```\n\n### For single components:\n\nShorter prompt (400-600 words), skip layout\u002Fnavigation, focus on the component itself:\n\n```\nDesign a [component type] component for \"[App Name]\".\n\nData: [fields, types, example values]\nStates: [loading, empty, error, populated]\nInteractions: [sort, filter, expand, select, hover]\nVariants: [compact vs expanded, light vs dark]\n\nDesign: [specific shadcn\u002Fui base component], [Tailwind], dark mode.\n```\n\n### For design systems:\n\nSingle comprehensive prompt (800-1200 words):\n\n```\nDesign a complete design system reference for \"[App Name]\" — [one-line description].\n\nThe app uses [framework] + [component library] + [CSS framework].\n\n[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\u002Fdomain].\"]\n\nGenerate a visual reference sheet showing:\n\nCOLOR PALETTE:\n- Primary, secondary, accent, destructive colors with semantic tokens\n- Background and foreground scales (at least 3 levels each)\n- Border, ring, and muted variants\n- Format as CSS custom properties using shadcn\u002Fui naming (--primary, --secondary, etc.)\n- Light AND dark mode values for every token\n\nTYPOGRAPHY:\n- Font family recommendations (with Google Fonts names)\n- Type scale: xs through 4xl with sizes, weights, and line-heights\n- Heading styles (h1-h4) and body text styles\n- [If non-Latin: \"Include [language] font stack — e.g., Noto Sans Georgian\"]\n\nSPACING & SHAPE:\n- Spacing scale (4px base, show common values)\n- Border radius scale (sm, md, lg, xl, full)\n- Shadow scale (sm, md, lg) for cards, dropdowns, modals\n- Border widths and styles\n\nCOMPONENT STYLING:\n- Buttons: primary, secondary, outline, ghost, destructive — all states (hover, active, disabled, focus)\n- Cards: default, interactive (hover lift\u002Fborder), nested\n- Inputs: default, focus, error, disabled\n- Badges: status variants (success, warning, error, info, neutral)\n- Tables: header, row, hover, striped variant\n- [Additional components from project: list specific ones]\n\nINTERACTION PATTERNS:\n- Hover transitions (duration, easing)\n- Focus ring style\n- Active\u002Fpressed states\n- Loading indicators (skeleton, spinner)\n\nMake every token copyable. Show visual swatches next to color values. Use shadcn\u002Fui components for all examples.\n```\n\n**Alternative path — v0 Design System registry**: If the user wants consistent v0 generation across all chats (not just a visual reference), suggest setting up a v0 Design System registry instead:\n1. Fork the [registry-starter](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fregistry-starter) template\n2. Customize `src\u002Fapp\u002Ftokens.css` with the project's color tokens\n3. Update `src\u002Fapp\u002Flayout.tsx` with the project's font\n4. Deploy and connect to v0 project settings\n\nThis is more work but produces infrastructure, not just a reference sheet. Ask which path the user prefers.\n\n### Page ordering strategy:\n\nGenerate the most visually complex page first (usually dashboard or main content page). This establishes the richest design language. Simpler pages inherit the established style.\n\n### Shared components:\n\nIf multiple pages share navigation (sidebar, header, bottom nav), include it in the FIRST page prompt. For subsequent pages, say: \"Use the same sidebar\u002Fheader\u002Fbottom nav from the previous page.\"\n\n### Specialized patterns:\n\n**Multi-step forms\u002Fwizards**: Describe all steps in one prompt. Specify step indicator style, navigation (back\u002Fnext), validation behavior, conditional steps.\n\n**Data tables**: Specify columns, sort\u002Ffilter behavior, pagination, row actions, empty state. Name the Table component from shadcn\u002Fui.\n\n**Charts\u002Fvisualizations**: Specify chart library (recharts for shadcn\u002Fui). Describe chart type, axis labels, data format, tooltips, responsive behavior, empty state.\n\n**Mobile-first**: Specify \"design for 375px width as baseline.\" Include: bottom navigation, sheet drawers (not modals), swipe gestures, safe-area padding, touch targets ≥44px.\n\n---\n\n## Step 6: Generate Iteration Prompts\n\nProvide 3-5 specific follow-up prompts tailored to the generated pages (not generic). These should address the most common adjustments:\n\n```\n## Iteration Prompts\n\nIf the [page name] feels too busy:\n→ \"Simplify [page name] — reduce to [N] cards, increase whitespace, remove [specific element]\"\n\nIf dark mode doesn't look right:\n→ \"In dark mode, make the card backgrounds slightly lighter (bg-card) and reduce border opacity\"\n\nIf mobile layout is broken:\n→ \"On mobile (\u003C768px), stack all cards vertically, replace sidebar with bottom nav sheet\"\n\nIf the theme drifts between pages:\n→ \"Match the style of [first page] — same card radius, shadow depth, color palette\"\n```\n\n**For design systems**, provide iteration prompts like:\n- \"Add hover\u002Ffocus\u002Factive states to all interactive components\"\n- \"Make the color palette warmer\u002Fcooler — shift primary hue by 15 degrees\"\n- \"Add a compact density variant for data-heavy views\"\n\n**v0 Design Mode tip**: For visual tweaks (colors, spacing, typography adjustments), suggest using v0's Design Mode instead of re-prompting — it's faster and doesn't cost credits.\n\n---\n\n## Step 7: Verify and Output\n\n**Before writing, verify each prompt against this checklist**:\n\n- [ ] Specific component names and data fields (not vague)\n- [ ] Responsive behavior with breakpoint (mobile + desktop)\n- [ ] Dark mode explicitly mentioned\n- [ ] Actual text content in target language (spelled out, not \"Georgian text\")\n- [ ] Empty\u002Floading\u002Ferror states for data-dependent sections\n- [ ] Interaction descriptions (hover, click, expand, tooltip)\n- [ ] Between 800-1200 words (pages\u002Fdesign systems) or 400-600 words (components)\n- [ ] Component library + CSS framework specified\n- [ ] No conflicting instructions between prompts\n- [ ] Page ordering: most complex first\n- [ ] Shared components referenced (not re-described) after first page\n- [ ] Accessibility: color contrast mention, touch targets for mobile\n- [ ] Font stack specified for non-Latin scripts\n\nWrite to `docs\u002Fv0-prompts.md` (or the filename the user specifies).\n\n**Output structure for pages\u002Fcomponents**:\n```markdown\n# v0.dev Design Prompts — [App Name]\n\n## How to Use\n1. Go to v0.dev → start a NEW chat (or open your v0 project)\n2. Paste the Context Message first (or save it as a v0 Instruction for reuse)\n3. Paste each page prompt one at a time, in order\n4. Use iteration prompts if results need adjustment\n5. Use Design Mode (free) for visual tweaks — colors, spacing, typography\n6. Download zip after each page for backup\n\n## Context Message\n\\`\\`\\`\n[context message]\n\\`\\`\\`\n\n## Page 1: [Name] (generate first — establishes design language)\n\\`\\`\\`\n[prompt]\n\\`\\`\\`\n\n## Page 2: [Name]\n\\`\\`\\`\n[prompt]\n\\`\\`\\`\n\n## Iteration Prompts\n[tailored follow-ups]\n```\n\n**Output structure for design systems**:\n```markdown\n# v0.dev Design System Prompts — [App Name]\n\n## How to Use\n1. Go to v0.dev → start a NEW chat\n2. Paste the design system prompt below\n3. Use Design Mode to fine-tune colors, typography, spacing visually\n4. Copy the generated token values into your project's globals.css \u002F tokens.css\n5. For persistent v0 integration, set up a Design System registry (see below)\n\n## Design System Prompt\n\\`\\`\\`\n[design system prompt]\n\\`\\`\\`\n\n## Iteration Prompts\n[tailored follow-ups]\n\n## Next Steps: v0 Design System Registry (Optional)\nTo make v0 use your design system automatically in all future chats:\n1. Fork vercel\u002Fregistry-starter\n2. Replace tokens.css with your generated tokens\n3. Deploy and connect to your v0 project\n```\n","# \u002Fv0-design — Generate v0.dev Design Prompts\n\nGenerate 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.\n\n## Role: Prompt Architect\n\nStructure what v0 builds. Defer how it looks.\n\n- **Structural decisions** (page order, layout type, content sections, states, interactions): yours\n- **Aesthetic decisions** (colors, typography, spacing, shadows, design language): v0's\n- Design references: research ONLY when the user explicitly names one. Do not independently research design systems, competitor UIs, or visual references.\n\nThe 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.\n\n## Arguments\n\n```\n\u002Fv0-design \u003Cdescription>\n```\n\nExamples:\n- `\u002Fv0-design \"student portal with dashboard, schedule, exams, grades\"`\n- `\u002Fv0-design \"redesign our settings page\"`\n- `\u002Fv0-design \"data table component with sorting and filtering\"`\n- `\u002Fv0-design \"project-level design system — colors, typography, spacing\"`\n\nIf no argument is provided, ask what to design.\n\n## Gotchas\n\n1. **Forgetting the component library** — v0 invents its own components, inconsistent with your project. Always name shadcn\u002Fui (or whatever the project uses) explicitly.\n2. **Vague responsive behavior** — v0 generates desktop-only or breaks on mobile. Specify breakpoints and layout changes.\n3. **Skipping empty states** — pages look great with data, blank\u002Fbroken without it. Always describe empty, loading, and error states.\n4. **Writing \"use dark colors\" instead of \"dark mode variant\"** — v0 makes a dark-themed light mode, not an actual dark mode toggle.\n5. **Generating all pages in one prompt** — v0 combines everything into a single messy page. One page per prompt.\n6. **Forgetting non-Latin fonts** — Georgian\u002FChinese\u002FArabic text renders in fallback font. Specify font stack.\n7. **Over-constraining colors\u002Fspacing in page\u002Fcomponent prompts** — let v0 choose within your structural framework. (In Design System mode, defining these IS the goal.)\n8. **Researching design systems or references independently** — only research when the user explicitly names a reference. v0 handles aesthetics.\n9. **Using vague language** — \"make it look nice\", \"add some cards\", \"make it modern\" produce poor results. Be specific about content, data, and interactions.\n10. **Including backend logic in prompts** — v0 generates UI only. No API calls, database queries, or server logic.\n\n---\n\n## Step 1: Detect Mode\n\nDetermine the design mode from the argument and project state:\n\n| Signal | Mode | Behavior |\n|--------|------|----------|\n| No codebase exists | **Greenfield** | Recommend default stack (Next.js + shadcn\u002Fui + Tailwind), ask about pages\u002Faudience |\n| Argument mentions \"redesign\" or existing pages exist | **Redesign** | Read current pages\u002Fcomponents to understand what's being replaced |\n| Argument describes a single component (table, form, card) | **Component** | Generate a single component prompt, skip context message and multi-page flow |\n| Argument describes multiple pages | **Multi-page** | Full flow: context message + per-page prompts |\n| Argument mentions \"design system\", \"theme\", \"tokens\", \"colors + typography\", \"styling\" | **Design System** | Generate design system prompts — palette, typography, spacing, component styling. Skip page-prompt flow. |\n\n**Greenfield default stack**: Next.js (App Router) + TypeScript + Tailwind CSS + shadcn\u002Fui + lucide-react. Deviate only if the user specifies otherwise.\n\n---\n\n## Step 2: Analyze the Project\n\n**For existing projects**, read in order (stop when sufficient):\n\n1. `CLAUDE.md`, `README.md`, or `PLAN.md` — project purpose, architecture\n2. `package.json` — framework, dependencies, component library\n3. `tailwind.config.ts` \u002F `globals.css` — theme colors, design tokens\n4. Existing page files (`src\u002Fapp\u002F*\u002Fpage.tsx`) — current UI structure and patterns\n\n**Extract and translate**:\n- CSS variables → human-readable colors: `--primary: oklch(0.52 0.18 268)` → \"deep indigo, similar to indigo-600\"\n- Tailwind config → design tokens: border-radius scale, shadow scale, spacing scale\n- Component patterns → layout vocabulary: \"uses sidebar + card grid\", \"bottom nav with 3 tabs\"\n\n**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.\"\n\n**For design systems**, focus on: `tokens.css` \u002F `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\u002Fshadow usage, no dark mode variables, incomplete component coverage.\n\n**For greenfield projects**, skip to Step 3.\n\n---\n\n## Step 3: Gather Context (Adaptive)\n\nAsk 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.\n\n**Possible questions** (choose based on what's still unknown):\n\n- What pages\u002Fscreens are needed?\n- Who uses this app? On what device primarily?\n- Any design references to match? (e.g., \"like Linear\", \"like Notion\")\n- Should v0 design within your existing color palette, or choose its own?\n- Any specific interaction patterns needed? (wizards, drag-drop, real-time)\n- Mobile-first or desktop-first?\n- Any non-English text? What language(s)?\n\n**For Design System mode**, ask instead:\n- What's the primary goal — a complete new design system, or refining the existing one?\n- Are you setting up a v0 Design System registry for consistent generation, or do you want a visual design reference?\n- What components need styling? (buttons, cards, inputs, tables, badges, modals, etc.)\n\n**If the user mentions a design reference** (e.g., \"like Linear\"):\nUse **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.\"\n\n**Do NOT research design references, competitor UIs, or design systems unless the user explicitly names one.**\n\n**2-4 questions max.** If the argument already contains enough detail, skip directly to generation.\n\n---\n\n## Step 4: Generate Context Message\n\nCreate a context message to paste FIRST in the v0 chat. This sets the design direction for all pages.\n\n**Template**:\n```\nI'm building \"[App Name]\" — [one-line description]. It's a [framework] app with [component library] + [CSS framework].\n\nThe app has these pages: [list ALL pages, including existing ones not being redesigned].\n\nI'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.\n\n[Special notes: language (with example text), mobile-first, RTL if applicable, user type]\n\nReady? I'll start with [first page — pick the most visually complex one].\n```\n\n**Rules**:\n- Under 150 words\n- List ALL pages (even existing ones) so v0 designs consistently\n- State component library explicitly (shadcn\u002Fui, etc.)\n- Include non-English language note with 2-3 example strings if applicable\n- Mention RTL if the language requires it (Arabic, Hebrew)\n- Recommend font stack for non-Latin scripts: \"Georgian text uses Noto Sans Georgian\", \"Chinese uses Noto Sans SC\"\n\n**For component mode**: Skip the context message. Generate a single component prompt directly.\n\n**For design system mode**: Skip the context message. Generate a design system prompt directly (see Step 5).\n\n**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.\n\n---\n\n## Step 5: Generate Page\u002FComponent\u002FDesign System Prompts\n\n### For each page:\n\nFollow the three-part framework (800-1200 words per prompt):\n\n```\nDesign [page description] for \"[App Name]\".\n\n[PRODUCT SURFACE — what the user sees and interacts with]\nLayout:\n- [Overall structure: sidebar + main, full-width, split-pane, etc.]\n- [Responsive: \"2-column grid on desktop (md:grid-cols-2), single column on mobile\"]\n\nContent:\n- [Element 1]: [exact data fields, text content in target language, states]\n- [Element 2]: [same level of detail]\n- [Empty state]: [what shows when no data — icon + message]\n- [Loading state]: [skeleton\u002Fspinner description if data-dependent]\n\nInteractions:\n- [Hover effects, click actions, expand\u002Fcollapse, tooltips]\n- [Navigation: what links where]\n\n[CONTEXT OF USE]\n- Used by [user type] on [device], primarily for [task]\n- [Frequency of use: daily check vs occasional config]\n\n[CONSTRAINTS]\nDesign requirements:\n- [Responsive behavior with specific breakpoints if needed]\n- Dark mode variant\n- [Mobile: bottom nav, safe-area padding, touch targets min 44px]\n- [Accessibility: color contrast, keyboard nav]\n- Use [component library] components: [name specific ones — Card, Badge, Table, etc.]\n- Use [CSS framework], [icon library], Next.js \"use client\"\n```\n\n### For single components:\n\nShorter prompt (400-600 words), skip layout\u002Fnavigation, focus on the component itself:\n\n```\nDesign a [component type] component for \"[App Name]\".\n\nData: [fields, types, example values]\nStates: [loading, empty, error, populated]\nInteractions: [sort, filter, expand, select, hover]\nVariants: [compact vs expanded, light vs dark]\n\nDesign: [specific shadcn\u002Fui base component], [Tailwind], dark mode.\n```\n\n### For design systems:\n\nSingle comprehensive prompt (800-1200 words):\n\n```\nDesign a complete design system reference for \"[App Name]\" — [one-line description].\n\nThe app uses [framework] + [component library] + [CSS framework].\n\n[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\u002Fdomain].\"]\n\nGenerate a visual reference sheet showing:\n\nCOLOR PALETTE:\n- Primary, secondary, accent, destructive colors with semantic tokens\n- Background and foreground scales (at least 3 levels each)\n- Border, ring, and muted variants\n- Format as CSS custom properties using shadcn\u002Fui naming (--primary, --secondary, etc.)\n- Light AND dark mode values for every token\n\nTYPOGRAPHY:\n- Font family recommendations (with Google Fonts names)\n- Type scale: xs through 4xl with sizes, weights, and line-heights\n- Heading styles (h1-h4) and body text styles\n- [If non-Latin: \"Include [language] font stack — e.g., Noto Sans Georgian\"]\n\nSPACING & SHAPE:\n- Spacing scale (4px base, show common values)\n- Border radius scale (sm, md, lg, xl, full)\n- Shadow scale (sm, md, lg) for cards, dropdowns, modals\n- Border widths and styles\n\nCOMPONENT STYLING:\n- Buttons: primary, secondary, outline, ghost, destructive — all states (hover, active, disabled, focus)\n- Cards: default, interactive (hover lift\u002Fborder), nested\n- Inputs: default, focus, error, disabled\n- Badges: status variants (success, warning, error, info, neutral)\n- Tables: header, row, hover, striped variant\n- [Additional components from project: list specific ones]\n\nINTERACTION PATTERNS:\n- Hover transitions (duration, easing)\n- Focus ring style\n- Active\u002Fpressed states\n- Loading indicators (skeleton, spinner)\n\nMake every token copyable. Show visual swatches next to color values. Use shadcn\u002Fui components for all examples.\n```\n\n**Alternative path — v0 Design System registry**: If the user wants consistent v0 generation across all chats (not just a visual reference), suggest setting up a v0 Design System registry instead:\n1. Fork the [registry-starter](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fregistry-starter) template\n2. Customize `src\u002Fapp\u002Ftokens.css` with the project's color tokens\n3. Update `src\u002Fapp\u002Flayout.tsx` with the project's font\n4. Deploy and connect to v0 project settings\n\nThis is more work but produces infrastructure, not just a reference sheet. Ask which path the user prefers.\n\n### Page ordering strategy:\n\nGenerate the most visually complex page first (usually dashboard or main content page). This establishes the richest design language. Simpler pages inherit the established style.\n\n### Shared components:\n\nIf multiple pages share navigation (sidebar, header, bottom nav), include it in the FIRST page prompt. For subsequent pages, say: \"Use the same sidebar\u002Fheader\u002Fbottom nav from the previous page.\"\n\n### Specialized patterns:\n\n**Multi-step forms\u002Fwizards**: Describe all steps in one prompt. Specify step indicator style, navigation (back\u002Fnext), validation behavior, conditional steps.\n\n**Data tables**: Specify columns, sort\u002Ffilter behavior, pagination, row actions, empty state. Name the Table component from shadcn\u002Fui.\n\n**Charts\u002Fvisualizations**: Specify chart library (recharts for shadcn\u002Fui). Describe chart type, axis labels, data format, tooltips, responsive behavior, empty state.\n\n**Mobile-first**: Specify \"design for 375px width as baseline.\" Include: bottom navigation, sheet drawers (not modals), swipe gestures, safe-area padding, touch targets ≥44px.\n\n---\n\n## Step 6: Generate Iteration Prompts\n\nProvide 3-5 specific follow-up prompts tailored to the generated pages (not generic). These should address the most common adjustments:\n\n```\n## Iteration Prompts\n\nIf the [page name] feels too busy:\n→ \"Simplify [page name] — reduce to [N] cards, increase whitespace, remove [specific element]\"\n\nIf dark mode doesn't look right:\n→ \"In dark mode, make the card backgrounds slightly lighter (bg-card) and reduce border opacity\"\n\nIf mobile layout is broken:\n→ \"On mobile (\u003C768px), stack all cards vertically, replace sidebar with bottom nav sheet\"\n\nIf the theme drifts between pages:\n→ \"Match the style of [first page] — same card radius, shadow depth, color palette\"\n```\n\n**For design systems**, provide iteration prompts like:\n- \"Add hover\u002Ffocus\u002Factive states to all interactive components\"\n- \"Make the color palette warmer\u002Fcooler — shift primary hue by 15 degrees\"\n- \"Add a compact density variant for data-heavy views\"\n\n**v0 Design Mode tip**: For visual tweaks (colors, spacing, typography adjustments), suggest using v0's Design Mode instead of re-prompting — it's faster and doesn't cost credits.\n\n---\n\n## Step 7: Verify and Output\n\n**Before writing, verify each prompt against this checklist**:\n\n- [ ] Specific component names and data fields (not vague)\n- [ ] Responsive behavior with breakpoint (mobile + desktop)\n- [ ] Dark mode explicitly mentioned\n- [ ] Actual text content in target language (spelled out, not \"Georgian text\")\n- [ ] Empty\u002Floading\u002Ferror states for data-dependent sections\n- [ ] Interaction descriptions (hover, click, expand, tooltip)\n- [ ] Between 800-1200 words (pages\u002Fdesign systems) or 400-600 words (components)\n- [ ] Component library + CSS framework specified\n- [ ] No conflicting instructions between prompts\n- [ ] Page ordering: most complex first\n- [ ] Shared components referenced (not re-described) after first page\n- [ ] Accessibility: color contrast mention, touch targets for mobile\n- [ ] Font stack specified for non-Latin scripts\n\nWrite to `docs\u002Fv0-prompts.md` (or the filename the user specifies).\n\n**Output structure for pages\u002Fcomponents**:\n```markdown\n# v0.dev Design Prompts — [App Name]\n\n## How to Use\n1. Go to v0.dev → start a NEW chat (or open your v0 project)\n2. Paste the Context Message first (or save it as a v0 Instruction for reuse)\n3. Paste each page prompt one at a time, in order\n4. Use iteration prompts if results need adjustment\n5. Use Design Mode (free) for visual tweaks — colors, spacing, typography\n6. Download zip after each page for backup\n\n## Context Message\n\\`\\`\\`\n[context message]\n\\`\\`\\`\n\n## Page 1: [Name] (generate first — establishes design language)\n\\`\\`\\`\n[prompt]\n\\`\\`\\`\n\n## Page 2: [Name]\n\\`\\`\\`\n[prompt]\n\\`\\`\\`\n\n## Iteration Prompts\n[tailored follow-ups]\n```\n\n**Output structure for design systems**:\n```markdown\n# v0.dev Design System Prompts — [App Name]\n\n## How to Use\n1. Go to v0.dev → start a NEW chat\n2. Paste the design system prompt below\n3. Use Design Mode to fine-tune colors, typography, spacing visually\n4. Copy the generated token values into your project's globals.css \u002F tokens.css\n5. For persistent v0 integration, set up a Design System registry (see below)\n\n## Design System Prompt\n\\`\\`\\`\n[design system prompt]\n\\`\\`\\`\n\n## Iteration Prompts\n[tailored follow-ups]\n\n## Next Steps: v0 Design System Registry (Optional)\nTo make v0 use your design system automatically in all future chats:\n1. Fork vercel\u002Fregistry-starter\n2. Replace tokens.css with your generated tokens\n3. Deploy and connect to your v0 project\n```\n",{"name":5,"phase":20,"effort":43,"description":7,"allowed-tools":44,"argument-hint":45,"catalog-order":46,"feedback-profile":47,"disable-model-invocation":48},"medium","Read, Glob, Grep, Agent, WebSearch, WebFetch, Write, AskUserQuestion","\u003Capp-description, feature, component, or design-system>",35,"advisory",true,"main","62a5cbde2da44ccf4660521f0e3b2286f71dcbfd","skills\u002Fv0-design","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@cj-ways\u002Farcana","https:\u002F\u002Fgithub.com\u002Fcj-ways","2026-04-27 15:57:45",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":48},[58,61,64],{"tool":59,"command":60},"npx","npx skills add cj-ways\u002Farcana --skill v0-design",{"tool":62,"command":63},"bunx","bunx skills add cj-ways\u002Farcana --skill v0-design",{"tool":65,"command":66},"pnpm","pnpm dlx skills add cj-ways\u002Farcana --skill v0-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fv0-design\u002FSKILL.md",[],[70,94,114,136,158,176],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":38},"01M6ER4J1MAN09RA7ZVFQP5WC0","skill-scout","Scouts major skill providers for skills that match the current project — fetches catalogs, analyzes the codebase, cross-matches, and recommends with evidence. Critical assessment, not a dump of everything available. Manual via \u002Fskill-scout.","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fskill-scout\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,32,86,87,88,89,47,25,90,91,92,93],"skill scout","scout","testing","security","workflow","assessment","Providers","Bash","grep","webfetch","ops","evidence","focus","critical","dump","via","utility",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":38},"01M6ER4EGNXCNN8P05RKVCQXHC","security-check","Quick security scan — hardcoded secrets, common vulnerabilities, dependency issues. Use when the user asks to check security, scan for secrets, or audit for vulnerabilities. Manual via \u002Fsecurity-check.","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-check\u002FSKILL.md",[],[80,101,102,103,104,105,106,107,84,108,109,85,32,86,110,111,112,113,92,93],"check","security check","vulnerabilities","issues","security scan","audit","secrets","deps","common","use","dependency","scan","scope",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M6ER4A08G4CPT443J7XSHDJQ","release-check","Analyzes branch diff to generate deploy checklists — env vars, migrations, new services, dependencies, schema changes, breaking changes. Works across any tech stack. Manual via \u002Frelease-check [source] [target].","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Frelease-check\u002FSKILL.md",[],[121,122,101,123,124,125,126,84,127,85,128,32,129,130,131,132,133,134,92,135],"release","release check","generate","env vars","services","execution","stack","branch","diff","schema","migrations","dependencies","across","env","tech",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6ER45AQCN9RDAXZA5A5W03C","refactor-plan","Plans and executes safe multi-file refactoring — maps dependency graph, batches changes into atomic commits, runs tests between batches. Prevents the cascading-breakage pattern where agents make sweeping changes that fail halfway. Use for renames, extractions, moves, or structural changes across multiple files. Manual via \u002Frefactor-plan.","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Frefactor-plan\u002FSKILL.md",[],[143,144,145,146,147,148,84,149,150,32,31,151,111,152,153,154,155,133,156,157],"refactor plan","refactor","plan","safe","graph","commits","refactoring","atomic commits","edit","dependency graph","files","maps","pattern","structural","make",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":38},"01M6ER41VW96NCAMSQF8SV31J7","quick-review","Fast single-pass code review with strong false-positive suppression. Reviews git diff for runtime errors, data corruption, security breaches, operational incidents. Use for PR reviews and quick change validation. Manual via \u002Fquick-review.","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fquick-review\u002FSKILL.md",[],[165,166,167,168,169,170,171,172,173,84,85,128,32,110,129,153,25,174,175,92],"review","quick review","code review","change","pr","code","validation","worktree","false-positive","runtime","false",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":38},"01M6ER3Y97Y3WH1NJ35Q9F7XED","pressure-test","Stress-tests an idea, plan, proposal, claim, or request - finds missing assumptions, weak evidence, and asymmetric tradeoffs without manufacturing low-value objections. Use when the user wants adversarial analysis, wants the strongest case for and against something, or wants to know what is missing before deciding. Manual via \u002Fpressure-test.","https:\u002F\u002Fgithub.com\u002Fcj-ways\u002Farcana\u002Fblob\u002Fmain\u002Fskills\u002Fpressure-test\u002FSKILL.md",[],[183,184,185,145,85,32,31,86,110,88,186,47,187,188,92,189,190,93,191,192],"test","pressure test","analysis","claim","tests","missing","proposal","case","manufacturing","stress"]