From core
開発原則(SOLID, KISS, YAGNI, DRY)のリファレンス。コード実装、リファクタリング、設計判断、クラス設計、関数分割、「責務が大きすぎる」「重複コード」「複雑すぎる」「設計どう思う?」「リファクタしたい」といった状況の時に使う。refactoring, implementation, design。単純なバグ修正や原則の議論が不要な軽微な変更では使わない。
How this skill is triggered — by the user, by Claude, or both
Slash command
/core:dev-principlesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
コードの品質・可読性・拡張性を向上させるための原則。実装・レビュー・設計判断時にこれらを適用すること。
コードの品質・可読性・拡張性を向上させるための原則。実装・レビュー・設計判断時にこれらを適用すること。
クラスやモジュールは単一の責任のみを持つべき。
拡張に対して開放、変更に対して閉鎖されるべき。
親クラスのインスタンスは子クラスで置換可能であるべき。
クライアントは自身が使用しないメソッドに依存すべきでない。
上位モジュールは下位モジュールに依存すべきでない。両方とも抽象に依存すべき。
コードはできるだけシンプルにすべき。
今必要なコードのみ追加すべき。
同じコードの重複を避けるべき。
npx claudepluginhub kentanakae/claude-code-plugins --plugin coreApplies KISS, YAGNI, and SOLID principles for clean code with reduced complexity. Use when refactoring or reviewing code for over-engineering.
Guides application of SOLID principles, design patterns, DRY, KISS, and clean code fundamentals for architecture review, refactoring, and code quality discussions.
Applies SRP, DRY, YAGNI, naming, error handling, dependency direction, and Kent Beck's four rules of simple design when writing, reviewing, or refactoring code.