w-v0

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Produce a v0 prompt from the current file, selection, and stack. Do not open v0 until the user replies OPEN.
  1. Draft a concise prompt: App Router, TypeScript, Tailwind, shadcn, server components by default, accessible HTML, mobile-first, no secrets or repo-internal paths.
  2. Show the prompt and wait for OPEN, EDIT:, or CANCEL.
  3. On EDIT:, revise and wait again. On CANCEL, stop. On OPEN, URL-encode and open
    https://w-v0.dev?chat={prompt}
    . Reply only that v0 opened; do not dump the URL if it contains the full prompt.
  4. Docs:
    /w-docs
    if behavior or commands changed.
根据当前文件、所选内容和技术栈生成 v0 提示词。在用户回复 OPEN 之前,不要打开 v0。
  1. 起草一段简洁的提示词:使用 App Router、TypeScript、Tailwind 和 shadcn;默认采用 Server Components;使用无障碍 HTML;以移动端优先;不包含任何 secret 或仓库内部路径。
  2. 显示提示词,然后等待 OPEN、EDIT: 或 CANCEL。
  3. 收到 EDIT: 时,修改提示词并再次等待。收到 CANCEL 时,停止。收到 OPEN 时,对提示词进行 URL 编码并打开
    https://w-v0.dev?chat={prompt}
    。只回复“v0 已打开”;如果 URL 包含完整提示词,不要输出该 URL。
  4. 文档:如果行为或命令发生变化,使用
    /w-docs
    。