j5ik2o/okite-ai/refactoring-packages
Claude Code and agent skill by j5ik2o/okite-ai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
既存コードベースのパッケージ/モジュール構造を分析し、リファクタリングを実行する。 循環依存の検出・解消、神モジュールの分割、責務分離の実施、移行計画の作成と実行を行う。 トリガー:「この依存関係を整理して」「循環依存を解消して」「このモジュールを分割して」 「リファクタリングして」といった既存コードの構造改善実行リクエストで起動。 設計指針が必要な場合は package-design スキルを参照。
Install
npx vskill@latest install j5ik2o/okite-ai/refactoring-packagesSKILL.md
パッケージリファクタリング
既存コードのパッケージ/モジュール構造を分析し、改善提案と移行計画を作成・実行する。
ワークフロー
1. 現状分析
対象ディレクトリの構造を把握する。
使用ツール:
mcp__serena__list_dir: ディレクトリ構造の把握(recursive: true)mcp__serena__get_symbols_overview: ファイル内のシンボル把握mcp__serena__find_referencing_symbols: 依存関係の検出
確認ポイント:
- ディレクトリ深度(4階層以下が理想)
- ファイル数/ディレクトリ(10以下が理想)
- 命名規則の一貫性
2. 問題特定
references/analysis-patterns.mdを参照し問題を検出。
優先順位(高→低):
- 循環依存(ビルド不可の原因)
- 神モジュール(変更影響が大きい)
- 散在機能(開発効率低下)
- 過度なネスト(可読性低下)
3. 改善提案
問題ごとの解決策はreferences/analysis-patterns.mdを参照。
4. 移行計画
段階的な移行計画を作成:
具体例
入力
分析
出力
関連スキル(併読推奨)
このスキルを使用する際は、以下のスキルも併せて参照すること:
package-design: リファクタリングの目標となるパッケージ設計原則ddd-module-pattern: DDD文脈でのリファクタリング目標構造intent-based-dedup: リファクタリング時の重複コード共通化判断
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/refactoring-packages/SKILL.md
Popularity
- Repository stars
- 75
- Repository forks
- 2
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/j5ik2o/okite-ai/refactoring-packages)