mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
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 "文档目录""></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 "产品工具文档的综述""></a></h2><p>此目录包含了为Vercel的AI助手 "v0" 设计的核心系统提示和工具集定义。这些文档共同构成了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};
|