refactoring-patterns
✓安全なリファクタリング パターンを適用して、動作を変更せずにコード構造を改善します。コードをクリーンアップする場合、技術的負債を削減する場合、または保守性を向上させる場合に使用します。
SKILL.md
| Long method (>20 lines) | Extract Method | | Large class | Extract Class | | Long parameter list (>3) | Introduce Parameter Object | | Duplicated code | Extract Method/Class | | Complex conditional | Decompose Conditional | | Magic numbers | Named Constants | | Nested loops | Replace Loop with Pipeline |
| Extract Method | 50-line function | 5 small functions | | Extract Class | Class doing 5 things | 5 single-purpose classes | | Parameter Object | fn(a,b,c,d,e,f) | fn(options) | | Replace Conditional | if (type === 'a') {...} | Polymorphism | | Pipeline | Nested loops | .filter().map().reduce() |
| Without tests | No safety net | Write tests first | | Big bang | Rewrite everything | Small incremental steps | | For perfection | Endless tweaking | Good enough, move on | | Premature abstraction | Pattern not clear yet | Wait for Rule of Three | | During feature work | Mixed changes | Separate commits |
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill refactoring-patterns- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
refactoring-patterns とは?
安全なリファクタリング パターンを適用して、動作を変更せずにコード構造を改善します。コードをクリーンアップする場合、技術的負債を削減する場合、または保守性を向上させる場合に使用します。 ソース: proffesor-for-testing/agentic-qe。
refactoring-patterns のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill refactoring-patterns インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/proffesor-for-testing/agentic-qe
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01