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

2 lines
2.8 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 t,c as o,o as a,ae as n}from"./chunks/framework.CBTkueSR.js";const m=JSON.parse('{"title":"Leap.new","description":"","frontmatter":{},"headers":[],"relativePath":"en/leapnew/index.md","filePath":"en/leapnew/index.md"}'),i={name:"en/leapnew/index.md"};function s(r,e,c,l,d,p){return a(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="leap-new" tabindex="-1">Leap.new <a class="header-anchor" href="#leap-new" aria-label="Permalink to &quot;Leap.new&quot;"></a></h1><ul><li><a href="./Prompts.html">Prompts</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 for the AI assistant &quot;Leap&quot;. Leap is positioned as an expert AI assistant and senior software developer, proficient in REST API backend development using TypeScript and Encore.ts.</p><ul><li><p><strong><code>Prompts.md</code></strong>: This is Leap&#39;s core system prompt, defining its identity, supported technology stack (Encore.ts backend, React/Vite/Tailwind frontend), and code of conduct. Central to this prompt is the concept of Artifacts, where Leap completes user development tasks by creating comprehensive <code>&lt;leapArtifact&gt;</code> containing a series of file operations (create, modify, delete, move). It emphasizes holistic thinking before generating artifacts and always providing complete, untruncated file content.</p></li><li><p><strong><code>tools.md</code></strong>: Defines in detail the toolset available to Leap in JSON format. These tools are highly structured and closely linked to the concept of artifacts, primarily including:</p><ul><li><strong><code>create_artifact</code></strong>: Creates comprehensive artifacts containing all project file changes.</li><li><strong><code>define_backend_service</code></strong>: Used to define the structure of Encore.ts backend services.</li><li><strong><code>create_react_component</code></strong>: Used to create React frontend components.</li><li>Other auxiliary tools such as <code>setup_authentication</code>, <code>create_database_migration</code>, <code>setup_streaming_api</code>, etc., used to configure and generate code for specific functionalities.</li></ul></li></ul><p>In summary, the <code>leapnew</code> directory, through a unique &quot;artifact-based&quot; development model, builds a highly structured and automated AI development process. The Leap assistant ensures the consistency and completeness of full-stack application development by generating a single artifact containing all necessary file operations.</p>',6)])])}const f=t(i,[["render",s]]);export{m as __pageData,f as default};