diff --git a/packages/coding-agent/src/prompts/tools/bash.md b/packages/coding-agent/src/prompts/tools/bash.md index a79eadd39..fb10f9d95 100644 --- a/packages/coding-agent/src/prompts/tools/bash.md +++ b/packages/coding-agent/src/prompts/tools/bash.md @@ -1,7 +1,6 @@ Runs commands in a persistent shell session. Use ONLY for: single binary call or short pipeline that COMPUTES a fact (`wc -l`, `sort | uniq -c`, `comm`, `diff`). -GitHub repository file? MUST use `github` `file_read` when available; otherwise `read`. NEVER use `curl`/`wget`. {{#if hasLaunch}}Services, watchers, debuggers, REPLs → `hub` (`op:"start"`).{{/if}} {{#if hasEval}}Inline scripts, heredocs, shell control flow, `$(…)`, multi-stage pipelines, `&&`-chains, quote/JSON escaping → `eval` cells.{{else}}Inline scripts, heredocs, shell control flow, `$(…)`, multi-stage pipelines, `&&`-chains → purpose-built tool or checked-in script.{{/if}} diff --git a/packages/coding-agent/src/prompts/tools/debug.md b/packages/coding-agent/src/prompts/tools/debug.md index e5c59a2c0..6fb45785d 100644 --- a/packages/coding-agent/src/prompts/tools/debug.md +++ b/packages/coding-agent/src/prompts/tools/debug.md @@ -1,9 +1,3 @@ Debugger access. Prefer over bash for program state, breakpoints, stepping, or thread inspection. - -Only one active session at a time. `program` is a target path, not a shell command. Directories need a directory-capable adapter (`dlv`). - -Adapters: -- Python: `debugpy` (`pip install debugpy`) -- JavaScript/TypeScript: vscode-js-debug via Mason, or set `JS_DEBUG_DAP_SERVER` to its `dapDebugServer.js` -- Go: Delve (`go install github.com/go-delve/delve/cmd/dlv@latest`) -- Ruby: `rdbg` (`gem install debug`) +Only one active session at a time. `program` is a target path, not a shell command. +Directories need a directory-capable adapter (e.g. `dlv`). \ No newline at end of file diff --git a/packages/coding-agent/src/prompts/tools/read.md b/packages/coding-agent/src/prompts/tools/read.md index 5caf2d77d..47610ccdb 100644 --- a/packages/coding-agent/src/prompts/tools/read.md +++ b/packages/coding-agent/src/prompts/tools/read.md @@ -3,7 +3,6 @@ Read files, directories, archives, SQLite, images, documents, internal resources - SHOULD parallelize independent reads. - SHOULD use `read` (not browser) for web content; browser only when `read` can't deliver. -- GitHub repository file? MUST use `github` `file_read` when available; otherwise `read`. NEVER use `curl`/`wget`. ## Selectors — append `:` to `path` (e.g. `src/foo.ts:50-200`, `src/foo.ts:raw`, `db.sqlite:users:42`)