| 同じ | 同じ | 共通化 ◎ | DRY原則を適用し共通関数に抽出 | | 異なる | 同じ | 統一 ◎ | どちらかの実装に統一 | | 同じ | 異なる | 共通化 ✗ | 絶対に共通化禁止(最重要) | | 異なる | 異なる | 共通化 ✗ | 検討不要 |
字面の同一性ではなく意図(目的)の同一性に基づいてコードの共通化を判断するスキル。 DRY原則の誤適用(字面が同じだが意図が異なるコードの共通化)を検出し、正しい共通化判定を 支援する。コードレビュー、リファクタリング、新規実装時に重複コードの扱いを判断する場合に使用。 対象言語: 言語非依存(Rust, Java, TypeScript, Go, Python, Kotlin, Scala等すべて)。 トリガー:「重複コードを共通化したい」「DRYに従いたい」「似たコードがある」 「この2つの関数をまとめたい」「コードの重複を減らしたい」「共通化すべきか」 「リファクタリングで共通関数にしたい」といった重複コード・共通化関連リクエストで起動。 Source: j5ik2o/okite-ai.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/j5ik2o/okite-ai --skill intent-based-dedup Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
Security certified for safe and reliable code One-click installation with simplified configuration Compatible with Claude Code, Cursor, OpenClaw, and more