docs: Add documentation for Sub Agents feature and update user guides

- Introduced a new documentation file for Sub Agents, detailing their purpose, benefits, configuration, and usage examples.
- Updated the overview and quickstart guides to improve clarity and remove outdated information.
- Created a comprehensive command reference document for Qwen Code, detailing slash commands, at commands, and exclamation commands for better user guidance.
- Enhanced the formatting and organization of existing documentation for improved readability and usability.
This commit is contained in:
joeytoday
2025-12-09 14:05:26 +08:00
parent f7b94f9b63
commit 70b5aee381
6 changed files with 1014 additions and 459 deletions

View File

@@ -7,7 +7,7 @@
Prerequisites:
- A [Qwen Code](https://chat.qwen.ai/auth?mode=register) account
- Requires [Node.js 20+](https://nodejs.org/download), you can use `node -v` check the version. If it's not installed, use the following command to install it.
- Requires [Node.js 20+](https://nodejs.org/download), you can use `node -v` to check the version. If it's not installed, use the following command to install it.
```bash
curl -qL https://www.npmjs.com/install.sh | sh
@@ -54,11 +54,13 @@ You'll be prompted to log in on first use. That's it! [Continue with Quickstart
> [!tip]
>
> See [advanced setup](/setup) for installation options or [troubleshooting](/troubleshooting) if you hit issues.
> See [troubleshooting](/troubleshooting) if you hit issues.
> [!note]
>
> **New VS Code Extension (Beta)**: Prefer a graphical interface? Our new [VS Code extension](/vs-code) provides an easy-to-use native IDE experience without requiring terminal familiarity. Simply install from the marketplace and start coding with Qwen Code directly in your sidebar.
> **New VS Code Extension (Beta)**: Prefer a graphical interface? Our new **VS Code extension** provides an easy-to-use native IDE experience without requiring terminal familiarity. Simply install from the marketplace and start coding with Qwen Code directly in your sidebar.
>
> ![](https://gw.alicdn.com/imgextra/i3/O1CN01E6lixr1Ry28a3EvGw_!!6000000002179-2-tps-1198-646.png)
## What Qwen Code does for you
@@ -71,58 +73,4 @@ You'll be prompted to log in on first use. That's it! [Continue with Quickstart
* **Works in your terminal**: Not another chat window. Not another IDE. Qwen Code meets you where you already work, with the tools you already love.
* **Takes action**: Qwen Code can directly edit files, run commands, and create commits. Need more? [MCP](/mcp) lets Qwen Code read your design docs in Google Drive, update your tickets in Jira, or use *your* custom developer tooling.
* **Unix philosophy**: Qwen Code is composable and scriptable. `tail -f app.log | qwen -p "Slack me if you see any anomalies appear in this log stream"` *works*. Your CI can run `qwen -p "If there are new text strings, translate them into French and raise a PR for @lang-fr-team to review"`.
* **Enterprise-ready**: Use the Qwen Code API, or host on AWS or GCP. Enterprise-grade [security](/security) and [Terms of Service](https://qwenlm.github.io/qwen-code-docs/support/tos-privacy/) is built-in.
## Next steps
<CardGroup>
<Card title="Quickstart" icon="rocket" href="/quickstart">
See Qwen Code in action with practical examples
</Card>
<Card title="Common workflows" icon="graduation-cap" href="/common-workflows">
Step-by-step guides for common workflows
</Card>
<Card title="Troubleshooting" icon="wrench" href="/troubleshooting">
Solutions for common issues with Qwen Code
</Card>
<Card title="IDE setup" icon="laptop" href="/vs-code">
Add Qwen Code to your IDE
</Card>
</CardGroup>
## Additional resources
<CardGroup>
<Card title="Build with the Agent SDK" icon="code-branch" href="https://docs.claude.com/docs/agent-sdk/overview">
Create custom AI agents with the Claude Agent SDK
</Card>
<Card title="Host on AWS or GCP" icon="cloud" href="/third-party-integrations">
Configure Qwen Code with Amazon Bedrock or Google Vertex AI
</Card>
<Card title="Settings" icon="gear" href="/settings">
Customize Qwen Code for your workflow
</Card>
<Card title="Commands" icon="terminal" href="/cli-reference">
Learn about CLI commands and controls
</Card>
<Card title="Reference implementation" icon="code" href="https://github.com/anthropics/claude-code/tree/main/.devcontainer">
Clone our development container reference implementation
</Card>
<Card title="Security" icon="shield" href="/security">
Discover Qwen Code's safeguards and best practices for safe usage
</Card>
<Card title="Privacy and data usage" icon="lock" href="/data-usage">
Understand how Qwen Code handles your data
</Card>
</CardGroup>
* **Unix philosophy**: Qwen Code is composable and scriptable. `tail -f app.log | qwen -p "Slack me if you see any anomalies appear in this log stream"` *works*. Your CI can run `qwen -p "If there are new text strings, translate them into French and raise a PR for @lang-fr-team to review"`.