v0-dev
БесплатноБез исполняемых скриптовНе проверенv0 by Vercel expert guidance. Use when discussing AI code generation, generating UI components from prompts, v0 CLI usage, v0 SDK/API integration, or…
от openai★ 8 494 звезды на GitHubОб этом скилле
v0 by Vercel
You are an expert in v0 (v0.app) — Vercel's AI-powered development agent that generates production-ready code from natural language descriptions.
Overview
v0 transforms prompts into working React/Next.js code. It supports 6M+ developers and 80K+ active teams globally. v0 operates as a universal coding agent with research, planning, debugging, and iteration capabilities.
Core Capabilities
- Natural language → code: Describe what you want, get production React components
- Visual input: Upload Figma designs, screenshots, or sketches → code
- Multi-framework: Outputs React, Vue, Svelte, HTML, Markdown
- Agentic intelligence: Research, plan, debug, iterate autonomously
- shadcn/ui + Tailwind CSS: Default styling system
- Full IDE: Built-in VS Code editor, terminal, and git panel in the web UI
CLI Usage
Component Integration CLI (v0 package)
Install and pull v0-generated components into your Next.js project:
# Initialize v0 in an existing Next.js project (one-time setup)
npx v0@latest init
# Add a specific v0-generated component by ID
npx v0@latest add <component-id>
# With pnpm
pnpm dlx v0@latest init
pnpm dlx v0@latest add <component-id>
v0 init installs required dependencies (@radix-ui/react-icons, clsx, lucide-react) and creates a components.json config file.
"Add to Codebase" (Web UI → Local)
From the v0.dev web interface, click the "Add to Codebase" button (terminal icon) to generate a command:
npx shadcn@latest add "https://v0.dev/chat/b/<project_id>?token=<token>"
Run this in your project root to pull the entire generated project into your codebase.
Typical Workflow
# 1. Scaffold a Next.js app
npx create-next-app@latest --typescript --tailwind --eslint
# 2. Initialize v0 integration
npx v0@latest init
# 3. Generate a component on v0.dev, get its ID
# 4. Add the component locally
npx v0@latest add a1B2c3d4
# 5. Import and use in your app
Project Scaffolding CLI
# Create a new project from v0 templates
npx create-v0-sdk-app@latest my-v0-app
# Use the v0-clone template (full v0.dev replica with auth, DB, streaming)
npx create-v0-sdk-app@latest --template v0-clone
v0 SDK (Programmatic API)
Installation
npm install v0-sdk
Authentication
import { v0 } from 'v0-sdk'
// Automatically reads from process.env.V0_API_KEY
// Or create a custom client:
import { createClient } from 'v0-sdk'
const v0 = createClient({ apiKey: process.env.CUSTOM_V0_KEY })
Get your API key at: https://v0.app/chat/settings/keys
Create a Chat and Generate Code
import { v0 } from 'v0-sdk'
const chat = await v0.chats.create({
message: 'Create a responsive navbar with dark mode toggle using Tailwind',
system: 'You are an expert React developer',
})
console.log(`Open in browser: ${chat.webUrl}`)
Full Project Workflow (Create → Chat → Deploy)
import { v0 } from 'v0-sdk'
// Create a project
const project = await v0.projects.create({ name: 'My App' })
// Initialize a chat with existing code
const chat = await v0.chats.init({
type: 'files',
files: [{ name: 'App.tsx', content: existingCode }],
projectId: project.id,
})
// Send follow-up instructions
await v0.chats.sendMessage({
chatId: chat.id,
message: 'Add a sidebar with navigation links and a user avatar',
})
// Deploy when ready
const deployment = await v0.deployments.create({
projectId: project.id,
chatId: chat.id,
versionId: chat.latestVersion.id,
})
console.log(`Live at: ${deployment.url}`)
Download Generated Code
// Download files from a specific chat version
const files = await v0.chats.downloadVersion({
chatId: chat.id,
versionId: chat.latestVersion.id,
})
SDK Method Reference
Chats:
v0.chats.create(params)— Create a new chatv0.chats.sendMessage(params)— Send a message to an existing chatv0.chats.getById(params)— Retrieve a specific chatv0.chats.update(params)— Update chat propertiesv0.chats.findVersions(params)— List all versions of a chatv0.chats.getVersion(params)— Retrieve a specific versionv0.chats.updateVersion(params)— Update files within a versionv0.chats.downloadVersion(params)— Download files for a versionv0.chats.resume(params)— Resume processing of a message
Projects:
v0.projects.create(params)— Create a new projectv0.projects.getById(params)— Retrieve a projectv0.projects.update(params)— Update a projectv0.projects.find()— List all projectsv0.projects.assign(params)— Assign a chat to a projectv0.projects.getByChatId(params)— Get project by chat IDv0.projects.createEnvVars(params)— Create env vars for a project
Deployments:
v0.deployments.create(params)— Create deployment from a chat versionv0.deployments.getById(params)— Get deployment detailsv0.deployments.delete(params)— Delete a deplo
Установить v0-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл v0-dev?
v0 by Vercel expert guidance. Use when discussing AI code generation, generating UI components from prompts, v0 CLI usage, v0 SDK/API integration, or integrating v0 into development workflows with GitHub and Vercel deployment.
Как установить скилл v0-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл v0-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic