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

2 lines
2.5 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 d,o as a,ae as t}from"./chunks/framework.CBTkueSR.js";const m=JSON.parse('{"title":"文档目录","description":"","frontmatter":{},"headers":[],"relativePath":"zh/samedev/index.md","filePath":"zh/samedev/index.md"}'),c={name:"zh/samedev/index.md"};function r(s,e,l,i,n,p){return a(),d("div",null,[...e[0]||(e[0]=[t('<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>此目录包含了为在 Same一个云端IDE中运行的AI编程助手设计的核心系统提示和工具集。该助手由 <code>gpt-4.1</code> 驱动旨在与用户结对编程以开发Web应用程序。</p><ul><li><p><strong><code>Prompt.md</code></strong>: 这是核心的系统提示定义了AI助手的身份、服务策略、沟通方式以及在代码修改、Web开发、设计和调试等方面的详细指导方针。它特别强调了并行工具调用以提高效率通过 <code>.same/todos.md</code> 文件进行任务管理,以及使用 <code>startup</code> 工具和 <code>bun</code> 包管理器来初始化项目的最佳实践。此外,它还包含了关于网站克隆和与任务代理(<code>task_agent</code>)协作的详细说明。</p></li><li><p><strong><code>Tools.md</code></strong>: 以JSON格式详细定义了AI助手可用的所有工具。这些工具覆盖了从项目启动<code>startup</code>)、代码探索(<code>ls</code>, <code>glob</code>, <code>grep</code>)、文件操作(<code>read_file</code>, <code>edit_file</code>, <code>string_replace</code>)到版本控制(<code>versioning</code>)、部署(<code>deploy</code>)和网页抓取(<code>web_scrape</code>)的全过程。值得注意的是,它包含一个强大的 <code>task_agent</code> 工具,可以启动一个功能齐全的子代理来执行复杂任务。</p></li></ul><p>总而言之这两个文件共同描绘了一个功能全面、工作流程规范化的AI开发代理它能够在Same IDE环境中高效、自主地完成从项目初始化到部署的整个Web开发生命周期。</p>',6)])])}const h=o(c,[["render",r]]);export{m as __pageData,h as default};