Skip to content

Commit 9d41779

Browse files
authored
Document pixi-first agent guidance (#1780)
1 parent 4ab4049 commit 9d41779

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ guide for package-specific conventions and workflows.
2323
(search), `read_file`, `list_dir`, `glob_file_search`, `apply_patch`,
2424
`todo_write/update_plan`. Use `cmd`/`run_terminal_cmd` only when no listed
2525
tool can perform the action.
26+
- If `pixi` is available for this repo, prefer `pixi run ...` or the matching
27+
`pixi` task over invoking raw `python`, `pytest`, `pip`, or similar tools
28+
directly so commands run in the repository-managed environment.
29+
- When extracting or transforming JSON in shell workflows, prefer `jq` over
30+
one-off Python parsing. For `gh` commands that return JSON, prefer the
31+
built-in `--jq` flag instead of piping the output into `python`.
2632
- When multiple tool calls can be parallelized (e.g., todo updates with other
2733
actions, file searches, reading files), make these tool calls in parallel
2834
instead of sequential. Avoid single calls that might not yield a useful

0 commit comments

Comments
 (0)