·php-best-practices
</>

php-best-practices

asyrafhussin/agent-skills

PHP 8.5+ 現代模式、PSR 標準和 SOLID 原則。在審查 PHP 代碼、檢查類型安全、審核代碼質量或確保 PHP 最佳實踐時使用。觸發“審查 PHP”、“檢查 PHP 代碼”、“審核 PHP”或“PHP 最佳實踐”。

285安裝·20熱度·@asyrafhussin

安裝

$npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices

SKILL.md

Modern PHP 8.x patterns, PSR standards, type system best practices, and SOLID principles. Contains 45+ rules for writing clean, maintainable PHP code.

| 1 | Type System | CRITICAL | type- | | 2 | Modern Features | CRITICAL | modern- | | 3 | PSR Standards | HIGH | psr- | | 4 | SOLID Principles | HIGH | solid- | | 5 | Error Handling | HIGH | error- | | 6 | Performance | MEDIUM | perf- | | 7 | Security | CRITICAL | sec- |

PHP 8.5+ 現代模式、PSR 標準和 SOLID 原則。在審查 PHP 代碼、檢查類型安全、審核代碼質量或確保 PHP 最佳實踐時使用。觸發“審查 PHP”、“檢查 PHP 代碼”、“審核 PHP”或“PHP 最佳實踐”。 來源:asyrafhussin/agent-skills。

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 php-best-practices?

PHP 8.5+ 現代模式、PSR 標準和 SOLID 原則。在審查 PHP 代碼、檢查類型安全、審核代碼質量或確保 PHP 最佳實踐時使用。觸發“審查 PHP”、“檢查 PHP 代碼”、“審核 PHP”或“PHP 最佳實踐”。 來源:asyrafhussin/agent-skills。

如何安裝 php-best-practices?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/asyrafhussin/agent-skills