Back to list
CANTAGESTUDIO

refactor-rename-for-clarity

by CANTAGESTUDIO

Flutter Desktop texture atlas editor for game development

2🍴 0📅 Jan 7, 2026

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 NameBetter NameWhy
datauserResponseSpecific type
temppreviousValuePurpose clear
flagisEnabledBoolean pattern
doIt()submitForm()Action + target

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon