npx claudepluginhub lazygophers/ccplugin --plugin namingThis skill uses the workspace's default tool permissions.
适用于所有语言插件的命名场景:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
适用于所有语言插件的命名场景:
| AI 可能的理性化解释 | 实际应该检查的内容 |
|---|---|
| "简短名称更高效" | ✅ 名称是否清晰表达意图? |
| "data/temp/obj 足够明确" | ✅ 是否使用了具体的描述性名称? |
| "ID 全大写更规范" | ✅ 是否使用 Id(PascalCase)? |
| "status 和 state 一样" | ✅ 是否统一使用 state? |
| "字符串时间更易读" | ✅ 时间字段是否使用时间戳? |
✓ user_name, get_user_by_id, calculate_total_price
✗ u, gubi, calc_tp
使用前检查:
| 错误命名 | 正确命名 | 说明 |
|---|---|---|
status | state | 使用 state 表示状态 |
ID | Id | ID 应使用 PascalCase |
Users | UserList | 使用清晰的集合名称 |
id | uid/userId | 简单的 id 易混淆 |
FLAG_ENABLE | IS_ENABLED | 布尔值使用 IS_ 前缀 |
data | user_data | 避免过于泛化的名称 |
temp | cache | 避免 temp 等临时性命名 |
obj | 具体类型名 | 避免过于抽象的名称 |
created_time | created_at | 时间字段使用 _at 后缀 |
| 字符串时间 | 时间戳 | 时间必须使用时间戳格式 |
state 而非 statusId 而非 IDUserList 而非 Users)id 改为 uid/userId 等明确名称IS_/is_ 前缀_at 后缀(如 created_at)data 改为 user_data)temp 改为 cache)obj 改为具体类型名)