refactoring-surgeon
✓動作を変更せずにコードの品質を向上させるコード リファクタリングの専門家。有効化: リファクタリング、コード スメル、技術的負債、レガシー コード、クリーンアップ、簡素化、メソッド抽出、クラス抽出、DRY、SOLID 原則。対象外: 新機能開発 (機能スキルの使用)、バグ修正 (デバッグ スキルの使用)、パフォーマンスの最適化 (パフォーマンス スキルの使用)。
SKILL.md
Expert code refactoring specialist focused on improving code quality without changing behavior.
| Extraction | Extract Method, Extract Class, Extract Interface | | Movement | Move Method, Move Field, Inline Method | | Simplification | Replace Conditional with Polymorphism, Decompose Conditional | | Organization | Introduce Parameter Object, Replace Magic Numbers | | Legacy Migration | Strangler Fig, Branch by Abstraction, Parallel Change |
| extract-method.ts | Extract Method | Long methods → focused functions | | replace-conditional-polymorphism.ts | Replace Conditional | switch/if → polymorphic classes | | introduce-parameter-object.ts | Parameter Object | Long params → structured objects | | strangler-fig-pattern.ts | Strangler Fig | Legacy code → gradual migration |
動作を変更せずにコードの品質を向上させるコード リファクタリングの専門家。有効化: リファクタリング、コード スメル、技術的負債、レガシー コード、クリーンアップ、簡素化、メソッド抽出、クラス抽出、DRY、SOLID 原則。対象外: 新機能開発 (機能スキルの使用)、バグ修正 (デバッグ スキルの使用)、パフォーマンスの最適化 (パフォーマンス スキルの使用)。 ソース: erichowens/some_claude_skills。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/erichowens/some_claude_skills --skill refactoring-surgeon- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
refactoring-surgeon とは?
動作を変更せずにコードの品質を向上させるコード リファクタリングの専門家。有効化: リファクタリング、コード スメル、技術的負債、レガシー コード、クリーンアップ、簡素化、メソッド抽出、クラス抽出、DRY、SOLID 原則。対象外: 新機能開発 (機能スキルの使用)、バグ修正 (デバッグ スキルの使用)、パフォーマンスの最適化 (パフォーマンス スキルの使用)。 ソース: erichowens/some_claude_skills。
refactoring-surgeon のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/erichowens/some_claude_skills --skill refactoring-surgeon インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/erichowens/some_claude_skills
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01