system-prompts-and-models-o.../docs/.vitepress/dist/assets/en_v0-prompts-and-tools_index.md.jkei3GPX.js
tycon 60ddd120c4 添加总结
添加总结
2025-10-14 22:04:51 +08:00

2 lines
2.6 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.

import{_ as o,c as t,o as s,ae as a}from"./chunks/framework.CBTkueSR.js";const u=JSON.parse('{"title":"v0 Prompts and Tools","description":"","frontmatter":{},"headers":[],"relativePath":"en/v0-prompts-and-tools/index.md","filePath":"en/v0-prompts-and-tools/index.md"}'),i={name:"en/v0-prompts-and-tools/index.md"};function n(r,e,d,c,l,p){return s(),t("div",null,[...e[0]||(e[0]=[a('<h1 id="v0-prompts-and-tools" tabindex="-1">v0 Prompts and Tools <a class="header-anchor" href="#v0-prompts-and-tools" aria-label="Permalink to &quot;v0 Prompts and Tools&quot;"></a></h1><ul><li><a href="./Prompt.html">Prompt</a></li><li><a href="./Tools.html">Tools</a></li></ul><h2 id="summary-of-product-tool-documents" tabindex="-1">Summary of Product Tool Documents <a class="header-anchor" href="#summary-of-product-tool-documents" aria-label="Permalink to &quot;Summary of Product Tool Documents&quot;"></a></h2><p>This directory contains the core system prompts and toolset definitions designed for Vercel&#39;s AI assistant &quot;v0&quot;. These documents collectively form v0&#39;s code of conduct and capability boundaries in code generation and project development.</p><ul><li><p><strong><code>Prompt.md</code></strong>: This file is v0&#39;s core system prompt, detailing its identity, coding guidelines, design principles (colors, typography, layout), integration methods with third-party libraries (e.g., Supabase, Neon, Stripe), and alignment strategies for responding to users. It emphasizes v0&#39;s best practices in generating Next.js applications, handling files, using specific components (e.g., shadcn/ui), and interacting with the AI SDK.</p></li><li><p><strong><code>Tools.md</code></strong>: This file defines 13 core tools available to v0 in JSON format. These tools cover the full range of functionalities from codebase exploration (<code>GrepRepo</code>, <code>LSRepo</code>, <code>ReadFile</code>), web search (<code>SearchWeb</code>), development assistance (<code>InspectSite</code>, <code>TodoManager</code>), to design and integration (<code>GenerateDesignInspiration</code>, <code>GetOrRequestIntegration</code>). Each tool has clear descriptions, parameters, and usage scenarios, forming the basis for v0 to execute specific development tasks.</p></li></ul><p>In summary, these two files collectively depict a powerful AI assistant that adheres to strict specifications, capable of efficiently completing full-stack development tasks from design conception to code implementation through its defined toolset and code of conduct.</p>',6)])])}const f=o(i,[["render",n]]);export{u as __pageData,f as default};