·the-art-of-naming
</>

the-art-of-naming

develite98/angular-best-practices

TypeScript 和 Angular 应用程序的综合命名约定指南。涵盖大小写规则(camelCase、PascalCase、UPPER_CASE)、前缀约定(I 表示接口、_ 表示私有、T 表示泛型)、布尔命名、S-I-D 原则(简短、直观、描述性)、上下文重复和结构化命名模式(P/HC/LC 表示变量,A/HC/LC 表示函数)。在编写、审查或重构 TypeScript 代码时使用。在涉及命名、变量、函数、接口或代码样式的任务上触发。

2安装·0热度·@develite98

安装

$npx skills add https://github.com/develite98/angular-best-practices --skill the-art-of-naming

SKILL.md

Naming things is hard. This guide provides a structured methodology for naming variables, functions, classes, interfaces, and everything in between — producing code that is self-documenting, consistent, and readable.

| 1 | Casing Convention | CRITICAL | naming-casing-convention | | 2 | S-I-D + No Contractions | CRITICAL | naming-sid | | 3 | Prefix Conventions | HIGH | naming-prefix-convention | | 4 | Boolean Naming | HIGH | naming-boolean | | 5 | Context Duplication | HIGH | naming-context-duplication | | 6 | Function Naming (A/HC/LC) | HIGH | naming-function-pattern |

| 7 | Variable Naming (P/HC/LC) | MEDIUM | naming-variable-pattern |

TypeScript 和 Angular 应用程序的综合命名约定指南。涵盖大小写规则(camelCase、PascalCase、UPPER_CASE)、前缀约定(I 表示接口、_ 表示私有、T 表示泛型)、布尔命名、S-I-D 原则(简短、直观、描述性)、上下文重复和结构化命名模式(P/HC/LC 表示变量,A/HC/LC 表示函数)。在编写、审查或重构 TypeScript 代码时使用。在涉及命名、变量、函数、接口或代码样式的任务上触发。 来源:develite98/angular-best-practices。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/develite98/angular-best-practices --skill the-art-of-naming
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 the-art-of-naming?

TypeScript 和 Angular 应用程序的综合命名约定指南。涵盖大小写规则(camelCase、PascalCase、UPPER_CASE)、前缀约定(I 表示接口、_ 表示私有、T 表示泛型)、布尔命名、S-I-D 原则(简短、直观、描述性)、上下文重复和结构化命名模式(P/HC/LC 表示变量,A/HC/LC 表示函数)。在编写、审查或重构 TypeScript 代码时使用。在涉及命名、变量、函数、接口或代码样式的任务上触发。 来源:develite98/angular-best-practices。

如何安装 the-art-of-naming?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/develite98/angular-best-practices --skill the-art-of-naming 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/develite98/angular-best-practices

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-05