Community生產力與協作github.com

asyrafhussin/php-best-practices

PHP 8.x 現代模式、PSR 標準與 SOLID 原則。用於審查 PHP 程式碼、檢查型別安全、稽核程式碼品質,或確保遵循 PHP 最佳實務。觸發詞為「review PHP」、「check PHP code」、「audit PHP」或「PHP best practices」。

php-best-practices 是什麼?

這個 AI 代理技能專為開發者和工程師設計,協助他們在 PHP 專案中遵循現代最佳實務。它涵蓋 PHP 8.x 的現代模式、PSR 標準以及 SOLID 物件導向原則。當使用者要求審查 PHP 程式碼、檢查型別安全、稽核程式碼品質,或明確提及 PHP 最佳實務時,此技能會自動觸發。它支援 Claude Code、Cursor 和 Codex 等主流開發平台,透過 SKILL.md 文件中的指示,引導 AI 代理進行程式碼分析、建議重構、並確保合規性。這項技能能顯著提升程式碼的可維護性與一致性,是 PHP 開發團隊的可靠助手。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/asyrafhussin/agent-skills/tree/main/skills/php-best-practices

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

php-best-practices 是做什麼的?

PHP 8.x 現代模式、PSR 標準與 SOLID 原則。用於審查 PHP 程式碼、檢查型別安全、稽核程式碼品質,或確保遵循 PHP 最佳實務。觸發詞為「review PHP」、「check PHP code」、「audit PHP」或「PHP best practices」。

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

相關技能