Claude Code 封神 10 个隐藏玩法 | 10 Overpowered Hidden Skills of Claude Code
1. 版本回滚/Rollback 输入/rewind或连按ESC,一键撤回代码版本;非Git文件无法回滚。 Use `/rewind` or double ESC to roll back code; non-Git files cannot be undone. 2. 图片智能解析/Image 拖拽或粘贴图片,自动识别设计稿、生成代码。 Drag or paste images, auto analyze designs and generate code. 3. MCP外部联动/MCP Implementation 接入Figma等工具,授权即可一键读取设计资源。 Connect tools like Figma via MCP, access designs after authorization. 4. 历史会话恢复/Keep History Conversaction `claude -c`接续最近对话,`/resume`任选历史会话。 `claude -c` continues latest chat; `/resume` picks any history session. 5. 上下文瘦身清理/Compact Context 卡顿用/compact压缩上下文;`/clear`一键清空,谨慎使用。 `/compact` optimizes context; `/clear` resets all content with caution. 6. 项目永久记忆/Memery 执行/init生成配置文件,AI永久牢记项目规则。 Run `/init` to create config file, AI remembers project rules permanently. 7. Hooks自动执行/Auto Hook 配置自动化钩子,写完代码自动格式化,解放双手。 Set up hooks to auto format code automatically after editing. 8. Skill技能说明书/Skill Usage 自定义技能文档,共享会话上下文,随时调用。 Custom skill docs share chat context and can be triggered anytime. 9. SubAgent独立代理/SubAg...