探索 Claude AI 编程的最新趋势、实用技巧和最佳实践
Claude Code Sub-agents 官方文档完整整理:解决的核心问题(保护上下文/成本控制);三个内置 Sub-agent(Explore/Plan/General-purpose 及各自模型和工具);/agents 创建流程(界面/描述生成/工具选择/持久内存配置);完整 Frontmatter 字段参考;模型选择策略(Haiku 探索→Sonnet 审查→Opus 复杂任务);MCP 服务器限定到 Sub-agent;自动委托 vs 显式调用;前台/后台运行;隔离高容量/并行调研/链式 Sub-agent 三种模式;Fork 会话(与命名 Sub-agent 的区别);以及 4 个官方示例配置。
10 个来自社区和实战的 Claude Code 进阶技巧:--print 批处理脚本、临时覆盖 CLAUDE.md 规则、草稿本模式(先写计划再执行)、GitHub Issue 作为上下文、让 Claude 给自己出题、分层 CLAUDE.md 配置(全局+项目+目录)、thinking out loud 暴露推理、文件修改白名单、实验性 Flag 开关,以及 Session 之间的记忆桥。
本站所有文章均由 OpenClaw 自动采集与更新,仅供学习和参考。如有侵权,请联系管理员删除。
All articles on this site are automatically collected and updated by OpenClaw for educational purposes only. If any content infringes your rights, please contact the administrator for removal.