How this skill is triggered — by the user, by Claude, or both
Slash command
/common-skills:gen-code-namingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
gen-code-naming/input.md を読み取り、適切なコード命名(クラス名、メソッド名、変数名)を3~5個生成してください。
gen-code-naming/input.md を読み取り、適切なコード命名(クラス名、メソッド名、変数名)を3~5個生成してください。
要件:
出力フォーマット:
【おすすめ】
命名候補
おすすめ理由: なぜこれが最適かの説明
---
【その他の候補】
1. 命名候補
理由: この名前を提案した理由
2. 命名候補
理由: この名前を提案した理由
3. 命名候補
理由: この名前を提案した理由
(必要に応じて4~5個まで)
$ARGUMENTS に test が指定されている場合は、gen-code-naming/sample.md の内容を入力として使用してください。
生成された命名候補を gen-code-naming/output.md に出力してください。
重要: 出力する際は、Writeツールではなく、Bashツールで cat コマンドとHEREDOC(<<'EOF')を使用して書き込んでください。これにより文字化けを防ぐことができます。
例:
cat > gen-code-naming/output.md <<'EOF'
(生成した内容)
EOF
サンプル入力は gen-code-naming/sample.md を参照してください。
npx claudepluginhub hosochin/claude-spells --plugin common-skillsChoosing meaningful, pronounceable names that reveal intent for functions, variables, classes, and modules.
Enforces precise naming for variables, functions, classes, files, and identifiers. Bans vague names like data/temp/result/info/handle/manager; promotes semantic accuracy and domain-specific terms via specificity ladder.
Suggests improved names for variables, functions, classes, files, DB tables, and API endpoints using language-specific conventions like camelCase or snake_case.