docs: overhaul subagents documentation and add /agents command#22345
docs: overhaul subagents documentation and add /agents command#22345abhipatel12 merged 3 commits intomainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly overhauls the documentation for subagents, providing a more comprehensive and user-friendly guide. It introduces new methods for interacting with and configuring subagents, including an interactive slash command and detailed persistent configuration options. The changes aim to clarify subagent behavior, management, and advanced features, ensuring users have up-to-date and accurate information for leveraging these capabilities. Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request provides a significant and much-needed overhaul of the subagents documentation. The new content clearly explains how to use, manage, and configure subagents, and introduces the new /agents command. The documentation is well-structured and easy to follow. I found one high-severity issue in a configuration example where an incorrect property name is used, which would prevent the configuration from working as expected.
Note: Security Review has been skipped due to the limited scope of the PR.
|
Size Change: -4 B (0%) Total Size: 26.1 MB
ℹ️ View Unchanged
|
jkcinouye
left a comment
There was a problem hiding this comment.
LGTM - just one note about the order in commands.md
Summary
Complete revamp of subagents documentation, providing a comprehensive guide to their use, management, and configuration.
Details
subagents.mdexplaining automatic delegation and the new@agent-namesyntax for forced invocation./agentsslash command suite todocs/reference/commands.md(list, reload, enable, disable, config)./agents) and persistent configuration (settings.json).codebase_investigatorconfiguration examples to use the modernagents.overridesstructure.modelConfigs.overrideswithoverrideScopefor targeting specific agents.max_turns(30) andtimeout_mins(10) based on codebase investigation.*,mcp_*,mcp_server_*).gemini-3-flash-previewfor better alignment with current recommended models.Related Issues
Resolves #20310
How to Validate
docs/core/subagents.mdanddocs/reference/commands.md.Pre-Merge Checklist