← スキル一覧に戻る

refactor-rename-for-clarity
by CANTAGESTUDIO
Flutter Desktop texture atlas editor for game development
⭐ 2🍴 0📅 2026年1月7日
SKILL.md
name: refactor-rename-for-clarity description: "[Code Quality] Performs systematic renaming to improve code clarity: variables, functions, classes, files. Use when names are unclear, misleading, or inconsistent with their purpose."
Refactor: Rename for Clarity
Improve code readability through better naming.
Naming Principles
1. Names Should Reveal Intent
// BAD: let d: Int
// GOOD: let elapsedDays: Int
2. Names Should Be Searchable
// BAD: if status == 1 { }
// GOOD: if status == .active { }
3. Names Should Match Abstraction Level
// BAD: func getFromNetworkAndParseJSON()
// GOOD: func fetchUserProfile()
Common Patterns
| Bad Name | Better Name | Why |
|---|---|---|
| data | userResponse | Specific type |
| temp | previousValue | Purpose clear |
| flag | isEnabled | Boolean pattern |
| doIt() | submitForm() | Action + target |
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です