·refactoring
</>

refactoring

コードのリファクタリングを支援するスキル。外部仕様(振る舞い)を変更せずに、コードの内部構造を改善する。 以下のリクエストに使用: - 関数・クラスの分割・整理 - 変数名・関数名のリネーム - 重複コードの排除・共通化 - 設計パターンの適用 - コードの可読性・保守性の向上 - 「リファクタリングして」「きれいにして」「整理して」「DRYにして」などの指示 対応言語:言語問わず汎用。テストが不十分な場合はリファクタリングを中止する。

15Installs·1Trend·@nimiusrd

Installation

$npx skills add https://github.com/nimiusrd/agent-skills --skill refactoring

How to Install refactoring

Quickly install refactoring AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/nimiusrd/agent-skills --skill refactoring
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: nimiusrd/agent-skills.

SKILL.md

View raw

| 1 | 関数内 / 1ファイル内 | 不要(デフォルト) | | 2 | 複数ファイル / 依存関係の整理 | 必要 | | 3 | アーキテクチャ変更 | 必要 |

| 対象(ファイル:行 / 関数名) | 根拠(指標値) | 期待効果 | 影響範囲 | Gate B 材料 |

| foo.ts:42 / parseUser | 循環複雑度 12 | 可読性向上 | 呼び出し元3箇所 | 正常系のみカバー |

コードのリファクタリングを支援するスキル。外部仕様(振る舞い)を変更せずに、コードの内部構造を改善する。 以下のリクエストに使用: - 関数・クラスの分割・整理 - 変数名・関数名のリネーム - 重複コードの排除・共通化 - 設計パターンの適用 - コードの可読性・保守性の向上 - 「リファクタリングして」「きれいにして」「整理して」「DRYにして」などの指示 対応言語:言語問わず汎用。テストが不十分な場合はリファクタリングを中止する。 Source: nimiusrd/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/nimiusrd/agent-skills --skill refactoring
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-11

Browse more skills from nimiusrd/agent-skills

Quick answers

What is refactoring?

コードのリファクタリングを支援するスキル。外部仕様(振る舞い)を変更せずに、コードの内部構造を改善する。 以下のリクエストに使用: - 関数・クラスの分割・整理 - 変数名・関数名のリネーム - 重複コードの排除・共通化 - 設計パターンの適用 - コードの可読性・保守性の向上 - 「リファクタリングして」「きれいにして」「整理して」「DRYにして」などの指示 対応言語:言語問わず汎用。テストが不十分な場合はリファクタリングを中止する。 Source: nimiusrd/agent-skills.

How do I install refactoring?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/nimiusrd/agent-skills --skill refactoring Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/nimiusrd/agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-22