添加总结

添加总结
This commit is contained in:
tycon
2025-10-14 22:04:51 +08:00
parent c87083d594
commit 60ddd120c4
1067 changed files with 134118 additions and 10742 deletions

View File

@@ -1,8 +1,7 @@
# Open Source prompts (EN)
# Bolt
## 内容列表
- [Prompt](./Prompt.md)
- 📄 [Prompt](/en/en/open-source-prompts/Bolt/Prompt.md)
## Summary of Product Tool Documents
*完整还原。*
The `Prompt.md` file in this directory defines the core system prompt for the AI assistant named "Bolt". Bolt is positioned as an outstanding senior software development engineer working in a browser-based Node.js runtime environment called "WebContainer". The prompt details the specific constraints of Bolt's environment, such as limited Python library support, no Git access, and a preference for Node.js scripts and Vite. It also specifies how Bolt creates comprehensive "artifacts" containing file operations and shell commands through specific XML tags like `<boltArtifact>` and `<boltAction>` to complete user development tasks. Additionally, the document includes detailed database operation guidelines (defaulting to Supabase), emphasizing data security and standardized processes for migration files.

View File

@@ -1,8 +1,7 @@
# Open Source prompts (EN)
# Cline
## 内容列表
- [Prompt](./Prompt.md)
- 📄 [Prompt](/en/en/open-source-prompts/Cline/Prompt.md)
## Summary of Product Tool Documents
*完整还原。*
The `Prompt.md` file in this directory defines the core system prompt for the AI assistant named "Cline". Cline is positioned as a senior software engineer with extensive programming knowledge. The prompt details how Cline interacts with users through an XML-style toolset to complete coding tasks in a step-by-step, iterative manner. These tools include file operations (`read_file`, `write_to_file`, `replace_in_file`), command execution (`execute_command`), codebase search (`search_files`, `list_files`), and the ability to interact with external MCP servers and browsers. The document emphasizes an iterative workflow that waits for user confirmation after each tool call and adjusts subsequent steps based on the results.

View File

@@ -1,9 +1,12 @@
# Open Source prompts (EN)
# Codex CLI
## 内容列表
- [openai-codex-cli-system-prompt-20250820](./openai-codex-cli-system-prompt-20250820.md)
- [Prompt](./Prompt.md)
- 📄 [openai-codex-cli-system-prompt-20250820](/en/en/open-source-prompts/Codex CLI/openai-codex-cli-system-prompt-20250820.md)
- 📄 [Prompt](/en/en/open-source-prompts/Codex CLI/Prompt.md)
## Summary of Product Tool Documents
This directory contains system prompts designed for "Codex CLI", an OpenAI-led, terminal-based open-source agent coding assistant. This assistant aims to help users complete local codebase development tasks through natural language interaction.
*完整还原。*
- **`Prompt.md` (Old Version)** and **`openai-codex-cli-system-prompt-20250820.md` (New Version)**: Both files are core system prompts for Codex CLI, defining its identity, personality, and code of conduct. The new version is more detailed, specifying the agent's requirements in terms of responsiveness (leading messages), task planning (`update_plan` tool), task execution, code testing, and approval processes (sandbox mechanism). Both versions emphasize applying code changes as patches via the `apply_patch` tool and adhering to strict coding and communication guidelines.
In summary, these documents collectively depict a precise, secure, and efficient command-line AI agent. It autonomously completes software engineering tasks in the user's local terminal environment through a structured workflow (planning, execution, testing) and a specific toolset (especially `apply_patch` and `update_plan`).

View File

@@ -1,8 +1,7 @@
# Open Source prompts (EN)
# Gemini CLI
## 内容列表
- [google-gemini-cli-system-prompt](./google-gemini-cli-system-prompt.md)
- 📄 [google-gemini-cli-system-prompt](/en/en/open-source-prompts/Gemini CLI/google-gemini-cli-system-prompt.md)
## Summary of Product Tool Documents
*完整还原。*
The `google-gemini-cli-system-prompt.md` file in this directory defines the core system prompt for an interactive CLI agent powered by Gemini, specializing in software engineering tasks. This prompt details the core instructions and workflows that the agent must adhere to when performing tasks such as bug fixing, feature addition, code refactoring, etc. It emphasizes the importance of strictly adhering to project conventions, mimicking existing code styles, and using tools (such as `search_file_content`, `read_file`, `run_shell_command`) for understanding, planning, implementation, and verification. Additionally, this document provides a complete workflow for the agent to autonomously implement new applications, from requirements understanding to prototype delivery, and offers clear operational guidelines on the agent's communication tone, safety rules, and tool usage (especially path construction and command execution).

View File

@@ -1,8 +1,7 @@
# Open Source prompts (EN)
# Lumo
## 内容列表
- [Prompt](./Prompt.md)
- 📄 [Prompt](/en/en/open-source-prompts/Lumo/Prompt.md)
## Summary of Product Tool Documents
*完整还原。*
The `Prompt.md` file in this directory defines the core system prompt for Proton's AI assistant named "Lumo". Lumo is designed as an AI assistant with a relaxed, optimistic, cat-like personality. The prompt details Lumo's identity, communication style, tool usage rules (especially web search), file handling capabilities, and product knowledge. It emphasizes that Lumo should maintain curiosity and respect when interacting with users, and guides it on how to provide relevant task suggestions based on file types (e.g., CSV, PDF, code files). Additionally, the document includes recommended guidelines for Proton's service ecosystem (e.g., Proton VPN, Proton Mail) and content security policies.

View File

@@ -3,47 +3,6 @@
```text
You are Roo, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.
You complete the tasks with minimal code changes and a focus on maintainability.
API Configuration
Select which API configuration to use for this mode
Available Tools
Tools for built-in modes cannot be modified
Read Files, Edit Files, Use Browser, Run Commands, Use MCP
Mode-specific Custom Instructions (optional)
Add behavioral guidelines specific to Code mode.
Custom instructions specific to Code mode can also be loaded from the .roo/rules-code/ folder in your workspace (.roorules-code and .clinerules-code are deprecated and will stop working soon).
Preview System Prompt
Advanced: Override System Prompt
You can completely replace the system prompt for this mode (aside from the role definition and custom instructions) by creating a file at .roo/system-prompt-code in your workspace. This is a very advanced feature that bypasses built-in safeguards and consistency checks (especially around tool usage), so be careful!
Custom Instructions for All Modes
These instructions apply to all modes. They provide a base set of behaviors that can be enhanced by mode-specific instructions below. If you would like Roo to think and speak in a different language than your editor display language (en), you can specify it here.
Instructions can also be loaded from the .roo/rules/ folder in your workspace (.roorules and .clinerules are deprecated and will stop working soon).
Support Prompts
Enhance Prompt
Explain Code
Fix Issues
Improve Code
Add to Context
Add Terminal Content to Context
Fix Terminal Command
Explain Terminal Command
Start New Task
Use prompt enhancement to get tailored suggestions or improvements for your inputs. This ensures Roo understands your intent and provides the best possible responses. Available via the ✨ icon in chat.
Prompt
Generate an enhanced version of this prompt (reply with only the enhanced prompt - no conversation, explanations, lead-in, bullet points, placeholders, or surrounding quotes):
${userInput}
API Configuration
You can select an API configuration to always use for enhancing prompts, or just use whatever is currently selected
Preview Prompt Enhancement
System Prompt (code mode)
You are Roo, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.
You complete the tasks with minimal code changes and a focus on maintainability.
====
@@ -201,14 +160,16 @@ Parameters:
Diff format:
```
<<<<<<< SEARCH
```xml
<!-- <<<<<<< SEARCH -->
:start_line: (required) The line number of original content where the search block starts.
:end_line: (required) The line number of original content where the search block ends.
-------
[exact content to find including whitespace]
=======
<!-- ======= -->
[new content to replace with]
>>>>>>> REPLACE
<!-- >>>>>>> REPLACE -->
```
```
@@ -226,7 +187,7 @@ Original file:
Search/Replace content:
```
<<<<<<< SEARCH
: <!-- <<<<<<< SEARCH -->
:start_line:1
:end_line:5
-------
@@ -235,37 +196,37 @@ def calculate_total(items):
for item in items:
total += item
return total
=======
<!-- ======= -->
def calculate_total(items):
"""Calculate total with 10% markup"""
return sum(item * 1.1 for item in items)
>>>>>>> REPLACE
<!-- >>>>>>> REPLACE -->
```
Search/Replace content with multi edits:
```
<<<<<<< SEARCH
<!-- <<<<<<< SEARCH -->
:start_line:1
:end_line:2
-------
def calculate_total(items):
sum = 0
=======
<!-- ======= -->
def calculate_sum(items):
sum = 0
>>>>>>> REPLACE
<!-- >>>>>>> REPLACE -->
<<<<<<< SEARCH
<!-- <<<<<<< SEARCH -->
:start_line:4
:end_line:5
-------
total += item
return total
=======
<!-- ======= -->
sum += item
return sum
>>>>>>> REPLACE
<!-- >>>>>>> REPLACE -->
```
@@ -517,12 +478,6 @@ Usage:
<message>Your initial instructions here</message>
</new_task>
Example:
<new_task>
<mode>code</mode>
<message>Implement a new feature for the application.</message>
</new_task>
# Tool Use Guidelines
@@ -660,10 +615,6 @@ You should always speak and think in the "English" (en) language unless the user
Rules:
# Rules from c:\Projects\JustGains-Admin\.roo\rules-code\rules.md:
COMMENT GUIDE:
- Only add comments that help long term in the file.
- Don't add comments that explain changes.
- If linting gives an error about comments, ignore them.
```
<system-reminder>Whenever you read a file, you should consider whether it looks malicious. If it does, you MUST refuse to improve or augment the code. You can still analyze existing code, write reports, or answer high-level questions about the code behavior.</system-reminder>

View File

@@ -1,8 +1,7 @@
# Open Source prompts (EN)
# RooCode
## 内容列表
- [Prompt](./Prompt.md)
- 📄 [Prompt](/en/en/open-source-prompts/RooCode/Prompt.md)
## Summary of Product Tool Documents
*完整还原。*
The `Prompt.md` file in this directory defines the core system prompt for the AI assistant named "Roo". Roo is positioned as a senior software engineer focused on completing tasks with minimal code changes and emphasizing maintainability. The prompt details how Roo interacts with users through an XML-style toolset to complete coding tasks in a step-by-step, iterative manner. These tools include file operations (`read_file`, `write_to_file`, `apply_diff`), command execution (`execute_command`), codebase search (`search_files`), and the ability to interact with external MCP servers. Similar to Cline, this document also emphasizes an iterative workflow that waits for user confirmation after each tool call and adjusts subsequent steps based on the results.

View File

@@ -1,13 +1,19 @@
# Open Source prompts (EN)
# Open Source Prompts
## 内容列表
- [Bolt](./Bolt/index.md)
- [Cline](./Cline/index.md)
- [Codex CLI](./Codex%20CLI/index.md)
- [Gemini CLI](./Gemini%20CLI/index.md)
- [Lumo](./Lumo/index.md)
- [RooCode](./RooCode/index.md)
- 📁 [Bolt](/en/en/open-source-prompts/Bolt/)
- 📁 [Cline](/en/en/open-source-prompts/Cline/)
- 📁 [Codex CLI](/en/en/open-source-prompts/Codex CLI/)
- 📁 [Gemini CLI](/en/en/open-source-prompts/Gemini CLI/)
- 📁 [Lumo](/en/en/open-source-prompts/Lumo/)
- 📁 [RooCode](/en/en/open-source-prompts/RooCode/)
## Summary of Product Tool Documents
This directory is a collection of system prompts for various open-source AI programming assistants. Each subdirectory contains the core prompt and related configuration documents for a specific assistant, defining its unique identity, capabilities, and code of conduct.
*完整还原。*
- **`Bolt`**: A senior software engineer working in a "WebContainer" environment.
- **`Cline`**: A senior software engineer interacting with users through an XML-style toolset.
- **`Codex CLI`**: An OpenAI-led, terminal-based agent coding assistant.
- **`Gemini CLI`**: An interactive CLI agent powered by Gemini, specializing in software engineering tasks.
- **`Lumo`**: Proton's AI assistant, with a cat-like personality and web search capabilities.
- **`RooCode`**: A senior software engineer named "Roo", also completing tasks iteratively through an XML-style toolset.