返回全部动态
Claude Code 2.1.152 发布:自动修复代码审查建议与技能管理增强
原标题:2.1.152
AI 摘要
Claude Code 2.1.152 版本发布,新增 /code-review --fix 命令自动应用审查建议,/simplify 命令现在调用代码审查。技能和斜杠命令支持设置 disallowed-tools 限制工具使用,新增 /reload-skills 命令和 SessionStart 钩子支持重新扫描技能目录。修复了多个问题,包括远程 MCP 服务器连接、插件更新和会话卡住等。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
- `/code-review --fix` now applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions; `/simplify` now invokes `/code-review --fix` - Skills and slash commands can now set `disallowed-tools` in frontmatter to remove tools from the model while the skill is active - Added `/reload-skills` command to re-scan skill directories without restarting the session - `SessionStart` hooks can now return `reloadSkills: true` to re-scan skill dire
发布时间:—
抓取时间:2026-09-07 03:46
来源机构:Anthropic