codebase-design
Design and review deep modules: choose the interface, place the seam, and shape what sits behind it. Load it when code changes shape rather than behaviour: moving logic out of `main` or a script into a module, splitting one function or class into several, deciding which module owns a registry, a client, a store, or a prompt, or choosing where validation and error handling belong. Also load it when the user says 重构 / 拆分 / 抽出来 / 搬到 / 放哪里 / 职责 / 这个类太大了 / 模块设计 / 接口设计 / 接缝 / 深模块 / 代码库架构, or asks to review a diff that moves a module boundary. Not for system-level mechanism decisions (service, cache, queue, deployment boundary, state ownership). That is architecture-ablation.
来源信息
- 仓库
- Loner1024/skills
- 最近来源活动
- 2026年10月27日 08:40
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- Forks
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
| name | codebase-design |
|---|---|
| description | Design and review deep modules: choose the interface, place the seam, and shape what sits behind it. Load it when code changes shape rather than behaviour: moving logic out of `main` or a script into a module, splitting one function or class into several, deciding which module owns a registry, a client, a store, or a prompt, or choosing where validation and error handling belong. Also load it when the user says 重构 / 拆分 / 抽出来 / 搬到 / 放哪里 / 职责 / 这个类太大了 / 模块设计 / 接口设计 / 接缝 / 深模块 / 代码库架构, or asks to review a diff that moves a module boundary. Not for system-level mechanism decisions (service, cache, queue, deployment boundary, state ownership). That is architecture-ablation. |