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

2 lines
3.0 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 l}from"./chunks/framework.CBTkueSR.js";const h=JSON.parse('{"title":"文档目录","description":"","frontmatter":{},"headers":[],"relativePath":"zh/lovable/index.md","filePath":"zh/lovable/index.md"}'),d={name:"zh/lovable/index.md"};function c(r,e,n,i,s,p){return a(),t("div",null,[...e[0]||(e[0]=[l('<h1 id="文档目录" tabindex="-1">文档目录 <a class="header-anchor" href="#文档目录" aria-label="Permalink to &quot;文档目录&quot;"></a></h1><ul><li><a href="./Agent Prompt.html">Agent Prompt</a></li><li><a href="./Agent Tools.html">Agent Tools</a></li></ul><h2 id="产品工具文档的综述" tabindex="-1">产品工具文档的综述 <a class="header-anchor" href="#产品工具文档的综述" aria-label="Permalink to &quot;产品工具文档的综述&quot;"></a></h2><p>此目录包含了为AI编辑器 &quot;Lovable&quot; 设计的核心系统提示和工具集。Lovable被定位为一个在浏览器内实时创建和修改Web应用程序的AI助手其技术栈基于React、Vite、Tailwind CSS和TypeScript并与Supabase有原生集成。</p><ul><li><p><strong><code>Agent Prompt.md</code></strong>: 这是Lovable的核心系统提示定义了其身份、界面布局、技术栈限制以及行为准则。该提示强调了在编码前先与用户讨论和规划并遵循“完美的架构”和“最大化效率”特别是并行工具调用的原则。它还详细规定了SEO最佳实践、调试指南、设计原则强调设计系统和避免临时样式以及一个明确的、从检查上下文到实施和验证的必要工作流程。</p></li><li><p><strong><code>Agent Tools.md</code></strong>: 以JSON格式详细定义了Lovable可用的庞大工具集。这些工具功能全面覆盖了软件开发的各个方面包括</p><ul><li><strong>文件与依赖管理</strong>: <code>lov-add-dependency</code>, <code>lov-write</code>, <code>lov-line-replace</code>, <code>lov-rename</code>, <code>lov-delete</code> 等。</li><li><strong>代码与网络探索</strong>: <code>lov-search-files</code>, <code>lov-fetch-website</code>, <code>websearch--web_search</code>。</li><li><strong>调试与分析</strong>: <code>lov-read-console-logs</code>, <code>lov-read-network-requests</code>, <code>analytics--read_project_analytics</code>。</li><li><strong>第三方集成</strong>: 包含<code>supabase--*</code>, <code>imagegen--*</code>, <code>stripe--*</code>, <code>security--*</code>等多个与Supabase、图像生成、Stripe支付和安全扫描相关的专用工具。</li></ul></li></ul><p>总而言之这两个文件共同描绘了一个功能极其强大、工具集极为丰富的AI Web开发助手。它不仅能够处理代码的创建和修改还能进行调试、分析、设计、搜索、安全扫描并深度集成多种第三方服务旨在提供一个一站式的、在浏览器内完成Web应用开发的完整体验。</p>',6)])])}const g=o(d,[["render",c]]);export{h as __pageData,g as default};