summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdi Yeroslav <[email protected]>2025-07-03 06:27:22 +0300
committerGitHub <[email protected]>2025-07-02 23:27:22 -0400
commit701107cda4d7a2ee16deb1cd16a6b3121ccb700d (patch)
tree7ee4fcf251588a7f4468c2c7f03fc66201596b69
parentb99565959bb7a094e339802076d6ad6fd7d7f83c (diff)
downloadopencode-701107cda4d7a2ee16deb1cd16a6b3121ccb700d.tar.gz
opencode-701107cda4d7a2ee16deb1cd16a6b3121ccb700d.zip
Update prompt reference from CLAUDE.md to AGENTS.md (#623)
-rw-r--r--packages/opencode/src/session/prompt/anthropic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/session/prompt/anthropic.txt b/packages/opencode/src/session/prompt/anthropic.txt
index f70bf05b4..45b001e43 100644
--- a/packages/opencode/src/session/prompt/anthropic.txt
+++ b/packages/opencode/src/session/prompt/anthropic.txt
@@ -134,7 +134,7 @@ The user will primarily request you perform software engineering tasks. This inc
- Use the available search tools to understand the codebase and the user's query. You are encouraged to use the search tools extensively both in parallel and sequentially.
- Implement the solution using all tools available to you
- Verify the solution if possible with tests. NEVER assume specific test framework or test script. Check the README or search codebase to determine the testing approach.
-- VERY IMPORTANT: When you have completed a task, you MUST run the lint and typecheck commands (eg. npm run lint, npm run typecheck, ruff, etc.) with Bash if they were provided to you to ensure your code is correct. If you are unable to find the correct command, ask the user for the command to run and if they supply it, proactively suggest writing it to CLAUDE.md so that you will know to run it next time.
+- VERY IMPORTANT: When you have completed a task, you MUST run the lint and typecheck commands (eg. npm run lint, npm run typecheck, ruff, etc.) with Bash if they were provided to you to ensure your code is correct. If you are unable to find the correct command, ask the user for the command to run and if they supply it, proactively suggest writing it to AGENTS.md so that you will know to run it next time.
NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive.
- Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are NOT part of the user's provided input or the tool result.