老金测试了下,写了个复杂提示词:
请帮我分析这个项目的架构 重点关注: 1、数据流向 2、性能瓶颈 3、可扩展性
以前得这么写:
请帮我分析这个项目的架构 重点关注: 1、数据流向 2、性能瓶颈 3、可扩展性
体验提升不是一点半点。

老金我现在的工作流:
# 让Claude分析项目,按Ctrl+B扔后台 claude -p "分析项目架构并生成报告" # 同时让它跑测试 claude -p "运行测试并总结结果" # 再按Ctrl+B # 两个任务并行,我继续写文章
以前想给Skill加Hook(触发器),得去settings.json配置。
现在直接在Skill的frontmatter写:
hooks: - pre-tool-use - post-tool-use
context: fork
比如我的公众号助手,以前输入:
use skill gongzhonghao-writer with topic "Claude更新"
现在输入:
/write Claude更新
秒选,秒调用。
这个改动,Reddit上讨论最多。
这才是智能Agent该有的样子。
升级命令:
npm update -g @某A-ai/claude-code
这个功能,日本和西班牙用户疯狂夸赞。
你可以在settings.json里设置:
{ "language": "Chinese" }
也可以直接使用/config

老金我试了下中文模式:
每次回答都是中文,包括错误提示、日志输出。
对非英语母语用户,这是质的飞跃。
以前给工具权限,你得精确指定:
{ "allowedTools": ["Bash(git status)", "Bash(npm test)"] }
现在支持通配符:
{ "allowedTools": ["Bash(*-h*)", "Bash(git *)"] }
老金我的配置:
{ "allowedTools": [ "Bash(python *)", "Bash(npm *)", "Edit", "Read" ] }
再也不用每次都点"允许"了。
如果对你有帮助,记得关注一波~
你在本地CLI写着写着,突然想在浏览器里继续?
输入:
/teleport
Claude Code会生成一个链接:
http://claude.ai/code?session=xxx
老金我挑几个最实用的:
claude -p "分析所有.md文件的错别字" --add-dir ./articles
claude -p "列出项目依赖" --output-format json | jq '.dependencies'
claude --timeout 60 -p "复杂分析任务"
# 保存会话 claude --save-session "code-review-" # 恢复会话 claude --load-session "code-review-" --continue
cat test_results.txt | claude -p "分析测试结果" --output-format json
Substack博主提到的几个关键数据:
npm update -g @某A-ai/claude-code
brew update brew upgrade claude-code
docker pull 某A/claude-code:2.1.2
升级完验证一下:
claude --version # 应该显示:claude-code/2.1.2
老金我升级时踩了几个坑:
检查版本:
node --version
升级Node:
# macOS brew install node@18 # Ubuntu curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs
如果你之前写过Skills,可能需要更新frontmatter格式。
旧格式:
--- name: my-skill version: 1.0 ---
新格式:
--- name: my-skill version: 2.0 hooks: - pre-tool-use forkedContext: true ---
2.1.x发布后,Reddit的r/ClaudeAI板块讨论爆了。
看完2.1.1的更新日志,老金我有个大胆的猜测:
某A在下一盘很大的棋。
为什么这么说?
这是在清理旧架构,为新生态让路。
用了2.1.2两天,我总结了几个**实践:
这三个地方,每天都有新技巧、新Skills。
Claude Code 2.1.2这次更新,老金我给92分。
但瑕不掩瑜。
每天省2小时,不夸张。
这工具真香。
- Boris Cherny(某A工程师)Threads官方发布:https://www.threads.com/@boris_cherny/post/DTOyRyBD018
- Zelili新闻(2.1.1更新详解):https://zelili.com/news/claude-code-2-1-1-update-whats-new-and-key-fixes/
- Medium文章(Joe Njenga测试16个新功能):https://medium.com/@joe.njenga/claude-code-2-1-is-here-i-tested-all-16-new-changes-dont-miss-this-update-ea9ca008dab7
- Substack文章(Datasculptor的40+技巧):https://mlearning.substack.com/p/claude-code-21-new-features-january-2026
- VentureBeat报道:https://venturebeat.com/orchestration/claude-code-2-1-0-arrives-with-smoother-workflows-and-smarter-agents
- ClaudeLog官方Changelog:https://claudelog.com/claude-code-changelog/
- Claude Code官方文档:https://docs.claude.com/en/release-notes/claude-code
- GitHub仓库(claude-code完整CHANGELOG):https://github.com/某As/claude-code/blob/main/CHANGELOG.md
- Ashay Kubal的LinkedIn分析:https://www.linkedin.com/posts/ashaykubal_claudecode-claude-某A-activity--cq9J
- Ray Amjad的YouTube教程(2026工作流):https://www.youtube.com/watch?v=sy65ARFI9Bg
- DEV Community(Esc+Esc时光机教程):https://dev.to/rajeshroyal/your-time-machine-for-code-double-esc-to-rewind-when-things-go-wrong-53pa
- Skywork AI(Checkpointing开发者指南):https://skywork.ai/skypage/en/claude-code-checkpoints-ai-coding/
- Reddit讨论(r/ClaudeAI社区):https://www.reddit.com/r/ClaudeAI/
往期推荐:
每次我都想提醒一下,这不是凡尔赛,是希望有想法的人勇敢冲。
我不会代码,我英语也不好,但是我做出来了很多东西,在文末的开源知识库可见。
我真心希望能影响更多的人来尝试新的技巧,迎接新的时代。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/274668.html