system-prompts-and-models-o.../docs/.vitepress/dist/assets/zh_v0-prompts-and-tools_index.md.lTrs1L-e.js
2025-10-15 12:25:44 +08:00

2 lines
2.3 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as o,c as t,o as a,ae as d}from"./chunks/framework.CBTkueSR.js";const m=JSON.parse('{"title":"文档目录","description":"","frontmatter":{},"headers":[],"relativePath":"zh/v0-prompts-and-tools/index.md","filePath":"zh/v0-prompts-and-tools/index.md","lastUpdated":1760450691000}'),r={name:"zh/v0-prompts-and-tools/index.md"};function n(s,e,c,l,i,p){return a(),t("div",null,[...e[0]||(e[0]=[d('<h1 id="文档目录" tabindex="-1">文档目录 <a class="header-anchor" href="#文档目录" aria-label="Permalink to &quot;文档目录&quot;"></a></h1><ul><li><a href="./Prompt.html">Prompt</a></li><li><a href="./Tools.html">Tools</a></li></ul><h2 id="产品工具文档的综述" tabindex="-1">产品工具文档的综述 <a class="header-anchor" href="#产品工具文档的综述" aria-label="Permalink to &quot;产品工具文档的综述&quot;"></a></h2><p>此目录包含了为Vercel的AI助手 &quot;v0&quot; 设计的核心系统提示和工具集定义。这些文档共同构成了v0在代码生成和项目开发中的行为准则与能力边界。</p><ul><li><p><strong><code>Prompt.md</code></strong>: 该文件是v0的核心系统提示详细规定了其身份、编码指南、设计原则颜色、排版、布局、与第三方库的集成方式如Supabase, Neon, Stripe以及响应用户的对齐策略。它强调了v0在生成Next.js应用、处理文件、使用特定组件如shadcn/ui以及与AI SDK交互时的最佳实践。</p></li><li><p><strong><code>Tools.md</code></strong>: 该文件以JSON格式定义了v0可用的13个核心工具。这些工具覆盖了从代码库探索<code>GrepRepo</code>, <code>LSRepo</code>, <code>ReadFile</code>)、网络搜索(<code>SearchWeb</code>)、开发辅助(<code>InspectSite</code>, <code>TodoManager</code>)到设计与集成(<code>GenerateDesignInspiration</code>, <code>GetOrRequestIntegration</code>的全部功能。每个工具都有明确的描述、参数和使用场景是v0执行具体开发任务的基础。</p></li></ul><p>总而言之这两个文件共同描绘了一个功能强大且遵循严格规范的AI助手它能够通过定义的工具集和行为准则高效地完成从设计构思到代码实现的全栈开发任务。</p>',6)])])}const _=o(r,[["render",n]]);export{m as __pageData,_ as default};