← スキル一覧に戻る

refactor-test-safety-net
by CANTAGESTUDIO
Flutter Desktop texture atlas editor for game development
⭐ 2🍴 0📅 2026年1月7日
SKILL.md
name: refactor-test-safety-net description: "[Code Quality] Establishes test coverage requirements before refactoring. Use to identify missing tests, create minimal safety net tests, and define verification strategy for behavior preservation."
Refactor: Test Safety Net
Ensure adequate test coverage before making changes.
Pre-Refactoring Test Checklist
1. Coverage Assessment
- What's the current test coverage?
- Which paths are untested?
2. Test Types Needed
| Type | Purpose | When Required |
|---|---|---|
| Unit | Function behavior | Always |
| Integration | Component interaction | Cross-module changes |
| Snapshot | UI/Output structure | View refactoring |
| Regression | Known bug prevention | Bug-prone areas |
3. Minimal Safety Net
Priority 1: Happy path test Priority 2: Error handling test Priority 3: Edge case test
Rules
- Never refactor without tests on the target code
- Add tests BEFORE changes, not after
- Characterization tests capture behavior, not correctness
- Run tests after each small step
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です