Skip to content

docs: update tool usage guidance for sub-agents and agent tool description#217

Merged
LeeCheneler merged 1 commit intomainfrom
docs/update-tool-usage-guidance
Mar 29, 2026
Merged

docs: update tool usage guidance for sub-agents and agent tool description#217
LeeCheneler merged 1 commit intomainfrom
docs/update-tool-usage-guidance

Conversation

@LeeCheneler
Copy link
Copy Markdown
Owner

Summary

This PR updates the tool usage guidance in the system instructions and the agent tool description to provide clearer directions on when to use sub-agents versus direct tool calls.

GitHub Issue

N/A

What Changed

  • Updated the instructions.ts file to refine the codebase exploration section, emphasizing the use of sub-agents for broad exploration (more than 3 files) and providing detailed guidance on how to use sub-agents effectively.
  • Updated the agent.ts file to change the tool description for the 'agent' tool, mandating its use for tasks requiring reading more than 3 files or having multiple independent facets, and providing examples and clearer instructions.

Notes for Reviewers

None.

@github-actions github-actions Bot added the docs Documentation label Mar 29, 2026
@LeeCheneler LeeCheneler merged commit 7a32d01 into main Mar 29, 2026
4 checks passed
@LeeCheneler LeeCheneler deleted the docs/update-tool-usage-guidance branch March 29, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant