← スキル一覧に戻る

refactor-dedupe-and-cleanup
by CANTAGESTUDIO
Flutter Desktop texture atlas editor for game development
⭐ 2🍴 0📅 2026年1月7日
SKILL.md
name: refactor-dedupe-and-cleanup description: "[Code Quality] Removes code duplication and cleans up dead code. Use to eliminate copy-paste code, consolidate similar logic, and remove unused code paths."
Refactor: Dedupe and Cleanup
Eliminate redundancy and remove dead code.
Deduplication Patterns
1. Extract Common Method
Move duplicated logic to shared function.
2. Template Method Pattern
Abstract common structure, vary details.
3. Consolidate Conditional Expression
Combine conditions with same result.
Dead Code Removal
Types to Remove
- Unreachable code - after return/throw
- Unused variables - declared but never read
- Unused functions - never called
- Commented code - use git history instead
- Unused imports - clutters namespace
Safe Removal Process
- Search for all references
- Check for reflection/dynamic usage
- Remove in small commits
- Run full test suite
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です