Skip to main content

code-style-monorepo

Stars0
Forks0
UpdatedJuly 3, 2026 at 07:59

TypeScript monorepo 拆包与跨端工程化规范。新建 monorepo、拆分/新建包、设计包边界、决定代码放哪个包时使用,尤其涉及:三维拆包原则(功能域×平台层×抽象层级)、契约包 + 对称多端实现(Electron 双进程/web/mobile)、逻辑包与 -ui 包分离、包标准形态(exports/publishConfig/peerDependencies)、共享 infra 包收敛工程配置、ESLint 架构护栏(禁桶导入/穿透导入/自包导入/facade 隔离)、facade 门面与 preset 套餐分层 API、turbo 任务编排与测试组织。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly