·php-best-practices
</>

php-best-practices

asyrafhussin/agent-skills

PHP 8.5+ modern patterns, PSR standards, and SOLID principles. Use when reviewing PHP code, checking type safety, auditing code quality, or ensuring PHP best practices. Triggers on "review PHP", "check PHP code", "audit PHP", or "PHP best practices".

285Installs·20Trend·@asyrafhussin

Installation

$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+ modern patterns, PSR standards, and SOLID principles. Use when reviewing PHP code, checking type safety, auditing code quality, or ensuring PHP best practices. Triggers on "review PHP", "check PHP code", "audit PHP", or "PHP best practices". Source: asyrafhussin/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is php-best-practices?

PHP 8.5+ modern patterns, PSR standards, and SOLID principles. Use when reviewing PHP code, checking type safety, auditing code quality, or ensuring PHP best practices. Triggers on "review PHP", "check PHP code", "audit PHP", or "PHP best practices". Source: asyrafhussin/agent-skills.

How do I install php-best-practices?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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