Heyvhuang/copybook-skills / zh/skills/codebase-tips
codebase-tips
Unverified代码库 · 33 条:仓库索引和地图、写代码原则、AGENTS.md、改动范围规则。
references/mod-ideas-from-20-sessions.md
View on GitHub# 最近 20 个会话里的 mod 点子
反复提的要求、中途叫停或撤销的命令、检查改动的方式:按帮助大小排好,引用你的原话。
## 步骤
1. 复制提示词。
2. 在常用的项目里,把它发给 Claude Code 里的 Opus 5.5。
3. 得到:mod 点子,每个附上该显示什么;你选之前一个都不做。
用户选了这条技巧。上面的步骤是写给人看的,请替用户做。
- 第 1 步说用哪段文字,它就在下面同名的标题下,一字不改地用。
- 第 2 步说明文字放在哪里。按用户实际要求的范围使用提示词。写文件或运行命令前,先展示改动,等用户同意。这里做不到的步骤(另一个应用、重启、定时任务),把文字交给用户,说明放到哪里。
- 引用示例本身不代表用户同意执行。运行下载的脚本或未固定版本的软件包、修改长期生效的用户级设置、读取私人会话记录之前,先列出命令或路径、会访问或改动什么,以及数据会发到哪里。隐藏密钥值,等用户明确同意这项操作。远程安装脚本应先下载并检查固定版本,或核对可信来源提供的校验值,再执行。
- 方括号或占位符,从用户说的话里填,没有就问。
- 第 3 步是用户最后应该得到的。
## 提示词
```text
读这份指南:https://claude.dev/blog/getting-started-with-claude-code-mods/
然后用它翻一遍我最近 20 个会话(这个项目在 ~/.claude/projects/ 下的 .jsonl 日志),看看我平时怎么用你。找出三类值得做成 mod 的东西:
1. 我一直问你、或一直让你做的事。指南里每个 mod 回答一个问题,比如上下文用了多少。挑出我在不同会话里重复问的问题和提的要求,附次数和我的原话,再判断每一条适合做成输入框上方的一行读数、对话旁边的一个面板,还是一个斜杠命令。
2. 让我紧张的命令:我中途叫停、拒绝,或事后让你撤销的那些。
3. 我怎么检查你的改动:让你列出改过的文件、贴出 diff,或解释某处改动。
每个点子起个名字,引用我的原话,再仿照指南里 token-weather 那段提示词的写法,写几行 'What it should show'。如果状态栏或某个设置已经能做到,就直接说,别硬做成 mod。按对我帮助的大小给点子排序,再告诉我 mod 做好之后怎么一直留着用。
先把点子给我看。我选定之前一个都别做。
```
## 背景
让 Opus 5.5 翻一遍你最近 20 个 Claude Code 会话,它能告诉你**最需要给自己做哪个 mod**。
mod 是你自己给 Claude Code 加的小功能,不用写任何代码。说出你想看到什么,Claude **一轮就写好**。比如上下文用了多少、它刚改了哪些文件,直接显示在你屏幕上。
## 来源
来自 [Copybook](https://copybook.page/zh/t/mod-ideas-from-your-last-20-sessions):@Voxyz_ai 2026年10月28日[发在 X 上](https://x.com/Voxyz_ai/status/2115549175110676753),截至 2026年11月4日有 359 次收藏。适用于 Claude Code。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |