‹ 首页

naming

@trezor · 收录于 5 天前 · 上游提交 5 天前

Naming conventions for variables, functions, booleans, components, and domain-specific terms in Trezor Suite. Use when naming anything in the codebase.

适合你,如果你在 Trezor Suite 项目中需要统一命名风格。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add trezor/trezor-suite/naming
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- trezor/trezor-suite/naming
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify trezor/trezor-suite/naming
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1021GitHub stars
~816上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 ab48a1e · 表述以原文为准
它做什么

当你在写 Trezor Suite 代码时,Claude 会按照命名规范帮你生成或建议变量、函数、布尔值、组件等名称,避免晦涩、保持一致性。

什么时候触发

当你需要在 Trezor Suite 代码库中定义变量、函数、布尔值、组件或领域术语的名称时触发。

装好后可以这样说
Claude 会建议使用 isDisabled 格式。
Claude 会建议使用 getNetwork 等动词前缀。
Claude 会建议 AssetsList。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。