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