php-conventions

Official

Enforce PHP coding standards.

Authorzb-ss
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures PHP code adheres to modern best practices, improving code quality, maintainability, and reducing bugs.

Core Features & Use Cases

  • Strict Typing: Enforces declare(strict_types=1); and scalar/class type hints.
  • OOP Patterns: Promotes classes, interfaces, dependency injection, and immutability.
  • Error Handling: Guides the use of exceptions over error suppression.
  • Documentation: Mandates PHPDoc blocks for clarity.
  • Use Case: Maintain a consistent and high-quality codebase across a PHP project, especially when multiple developers are involved.

Quick Start

Apply the php-conventions skill to the file '/path/to/your/php/file.php'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: php-conventions
Download link: https://github.com/zb-ss/opencode-workflows/archive/main.zip#php-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.