Skip to main content

code-style-core

Stars0
Forks0
UpdatedJuly 3, 2026 at 07:59

通用 TypeScript 代码规范(命名·类型·注释·格式),适用于任何 TS/TSX 项目。编写、审查或重构 .ts/.tsx 文件时使用,尤其涉及文件命名(kebab-case + 角色后缀 / PascalCase.tsx)、标识符命名(I 前缀/_ 前缀/$ 后缀/SCREAMING_SNAKE/is-has-should-can)、interface vs type 选择、Nullable<T>、enum vs 联合类型、class 成员顺序、注释语言与密度、缩进引号分号等格式硬约束时。这是所有 code-style-* 系列 skill 的基础层。

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
4 files
SKILL.md
readonly