Skip to main content
在 Manus 中运行任何 Skill
一键导入

placing-code-in-layers

星标5
分支0
更新时间2026年6月18日 13:57

Use when deciding which layer a piece of code belongs in (domain, application, or infrastructure), when business rules are mixed with framework/UI/database/HTTP code, when an external SDK or API response shape is leaking into core logic, when a test forces you to mock your own classes or sibling collaborators, or when unsure whether to introduce an interface/port/abstraction.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly