添加总结

添加总结
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,6 +1,6 @@
## claude-4-sonnet-agent-prompts.txt
```text
````text
# Role
You are Augment Agent developed by Augment Code, an agentic coding AI assistant with access to the developer's codebase through Augment's world-leading context engine and integrations.
You can read from and write to the codebase using the provided tools.
@@ -159,4 +159,6 @@ Here are the memories from previous interactions between the AI assistant (you)
- If you find yourself repeatedly calling tools without making progress, ask the user for help
Answer the user's request using at most one relevant tool, if they are available. Check that the all required parameters for each tool call is provided or can reasonbly be inferred from context. IF there are no relevant tools or there are missing values for required parameters, ask the user to supply these values; otherwise proceed with the tool calls. If the user provides a specific value for a parameter (for example provided in quotes), make sure to use that value EXACTLY. DO NOT make up values for or ask about optional parameters.
```
````

View File

@@ -1,3 +1,7 @@
## Claude Sonnet 4 Tools Document Summary
This document contains the collection of tools available for the Claude Sonnet 4 model, which provide the AI assistant with rich code manipulation and system interaction capabilities. The tools cover various aspects from file editing, process management, web browsing to code retrieval, enabling the AI to perform precise programming tasks in complex development environments. Special emphasis is placed on secure file editing mechanisms and integration with version control systems.
## claude-4-sonnet-tools.json
```json

View File

@@ -1,6 +1,6 @@
## gpt-5-agent-prompts.txt
```text
````text
# Role
You are Augment Agent developed by Augment Code, an agentic coding AI assistant with access to the developer's codebase through Augment's world-leading context engine and integrations.
You can read from and write to the codebase using the provided tools.
@@ -242,4 +242,5 @@ If you've been using task management during this conversation:
# Success Criteria
Solution should be correct, minimal, tested (or testable), and maintainable by other developers with clear run/test commands provided.
```
````

View File

@@ -1,3 +1,7 @@
## GPT-5 Tools Document Summary
This document contains the collection of tools available for the GPT-5 model, which provide the AI assistant with the ability to interact with the codebase, file system, process management, and network resources. The tools cover a variety of functions from file viewing, code editing, process control to web search, enabling the AI to perform complex programming tasks in a development environment.
## gpt-5-tools.json
```json

View File

@@ -1,11 +1,20 @@
# Augment Code (EN)
# Augment Code
## 内容列表
- [claude-4-sonnet-agent-prompts](./claude-4-sonnet-agent-prompts.md)
- [claude-4-sonnet-tools](./claude-4-sonnet-tools.md)
- [gpt-5-agent-prompts](./gpt-5-agent-prompts.md)
- [gpt-5-tools](./gpt-5-tools.md)
- 📄 [claude-4-sonnet-agent-prompts](/en/en/augment-code/claude-4-sonnet-agent-prompts.md)
- 📄 [claude-4-sonnet-tools](/en/en/augment-code/claude-4-sonnet-tools.md)
- 📄 [gpt-5-agent-prompts](/en/en/augment-code/gpt-5-agent-prompts.md)
- 📄 [gpt-5-tools](/en/en/augment-code/gpt-5-tools.md)
## Summary of Product Tool Documents
This directory contains system prompts and tool definitions designed for the AI coding assistant "Augment Agent," developed by Augment Code. The assistant is designed to access a developer's codebase through its context engine and integrations. The core of this directory is to provide customized configurations for different underlying large language models.
*完整还原。*
- **Claude 4 Sonnet Version**:
- **`claude-4-sonnet-agent-prompts.md`**: This is the core system prompt for the Claude 4 Sonnet model. It defines the identity of the Augment Agent, the initial task workflow (emphasizing information gathering), planning and task management (using tools like `add_tasks`, `update_tasks`), code editing specifications, and package management principles.
- **`claude-4-sonnet-tools.md`**: Defines in detail the set of available tools under this configuration in JSON format. These tools include a powerful file editing tool `str-replace-editor`, process management tools (`launch-process`, `kill-process`), code retrieval tools (`codebase-retrieval`, `git-commit-retrieval`), and task management tools.
- **GPT-5 Version**:
- **`gpt-5-agent-prompts.md`**: This is the system prompt for the GPT-5 model. Similar to the Claude version, it also defines the agent's identity and behavior, but provides more specific guidance on information gathering strategies, planning and task management (especially the trigger conditions and usage of the task list), and code editing (`str_replace_editor`).
- **`gpt-5-tools.md`**: Defines the toolset under the GPT-5 configuration, whose functionality is basically the same as the Claude version, but there may be slight differences in tool descriptions and parameters to better adapt to the capabilities of the GPT-5 model.
In summary, the `augment-code` directory demonstrates a flexible AI agent architecture that can be adapted to different models by providing customized prompts and tool definitions for different LLMs, enabling it to consistently perform advanced development tasks such as code understanding, planning, editing, and validation.