Skip to main content

termlnk-code-style

Stars0
Forks0
UpdatedJuly 3, 2026 at 07:59

Termlnk 仓库专属编码规范(叠加在 code-style-core/architecture/react/monorepo 四个通用 skill 之上的增量层)。编写、审查或重构 Termlnk 仓库(packages/*、packages-internal/*、apps/{desktop,web,mobile})任何 .ts/.tsx 时使用,尤其涉及:菜单系统(下拉/右键/mergeMenu/triggerContextMenu/commandId)、Base46 主题与颜色(tm: 前缀类/base_30/base_16/IThemeService/xterm 配色/换肤透明度)、插件配置键(config.schema.ts/ConfigRepository 持久化 subKey)、tRPC 双进程契约(rpc-server/rpc-client 对称实现)、目录与包名契约(plugin.ts/@termlnk 包名/*-mobile 后缀)、mobile babel 限制时。新建插件包或 plugin.ts 必读。

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