·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