30,084 颗星背后:那个让 Claude Code 们闭嘴先干活的 Skill 到底在想什么
很多人抱怨 Claude Code 或 Codex 回答问题时”说一堆正确的废话”——先铺垫、再分析、最后才给结论。读完了还是不知道下一步干什么。
ayghri/i-have-adhd 这个项目想解决的就是这个问题。它不是一个新模型,不是一个新框架——它是一套输出规范,专门让你的 Coding Agent 学会:先给答案,再说别的。
它是什么
i-have-adhd 是一个 AI Coding Skill,运行在 Claude Code、Codex、Cursor 和 Zed 上。激活后,Agent 的输出会强制遵循 10 条规则:
- Lead with the next action — 把下一步行动放在第一句
- Number multi-step tasks — 多步骤任务编号
- End with one concrete next step — 以一个具体行动收尾
- Suppress tangents — 不展开无关内容
- Restate state every turn — 每轮先说明当前状态
- Specific time estimates — 给出具体时间估算(”5 分钟”而不是”一会儿”)
- Make wins visible — 让成果可见
- Matter-of-fact errors — 直接报错误,不加情绪
- Cap lists at 5 items — 列表不超过 5 项
- No preamble. No recap. No closers — 不铺垫、不总结、不说”希望对你有帮助”
看一个直观的 Before/After 对比:
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, theverifyTokenfunction (around lines 42-58) seems to be using an olderjsonwebtokenAPI. 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! Let me know if you want to dig deeper.
After(激活 Skill 后):
Run
npm install jsonwebtoken@latest, then editsrc/auth.ts:42.
- Open
src/auth.ts- Replace
verifyToken(lines 42–58) with the snippet below- Run
npm test -- auth.spec.tsNext: paste the first failing line if any test fails.
差距一目了然。
项目数据
- Stars:31,084(截至 2026 年 9 月 9 日)
- Forks:1,877(800+ 个公开 fork)
- 语言:Python
- 许可证:MIT
- 最新活动:2026 年 9 月持续维护
- 支持平台:Claude Code、Codex、Cursor、Zed
项目自带评估框架(evals/),有可重复的 Skill 质量测试用例,确保规则被正确遵循。
安装与使用
Claude Code(一行搞定):
claude plugin marketplace add ayghri/i-have-adhd
claude plugin install i-have-adhd@i-have-adhd
# 之后在会话里输入 /i-have-adhd 激活
想要每次会话自动生效:
touch ~/.claude/.i-have-adhd-always
关闭它:
stop adhd mode
或者直接 normal mode,Agent 一行确认后恢复默认文风。
Cursor、Codex、Zed 的安装方法见 INSTALL.md。
它解决的是什么问题
CSDN 社区的一篇分析指出,这个 Skill 和 model-invoked 的 Skill(如 find-skills)相反——后者靠 description 让 Agent 自动发现,但需要常驻 token;i-have-adhd 是 user-invoked 的”输出模式切换器”,不需要时不占用上下文,只在你主动激活时才塑形输出。
本质上,它解决的是提示词工程的分工问题:只有需要人主动切换的”输出模式”,才适合 user-invoked;不必让 Agent 自己猜什么时候该少废话。
适合谁 / 不适合谁
适合:
- 已经在用 Claude Code / Codex / Cursor,有过”Agent 绕了一大圈才给答案”体验的开发者
- 需要快速拿到可执行指令,而不是解释性长文的场景
- 想在团队中统一 AI 编程输出规范的技术负责人
不适合:
- 需要 Agent 详细解释背景知识的研究场景(它会强制压缩解释)
- 习惯 AI 输出完整分析和思考链路的用户
- 对话式探索阶段(这个 Skill 适合执行阶段,不适合探索阶段)
可执行的下一步
-
今天就装上试试(3 分钟):
claude plugin marketplace add ayghri/i-have-adhd claude plugin install i-have-adhd@i-have-adhd然后开一个新会话,输入
/i-have-adhd,问它一个具体的技术问题,体验输出变化。 -
想让团队统一规范:把 10 条规则作为团队 Coding Agent 使用规范,要求所有成员在项目 AGENTS.md 中引用这个 Skill。
-
想自定义:Fork 仓库,修改
skills/i-have-adhd/SKILL.md里的规则,然后用你自己的 fork 替换安装源。它支持完全自定规则文本。
仓库链接:https://github.com/ayghri/i-have-adhd
它不治疗 ADHD,但也许能治好你的 AI 编程助手”话太多”的毛病。
评论区
登录后可评论。