Skip to content

chore(instructions): recommend single commands over compound in system prompt#238

Merged
LeeCheneler merged 1 commit intomainfrom
chore/227-recommend-single-commands-over-compound
Mar 29, 2026
Merged

chore(instructions): recommend single commands over compound in system prompt#238
LeeCheneler merged 1 commit intomainfrom
chore/227-recommend-single-commands-over-compound

Conversation

@LeeCheneler
Copy link
Copy Markdown
Owner

Summary

Update the system prompt tool usage guidance to recommend running single commands instead of compound commands (using &&, ;, etc.). Compound commands are more likely to require user approval because they don't match allowed command patterns, whereas single commands like git status match git:* and run without prompting.

GitHub Issue

Closes #227

What Changed

Added guidance in the "Use dedicated tools, not shell commands" section to prefer single run_command calls over compound commands. Explains that single commands are more likely to match allowed command patterns and run without user approval. Includes a concrete example showing two parallel run_command calls vs one compound command.

Notes for Reviewers

The changes are limited to the tool usage guidance in src/instructions.ts. No functional changes to the codebase—only documentation updates to improve agent effectiveness.

…m prompt

Update the system prompt tool usage guidance to recommend running single commands
instead of compound commands (using &&, ;, etc.). Compound commands are more likely
to require user approval because they don't match allowed command patterns, whereas
single commands like `git status` match `git:*` and run without prompting.

Includes example showing two parallel `run_command` calls vs one compound command.

Closes #227
@github-actions github-actions Bot added the chore Maintenance, refactoring, or non-user-facing work label Mar 29, 2026
@LeeCheneler LeeCheneler merged commit ae51329 into main Mar 29, 2026
4 checks passed
@LeeCheneler LeeCheneler deleted the chore/227-recommend-single-commands-over-compound branch March 29, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance, refactoring, or non-user-facing work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: recommend single commands over compound in system prompt

1 participant