OC 

我最喜欢的Claude密码技巧与窍门
概览
这是我最喜欢的Claude代码技巧合集,带我探索它。 - 提示1:命名并恢复会话,比如git分支 - 提示2:将你的投入程度与任务匹配 - 提示3:脚本运行时跳过本地文件发现 - 提示4:开启解释模式或学习模式来研究代码库 - 提示5:在笔记本、手机和云端之间移动会话 - 提示6:将重复任务变成循环或定时作业 - 提示7:了解自动模式为你决定什么 - 提示8:用ccusage跟踪你的令牌支出 - 提示9:用终端复用器应用组织多个项目 - 提示10:用代理视图查看所有后台会话 - 提示11:安装语言服务器插件以实现真实代码导航 - 提示12:用 /context 检查上下文使用情况 - 提示 13:用 /insights 分析你的使用模式 - 提示1:给Claude设定一个贯穿整个会话的目标 - 提示2:让/batch在数百个文件间进行迁移 - 提示3:在隔离的工作树中运行并行会话 - 提示4:预批准......
概述(AI 翻译)
这是我最喜欢的Claude代码技巧合集,带我探索它。
目录
将军
- 提示1:像 git 分支一样命名和恢复会话
- 建议2:将你的努力水平与任务匹配
- 提示3:脚本运行时跳过本地文件发现
- 提示4:开启解释模式或学习模式来学习代码库
- 提示5:在笔记本、手机和云端之间移动会话
- 提示6:将重复任务转化为循环或定时作业
- 提示7:了解自动模式为你做决定
- 建议8:用ccusage追踪你的代币支出
- 提示9:使用终端复用器应用组织多个项目
- 提示10:使用代理视图查看所有后台会话
- 提示11:安装一个用于实际代码导航的语言服务器插件
- 提示12:用 /context 检查你的上下文用法
- 提示13:用 /insights 分析你的使用模式
指挥部
- 提示1:给克劳德一个全程的站立目标
- 提示2:让 /batch 在数百个文件间进行迁移
- 提示3:在独立的工作树中运行并行会话
- 提示4:预先批准你已经信任的命令
- 提示5:用沙盒式风险命令代替每个指令提示
- 提示6:用脚本Claude导入CI并预提交钩子
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Claude Code Tips
Collection of my favorite Claude Code tips as I explore it.
Table of Contents
General
- Tip 1: Name and resume sessions like git branches
- Tip 2: Match your effort level to the task
- Tip 3: Skip local file discovery for scripted runs
- Tip 4: Turn on Explanatory or Learning mode to study a codebase
- Tip 5: Move sessions between your laptop, phone, and the cloud
- Tip 6: Turn a recurring task into a loop or a scheduled job
- Tip 7: Understand what auto mode decides for you
- Tip 8: Track your token spend with ccusage
- Tip 9: Organize multiple projects with a terminal multiplexer app
- Tip 10: View all background sessions with agent view
- Tip 11: Install a language server plugin for real code navigation
- Tip 12: Check your context usage with /context
- Tip 13: Analyze your usage patterns with /insights
Command
- Tip 1: Give Claude a standing goal for the whole session
- Tip 2: Let /batch run a migration across hundreds of files
- Tip 3: Run parallel sessions in isolated worktrees
- Tip 4: Pre-approve the commands you already trust
- Tip 5: Sandbox risky commands instead of prompting for each one
- Tip 6: Script Claude into CI and pre-commit hooks
- Tip 7: Bootstrap CLAUDE.md with /init instead of starting from a blank file
- Tip 8: Be aware of ultra features
Agent
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add onmyway133/claude-code-tips-tricks