keep-it-simple
在添加抽象之前,问“我们现在需要这个吗?”求婚时激活 工厂、抽象类、配置驱动的行为或“为了未来的可扩展性”。 抵制过度设计。三个相似的线条比过早的抽象要好。
SKILL.md
Claude loves elegant abstractions. User asks for a button, Claude builds a component factory with theming support. The problem: abstractions have costs. They obscure intent, add indirection, and often solve problems that never materialize. This skill enforces YAGNI - You Aren't Gonna Need It.
| 1 case | Just write it | | 2 cases | Copy-paste is fine. Note the duplication. | | 3 cases | Now consider abstracting |
| Factory pattern | Direct instantiation | | Abstract base class | Concrete class | | Config-driven behavior | Hardcoded behavior | | Dependency injection | Direct imports | | Custom event system | Callbacks | | Generic utility | Inline code |
在添加抽象之前,问“我们现在需要这个吗?”求婚时激活 工厂、抽象类、配置驱动的行为或“为了未来的可扩展性”。 抵制过度设计。三个相似的线条比过早的抽象要好。 来源:elliotjlt/claude-skill-potions。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/elliotjlt/claude-skill-potions --skill keep-it-simple- 分类
- </>开发工具
- 认证
- —
- 收录时间
- 2026-02-11
- 更新时间
- 2026-02-18
快速解答
什么是 keep-it-simple?
在添加抽象之前,问“我们现在需要这个吗?”求婚时激活 工厂、抽象类、配置驱动的行为或“为了未来的可扩展性”。 抵制过度设计。三个相似的线条比过早的抽象要好。 来源:elliotjlt/claude-skill-potions。
如何安装 keep-it-simple?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/elliotjlt/claude-skill-potions --skill keep-it-simple 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/elliotjlt/claude-skill-potions
详情
- 分类
- </>开发工具
- 来源
- user
- 收录时间
- 2026-02-11