i-have-adhd 新手教程

在 Cursor CLI 中使用

两种玩法:随用随开的 /i-have-adhd 会话模式,或写进 Cursor Rules 的 always-on 常驻。开关都在你手里。

1最短路径:会话内激活

启动 Cursor CLI,新会话第一句输 /i-have-adhd,就这么简单。

# 终端里进入项目目录,启动 Cursor CLI
cursor-agent

# 会话里第一句输入:
/i-have-adhd

规则立刻对本会话的每一轮生效。SKILL.md 的 Persistence 条款写得很硬:规则不因换话题而失效、不过几轮就过期——「只要你在犹豫它是否还在生效,它就在」。重开会话则需要重新输入。

会话命令作用
/i-have-adhd开启,本会话全程生效
stop adhd mode关闭,模型确认一行后回到默认风格
normal mode同上,换种说法而已

2验证它真的生效了

丢一个真实小任务过去,看回答的形状就知道。

生效的三个标志:

1. 第一行就是可执行的东西——命令、路径或代码,不是「好问题!」。

2. 多步任务带编号,一步一个动作。

3. 结尾留一个下一步,两分钟内能做完的那种。

没生效的样子:先寒暄、再铺垫、中间夹跑题、结尾「Hope this helps」。对照着导读页的 Before / After 看最直观。如果两种特征都出现,说明规则没加载——跳到第 4 章 FAQ 排查。

3always-on:不想每次手输

on-demand 的小缺点:每个新会话都要手输一次。两种做法让它常驻。

做法 A · Cursor 设置:打开 Settings → Rules → User Rules,把下面整段粘贴进去,对所有项目生效。

做法 B · 项目规则文件:在仓库根目录建 .cursor/rules/i-have-adhd.mdc,frontmatter 写 alwaysApply: true,正文粘贴同一段——随仓库分发给协作者。

---
alwaysApply: true
---

## Output style

The reader has ADHD. Shape every response so it can be acted on:

1. Lead with the answer or next action: command, path, or snippet first.
2. Number multi-step work; one bounded action per step.
3. End with one next action doable in under two minutes.
4. Finish the current issue before raising a new one.
5. Restate progress each turn ("step 3 of 5 done").
6. Give time estimates in concrete units, never "a bit".
7. After a change, show what now works.
8. Errors: state location, cause, and fix. No drama.
9. Cap lists to 5 items.
10. No preamble, no recaps, no closers.

Exceptions: explain fully when asked to explain. Confirm before
destructive actions. After three failed fixes, stop and name the
doubtful assumption. If the request is ambiguous, ask one short
question.
这段片段是 SKILL.md 十条规则的「精简版」,官方 INSTALL.md 就是这么提供的。想关闭常驻:做法 A 删掉粘贴的片段;做法 B 删文件或把 alwaysApply 改回 false,即可回到手动 /i-have-adhd 模式。

4on-demand 还是 always-on

没有标准答案,按使用强度选。

维度on-demand(会话命令)always-on(Rules 常驻)
生效范围当次会话所有会话(做法 A)或当前仓库(做法 B)
每次成本新会话输一条命令配置一次,之后零成本
关闭方式说 stop adhd mode删片段或删规则文件
适合偶尔开大任务、先试试水日常全部开发都用 Cursor
建议

先 on-demand 用一两天,确认喜欢这种输出风格(有人会觉得太「命令式」),再常驻——顺序反过来撤起来麻烦。

i-have-adhd 新手教程