system-prompts-and-models-o.../docs/.vitepress/dist/assets/en_anthropic_index.md.CYIttota.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.

import{_ as t,c as o,o as a,ae as n}from"./chunks/framework.CBTkueSR.js";const h=JSON.parse('{"title":"Anthropic","description":"","frontmatter":{},"headers":[],"relativePath":"en/anthropic/index.md","filePath":"en/anthropic/index.md"}'),i={name:"en/anthropic/index.md"};function s(r,e,d,c,l,p){return a(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="anthropic" tabindex="-1">Anthropic <a class="header-anchor" href="#anthropic" aria-label="Permalink to &quot;Anthropic&quot;"></a></h1><ul><li><a href="./Claude Code 2.0.html">Claude Code 2.0</a></li><li><a href="./Sonnet 4.5 Prompt.html">Sonnet 4.5 Prompt</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 two core system prompts designed for Claude, the AI assistant developed by Anthropic, corresponding to its specific applications in different products or versions.</p><ul><li><p><strong><code>Claude Code 2.0.md</code></strong>: This file defines the system prompt for an interactive CLI tool named &quot;Claude Code&quot;. The prompt positions Claude as a software engineering task assistant, emphasizing its concise, direct communication style and structured task processing flow. It mandates the use of the <code>TodoWrite</code> tool for task planning and tracking, and running validation steps like lint and typecheck after code changes to ensure code quality. Additionally, it specifies how to answer questions about the product itself by consulting the official documentation via the <code>WebFetch</code> tool.</p></li><li><p><strong><code>Sonnet 4.5 Prompt.md</code></strong>: This file is the system prompt for the general-purpose Claude assistant based on the Sonnet 4.5 model. It defines Claude&#39;s identity as a knowledgeable, empathetic, and intellectually curious conversational partner. The prompt details Claude&#39;s behavioral guidelines, including its knowledge cutoff date, content safety policies, response tone and format, and when to use web search (<code>web_search</code>). Particularly noteworthy is its introduction of the concept of &quot;Artifacts,&quot; guiding Claude on how to encapsulate substantial, high-quality output (such as code, documents, reports) within <code>&lt;artifact&gt;</code> tags, and providing detailed implementation specifications for different types of artifacts (code, Markdown, HTML, React components, etc.).</p></li></ul><p>In summary, through these two prompts, the <code>anthropic</code> directory showcases two forms of the Claude model in different application scenarios: one is a rigorous, process-oriented CLI code assistant (Claude Code), and the other is a powerful, general-purpose conversational assistant (Sonnet 4.5) that focuses on high-quality content generation and user experience.</p>',6)])])}const m=t(i,[["render",s]]);export{h as __pageData,m as default};