i-have-adhd 新手教程

i-have-adhd 新手教程

一个装进 Cursor CLI 的「ADHD 友好输出」规则集 Skill:一条命令安装、一句 /i-have-adhd 激活,AI 回答从此先给动作、再给步骤、不再绕圈子。不需要真的有 ADHD。

GitHub 源项目 v0.3.0 39.5k Stars MIT 10 秒装进 Cursor

?它是什么

一份写给 AI 编程助手看的「输出风格说明书」。整个项目的核心就是一个 SKILL.md 规则文件,外加一圈各客户端的安装适配。

把它装进 Cursor 的 skills 目录后,在会话里输入 /i-have-adhd,AI 的回答立刻换成另一种形状:第一行就是下一步动作、多步任务带编号、列表不超过 5 条、结尾一定留一个两分钟内能做的事。官方一句话:「让 AI 别把答案埋在客套话里」。

它做什么

只改「回答的形状」:动作优先、步骤编号、掐掉跑题、报报错像报错、成果可见。规则来自 ADHD 干预方法,但目标是让任何人读得快、做得了。

它不做什么

不提升模型智力、不改代码质量;不是 IDE 插件、无需编译;不后台常驻监听(默认按会话开关);也不替你写代码——它只负责让 AI 的嘴别绕。

39,532Stars
2,265Forks
10条核心规则
12+客户端适配

?Before / After:官方真实对照

仓库 README 给的例子——同一个「JWT 库过期」问题,默认回答 vs 激活后的回答。

Before · 默认输出
Great question! Let me think about this. Your auth flow
has a few moving pieces: the middleware, the token
verification, and the cookie handling. Looking at
`src/auth.ts`, the `verifyToken` function (around lines
42-58) seems to be using an older `jsonwebtoken` API.
One approach would be to update the package and rewrite
that function. After making the change, you'd want to
run the auth tests to confirm nothing breaks. By the
way, you might also want to look at your dependency
versions overall. Hope this helps!
After · 激活后
Run `npm install jsonwebtoken@latest`, then edit
`src/auth.ts:42`.

1. Open `src/auth.ts`
2. Replace `verifyToken` (lines 42–58)
   with the snippet below
3. Run `npm test -- auth.spec.ts`

Next: paste the first failing line if any
test fails.

左边:先夸一句、再铺垫、顺带跑题、最后「Hope this helps」。右边:第一行就是命令,三步编号,结尾一个下一步。同样的信息量,右边能直接动手。

?它怎么工作

规则改编自《The Adult ADHD Tool Kit》,翻译成了 LLM 听得懂的行为约束。

SKILL.md 开头列了五条「ADHD 阅读的事实」:工作记忆很小(没留在屏幕上的会被忘掉)、「知道答案」不等于「做完答案」、启动最难所以第一步必须显而易见、「要花点功夫」这类模糊时间估算会失效、成就感稀缺所以进展必须可见。10 条规则全部从这五条事实推出来。

SKILL.md 的 frontmatter 标着 disable-model-invocation: true——模型不会自己偷偷启用它,必须你手动输入命令(或配置成常驻,见第 2 章)。

?这份教程怎么读

四章,按「装好 → 会用 → 看懂 → 玩深」排列,主线是 Cursor CLI。

01 · 安装到 Cursor

npx 一条命令、手动 git clone、一句话话术,三种装法任选,装完看清目录结构。

02 · 在 Cursor CLI 中使用

会话内 /i-have-adhd 随用随开,或写进 Rules 常驻 always-on,怎么选、怎么关。

03 · 十条规则精读

一张表记住十条,Bad / Good 对照卡看懂差异,还有 SKILL.md 自己承认的 6 个例外。

04 · 进阶与 FAQ

改规则定制自己的版本、搬到 Claude Code / Codex / Zed 等其他客户端,以及「装了没反应」排查。

下一步

打开第 1 章,npx skills add ayghri/i-have-adhd -a cursor -y 一条命令装完。

i-have-adhd 新手教程