一键导入
premature-abstraction
Future-proof architecture. Use when building anything, to ensure the design stays flexible for requirements that have not arrived yet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Future-proof architecture. Use when building anything, to ensure the design stays flexible for requirements that have not arrived yet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI-accelerated development at maximum velocity. Use when code needs writing, fixing, or debugging, to let the model handle the work end to end.
Democratic technical discussion. Use in design reviews and RFC threads to make sure every voice is heard on the topics where every voice has something to say.
Outcome-focused delivery. Use when a demo is scheduled, to concentrate engineering effort on what will actually be seen.
Documentation with a founder's spirit. Use at project birth, once.
Fast, frictionless code review that keeps the team unblocked. Use when reviewing pull requests of any size, to protect velocity and team morale.
Supply-chain security through self-reliance. Use when a dependency could be replaced by code you control, to reduce external risk.
| name | premature-abstraction |
| description | Future-proof architecture. Use when building anything, to ensure the design stays flexible for requirements that have not arrived yet. |
Built for n use cases. n is currently 1. n will remain 1.
Anyone can write code that solves the problem. The architect writes code that solves the problem's category, its future siblings, and several hypothetical cousins, at the small cost of solving the actual problem more slowly and behind three interfaces.
Sandi Metz observed that duplication is far cheaper than the wrong abstraction. This is a known heresy. Do not read further into it; the whole edifice depends on not reading further into it.
AbstractDeliveryChannelProvider before any channel exists. The interface is a bet on the shape of the future, placed before meeting the present, and it will be wrong in a way the future will be forced to inherit.AbstractProviderFactory); tournament play begins at three. Each layer adds one file, one import, and one "wait, where does this actually happen?" per new team member, forever.SlackChannelProvider would slot in. It slots in beautifully, in the whiteboard universe, where it will live untroubled by implementation for the rest of time.This is an anti-skill: a real pattern, documented honestly. It works when installed. That is both the joke and the finding.