·refactor
</>

refactor

cin12211/orca-q

動作を変更せずに保守性を向上させる外科的コードのリファクタリング。関数の抽出、変数名の変更、神関数の分解、型安全性の向上、コード臭の除去、デザイン パターンの適用について説明します。リポジトリ再構築ツールほど劇的ではありません。段階的な改善に使用します。

5インストール·1トレンド·@cin12211

インストール

$npx skills add https://github.com/cin12211/orca-q --skill refactor

SKILL.md

Improve code structure and readability without changing external behavior. Refactoring is gradual evolution, not revolution. Use this for improving existing code, not rewriting from scratch.

| Extract Method | Turn code fragment into method | | Extract Class | Move behavior to new class | | Extract Interface | Create interface from implementation | | Inline Method | Move method body back to caller | | Inline Class | Move class behavior to caller | | Pull Up Method | Move method to superclass | | Push Down Method | Move method to subclass |

| Rename Method/Variable | Improve clarity | | Introduce Parameter Object | Group related parameters | | Replace Conditional with Polymorphism | Use polymorphism instead of switch/if | | Replace Magic Number with Constant | Named constants | | Decompose Conditional | Break complex conditions | | Consolidate Conditional | Combine duplicate conditions |

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/cin12211/orca-q --skill refactor
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-05
更新日
2026-02-18

クイックアンサー

refactor とは?

動作を変更せずに保守性を向上させる外科的コードのリファクタリング。関数の抽出、変数名の変更、神関数の分解、型安全性の向上、コード臭の除去、デザイン パターンの適用について説明します。リポジトリ再構築ツールほど劇的ではありません。段階的な改善に使用します。 ソース: cin12211/orca-q。

refactor のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cin12211/orca-q --skill refactor インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/cin12211/orca-q