php-standards

Community

Enforce PHP coding standards for Oh My Brand!

AuthorWesleySmits
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing PHP for WordPress themes often suffers from inconsistent naming, unsafe data handling, and a lack of strict typing. This Skill defines a comprehensive set of PHP coding standards to ensure predictable, secure, and maintainable code across the Oh My Brand! WordPress FSE theme.

Core Features & Use Cases

  • Strict typing and declarations: Enforce declare(strict_types=1); namespaces; prefixed functions with omb_ for consistency.
  • Security-first output: Guidance on escaping, sanitization, nonce usage to prevent common vulnerabilities.
  • Documentation and structure: File header conventions, code structure, and inline DocBlocks to improve readability and maintainability.

Quick Start

Consult this guide before writing PHP blocks, templates, or render logic to ensure strict typing, escaping, and secure data handling.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-standards
Download link: https://github.com/WesleySmits/oh-my-brand-wp-fse/archive/main.zip#php-standards

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.