meng shao avatar

meng shao

@shao__meng

7/29/2025, 2:09:12 PM

用 Claude Code 一个月实战后:七个彻底改变工作方式的实用模式和技巧 —— 作者 Matt Maher

1. 小而美的技巧(Little Bits)
Matt 提到了一些简单但超级实用的技巧,这些“小细节”在日常使用中效果显著:
· 在 IDE 中使用 Claude Code:他建议在像 VS Code 或 Cursor 这样的编辑器中运行 Claude Code,这样可以直接访问和修改项目文件,操作更顺畅。你也可以拖拽文件到编辑器,简化工作流
· Hooks 提醒:Matt 在 Claude 设置中加入了 Hooks,通过斜杠命令触发特定声音提示(比如用 AFplay 播放音效),帮助他区分不同项目的操作。这让多项目管理更直观
· YOLO 模式:他经常用 "dangerously skip permissions" 运行 Claude Code,省去繁琐的权限确认。虽然他提醒新手谨慎使用,但他在使用中没遇到问题,觉得这能大幅提升效率
· 快速更新:Anthropic 团队几乎每天都在更新 Claude Code,新增功能(如从 JSON 文件加载设置或引入“代理”机制)让工具越来越强大。

总结:这些小技巧看似不起眼,但用好了能让你的工作效率和体验飞起来。

2. 上下文管理(Context, Context, Context)
上下文是AI助手性能的关键,Matt 强调要保持上下文的“精简”和“清晰”:
· 问题:如果你的上下文窗口堆积了太多无关信息(就像拼图游戏里混杂了不同拼图的碎片),AI 会困惑,导致输出质量下降
· 解决方案:
  · 清除上下文:用 /clear 命令定期清空上下文,尤其是在切换到新任务时,这能让 AI 更专注于当前问题
  · 恢复会话:如果不小心退出会话,可以用 /resume 命令加载之前的对话,防止丢失工作
  · 上下文交接:当你不想完全清空上下文但需要切换话题,可以让 Claude 生成一个简化的提示,总结当前任务的关键点,用于开启新会话
· Claude. md 文件:这个文件是 Claude Code 的“记忆文件”,会自动加载项目信息到新会话的上下文中。但 Matt 警告,它可能会变得过于庞大,包含不必要的信息(比如构建脚本)。他建议手动精简这个文件,只保留关键指令,比如“总是用 TypeScript ”或“别忘了写测试”

总结:管理好上下文就像整理你的工作台,保持干净整洁,AI 才能更高效地帮你解决问题。

3. 语音革命(Voice Revolution)
· 为什么用语音:相比打字,语音能让你更快、更完整地表达需求,尤其是当你需要提供大量上下文时。打字时你可能会偷懒,少说细节,但语音让你自然说出更多想法
· 适用人群:
  · 高级开发者:他们常因为习惯而过于简略地描述需求,漏掉关键细节
  · 新手:可能不知道该如何准确描述需求,语音能帮助他们更自然地表达,比如“想要一个像 Snoopy 狗屋那样的时钟”
· 效果:语音输入让 AI 接收到更丰富的上下文,生成的结果更贴合你的真实需求

总结:语音是解放生产力的利器,别再只靠打字,试试用说的,效果会让你惊喜。

4. 规划先行(Proper Planning)
好的规划(PRD,产品需求文档)是成功的关键,Matt 强调这一点对任何 AI 编码工具都适用:
· 什么是 PRD:PRD 不是技术细节,而是描述产品“是什么”“怎么用”“运行在哪里”的文档。比如,你想要的网站是跑在浏览器还是手机上?颜色风格是什么?这些都需要提前说清楚
· 如何做规划:
  · 用 Claude Code 或其他模型(比如 ChatGPT)迭代生成 PRD,反复讨论直到满意
  · 保存规划到文档(比如放在项目的 docs 文件夹),方便后续参考
· 好处:清晰的 PRD 能让 AI 直接生成更符合你预期的代码,减少反复修改的麻烦
· 小技巧:Matt 会让 Claude Code 在规划模式下生成 PRD,然后保存到指定文件夹,随时调用

总结:花时间做一份清晰的 PRD,就像给 AI 画一张蓝图,能省下无数返工时间。

5. 自定义命令(Custom Commands)
自定义命令让 Claude Code 变成“你的专属工具”:
· 如何做:在 Claude. md 文件中定义斜杠命令(slash commands),比如 /build 可以运行特定项目的构建脚本。Matt 的例子是一个 Electron 项目的构建命令,简单但实用
· 全局命令:你可以在用户主目录的 Claude 文件中定义全局命令,比如 Matt 的 /gsave 命令,能自动生成格式化的 Git 提交消息,带上图标和变更类型
· 好处:这些命令不仅省时,还能让团队其他成员轻松上手,因为他们只需运行命令,不用记住复杂流程

总结:自定义命令就像给 Claude Code 装上你的专属快捷键,省时省力,还能让项目更规范。

6. 检查点保存(Checkpointing)
Matt 把 Git 当作“存档点”,用来应对 AI 偶尔“跑偏”的情况:
· 为什么需要:AI 编码有时会生成不符合预期的代码,频繁保存检查点能让你轻松回退到上一个状态,就像游戏里的“存档点”。
· 如何做:
  · 用 Git 手动提交关键节点,或者让 Claude Code 运行 /commit 命令
  · Matt 的 /gsave 命令会自动生成标准化的提交消息,方便管理
· 好处:检查点让你无惧 AI 出错,随时可以回滚,保持项目进展顺畅
· 未来展望:Matt 提到 Claude Code 目前没有自动检查点功能(不像 Cursor 或 VS Code),但用 Git 可以轻松实现

总结:把 Git 当“存档点”,就像玩游戏时多存档,稳住项目进度。

7. 超越代码(Beyond Code)
这是 Matt 最激动人心的发现:Claude Code 不仅限于写代码,还能处理非编码任务,堪称 "vibe editing":
· 例子:Matt 用 Claude Code 管理他的视频笔记项目。他会录制一小时的语音笔记(关于视频内容),然后让 Claude 生成结构化的视频大纲,保存为特定格式
· Agents:Claude Code 新推出的 Sub Agents 功能(类似高级斜杠命令)能执行复杂任务,比如根据长篇笔记生成专业大纲。Matt 用一个“视频内容策略师” Agent 来处理他的笔记
· 更大视野:Matt 认为,这种 "vibe editing" 系统预示了未来。你可以用 Claude Code 写 Instagram 帖子、总结网页内容、甚至处理非技术性工作。Anthropic 内部的非工程团队也在用 Claude Code 做类似的事情。

总结:Claude Code 不只是编码工具,它能改变你处理任何需要结构化、创造性输出的工作方式,潜力无限。

核心洞见
Matt 的分享核心在于:Claude Code(以及类似的 AI 开发工具)不仅是编码助手,更是一个能深度融入你工作流的“智能伙伴”。通过上下文管理、语音输入、清晰规划、自定义命令、检查点保存和非编码应用的结合,你可以让 AI 工具真正为你所用,极大提升效率。

他特别强调,这些模式是通用的,无论是用 Claude Code、Cursor 还是其他 AI 工具,都能帮你把 AI 的潜力发挥到极致。尤其是“超越代码”的理念,打开了一个全新的视角:AI 工具正在改变我们处理信息和创作的方式,未来它可能无处不在。
tweet media

Download twitter video from this saved page

TwitterXVideo preserves this conversation so you can download twitter video clips even if the original post disappears, keeping captions, hashtags, and timestamps intact.

Review every reply, attachment, and mention while you download video Twitter HD, GIFs, or audio, making it easy to rebuild the context for reporting and evergreen content.

After you download twitter video assets, translate the copy, refresh hashtags, and queue reposts or ad variants without leaving the saved tweet workspace.

How to download twitter video from this saved page

  1. Click the media thumbnail or download button to download twitter video in HD MP4 or compressed formats for quick sharing.
  2. Select any additional attachments to download video from Twitter GIFs or audio, then store the files alongside your download twitter video projects.
  3. Open the Translate panel to localize the text, update CTAs, and schedule reposts once your download twitter video review is complete.

Why marketers trust this download twitter video archive

  • Archive-friendly metadata keeps download twitter video audits aligned with compliance and rights management teams.
  • Integrated translator localizes captions around each download twitter video asset so global teams stay in sync.
  • One-click sharing pushes download twitter video recaps to teammates, clients, or DAM folders.
  • SEO-optimized slugs help download twitter video case studies rank for branded and campaign keywords.

Download twitter video FAQs

How do I download twitter videos from this saved page?

Press the download button above the media gallery to download twitter video immediately; the system bundles caption data and the original link for reference.

Can I download video from X Twitter in different resolutions?

Yes—choose from multiple bitrates when you download twitter video, including HD MP4 and lighter mobile options.

Does this page let me download twitter videos from private accounts?

You need viewing permission first; once you can see the content, the archive lets you download twitter video securely for approved use.

How can I download twitter video subtitles with the clip?

Use the Translate panel to export captions or create subtitles, then download twitter video together with the transcript for repurposing.

Share
Explore

TwitterXVideo

v1.2.2

Use our fastest way to download twitter video in HD free—no registration required.

facebooktwitterpinteresttumblrwhatsapp

© 2024 TwitterXVideo All rights reserved.