什麼是 solid-knowledge?
PHP 8.4 專案的 SOLID 原理知識庫。提供 SRP、OCP、LSP、ISP、DIP 的快速參考以及檢測模式、PHP 範例和反模式識別。用於架構審計和程式碼品質審查。 來源:dykyi-roman/awesome-claude-code。
PHP 8.4 專案的 SOLID 原理知識庫。提供 SRP、OCP、LSP、ISP、DIP 的快速參考以及檢測模式、PHP 範例和反模式識別。用於架構審計和程式碼品質審查。
透過命令列快速安裝 solid-knowledge AI 技能到你的開發環境
來源:dykyi-roman/awesome-claude-code。
SOLID is a set of five design principles for writing maintainable, extensible software.
| S | Single Responsibility | One class = one reason to change | | O | Open/Closed | Open for extension, closed for modification | | L | Liskov Substitution | Subtypes must be substitutable for base types | | I | Interface Segregation | Many specific interfaces > one general | | D | Dependency Inversion | Depend on abstractions, not concretions |
| SRP | Aggregates have single consistency boundary | | OCP | Domain Events enable extension without modification | | LSP | Value Objects are substitutable (same type = same behavior) | | ISP | Repository interfaces segregated (Reader/Writer) | | DIP | Domain depends on Repository interfaces, not implementations |
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill solid-knowledgePHP 8.4 專案的 SOLID 原理知識庫。提供 SRP、OCP、LSP、ISP、DIP 的快速參考以及檢測模式、PHP 範例和反模式識別。用於架構審計和程式碼品質審查。 來源:dykyi-roman/awesome-claude-code。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill solid-knowledge 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dykyi-roman/awesome-claude-code