探索 Claude AI 编程的最新趋势、实用技巧和最佳实践
Claude Code v2.1.223 修复新发现的 Bash 权限绕过手法和 Workflow 沙箱逃逸问题,同时将 /review 与 /code-review 命令统一,新增 /teleport 提示。
Claude Code Subagents 完整创建指南:内置 4 类 Subagent(Explore Haiku 只读/Plan 只读/General-purpose 全工具/Bash-statusline-Guide helper)、/agents 交互界面 7 步创建流程、四种存储位置(CLI --agents 当前会话/项目级/用户级/插件级)及优先级、Subagent 文件 Markdown+Frontmatter 格式、9 个 Frontmatter 字段(name/description 最重要/model/tools/disallowedTools/permissionMode/skills/hooks/maxTurns/memory/allowedAgents/color)、工具白黑名单配置、allowedAgents 限制可 spawn、持久记忆(memory: true/自定义路径/前 200 行加载)、两种 Hooks 配置方式(Frontmatter 内联/settings.json SubagentStart/SubagentStop)、前台后台运行(Ctrl+B/tasks),以及 4 个直接可用示例(code-reviewer/debugger/data-scientist/db-validator)。
本站所有文章均由 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.