From 19950e5b7c2986d4dbb3a1f04d9c032b029198d6 Mon Sep 17 00:00:00 2001 From: tanzhenxin Date: Tue, 16 Sep 2025 16:03:35 +0800 Subject: [PATCH] chore: update subagent docs --- docs/subagents.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/subagents.md b/docs/subagents.md index 415df7ce..15b5e273 100644 --- a/docs/subagents.md +++ b/docs/subagents.md @@ -133,6 +133,28 @@ Focus on creating clear, comprehensive documentation that helps both new contributors and end users understand the project. ``` +## Using Subagents Effectively + +### Automatic Delegation + +Qwen Code proactively delegates tasks based on: + +- The task description in your request +- The description field in subagent configurations +- Current context and available tools + +To encourage more proactive subagent use, include phrases like "use PROACTIVELY" or "MUST BE USED" in your description field. + +### Explicit Invocation + +Request a specific subagent by mentioning it in your command: + +``` +> Let the testing-expert subagent create unit tests for the payment module +> Have the documentation-writer subagent update the API reference +> Get the react-specialist subagent to optimize this component's performance +``` + ## Examples ### Development Workflow Agents