·naming-conventions
</>

naming-conventions

phrazzld/claude-config

應用通用命名原則:避免 Manager/Helper/Util,使用意圖揭示的名稱、領域語言、動詞+名詞功能。在命名變量、函數、類、檢查名稱或為了清晰而重構時使用。與語言無關的原則。

8安裝·2熱度·@phrazzld

安裝

$npx skills add https://github.com/phrazzld/claude-config --skill naming-conventions

SKILL.md

Universal principles for clear, intention-revealing names. Language-agnostic—applies to TypeScript, Go, Rust, Python, etc.

These are Ousterhout red flags — they're vague and don't reveal what the code does.

Why: Naming forces design thinking. If you can't name it specifically, you don't understand what it does.

應用通用命名原則:避免 Manager/Helper/Util,使用意圖揭示的名稱、領域語言、動詞+名詞功能。在命名變量、函數、類、檢查名稱或為了清晰而重構時使用。與語言無關的原則。 來源:phrazzld/claude-config。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/phrazzld/claude-config --skill naming-conventions
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 naming-conventions?

應用通用命名原則:避免 Manager/Helper/Util,使用意圖揭示的名稱、領域語言、動詞+名詞功能。在命名變量、函數、類、檢查名稱或為了清晰而重構時使用。與語言無關的原則。 來源:phrazzld/claude-config。

如何安裝 naming-conventions?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/phrazzld/claude-config --skill naming-conventions 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/phrazzld/claude-config