·interface-segregation-principle
</>

interface-segregation-principle

yanko-belov/code-craft

インターフェースを設計するときに使用します。不要なメソッドを含むインターフェイスを実装する場合に使用します。インターフェイス メソッドの throw/no-op の実装を強制される場合に使用します。

15インストール·0トレンド·@yanko-belov

インストール

$npx skills add https://github.com/yanko-belov/code-craft --skill interface-segregation-principle

SKILL.md

Clients should not be forced to depend on interfaces they don't use.

Many small, focused interfaces are better than one large "fat" interface. If an implementer must throw exceptions or provide no-ops for interface methods, the interface is too large.

Providing both the violation and the correct approach is still providing a violation.

インターフェースを設計するときに使用します。不要なメソッドを含むインターフェイスを実装する場合に使用します。インターフェイス メソッドの throw/no-op の実装を強制される場合に使用します。 ソース: yanko-belov/code-craft。

原文を見る

引用可能な情報

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

インストールコマンド
npx skills add https://github.com/yanko-belov/code-craft --skill interface-segregation-principle
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-12
更新日
2026-02-18

クイックアンサー

interface-segregation-principle とは?

インターフェースを設計するときに使用します。不要なメソッドを含むインターフェイスを実装する場合に使用します。インターフェイス メソッドの throw/no-op の実装を強制される場合に使用します。 ソース: yanko-belov/code-craft。

interface-segregation-principle のインストール方法は?

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

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

https://github.com/yanko-belov/code-craft