Community研究與資料分析github.com

netresearch/php-modernization-skill

代理技能:PHP 8.x 現代化模式 - 型別、屬性、PHPStan | 相容 Claude Code

php-modernization-skill 是什麼?

此技能專為 AI 代理(如 Claude Code)設計,提供 PHP 8.x 現代化重構的專業指引。它涵蓋了將舊版 PHP 程式碼升級至 PHP 8.x 的核心模式,包括但不限於:強型別宣告(typed properties、union types、mixed type)、PHP 8 屬性(attributes)的應用,以及整合 PHPStan 靜態分析工具以確保程式碼品質。此技能透過詳細的規則與範例,指導代理如何安全地導入現代 PHP 語法,並保持與現有程式碼庫的相容性。支援的平台為 Claude Code,開發者可直接在對話中使用此技能來進行程式碼現代化任務,有效提升 PHP 專案的可維護性與效能。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add netresearch/php-modernization-skill

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

php-modernization-skill 是做什麼的?

代理技能:PHP 8.x 現代化模式 - 型別、屬性、PHPStan | 相容 Claude Code

相關技能