php-processwire-standards

Enforce coding standards and security guidelines for ProcessWire PHP development.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill php-processwire-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-processwire-standards
Source: https://github.com/webmanufaktur/pwaiworkflow/tree/main/.agents/skills/php/php-processwire-standards
Command: npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill php-processwire-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces consistent, secure, and maintainable coding practices for ProcessWire PHP development, reducing bugs and improving collaboration.

Core Features & Use Cases

  • Coding Standards: Defines clear naming conventions, indentation, and formatting rules.
  • Quality & Architecture: Promotes type safety, explicit visibility, extensibility via hooks, and proper documentation.
  • Security: Emphasizes input sanitization, authentication, and data sensitivity.
  • Error Handling: Guides on effective logging, exception handling, and response management.
  • Workflow: Recommends Git, semantic versioning, and multi-environment testing.
  • Use Case: Ensure all new modules and template files adhere to established best practices for a cleaner, more robust ProcessWire site.

Quick Start

Apply the php-processwire-standards skill to review the provided PHP code for adherence to best practices.

Frequently Asked Questions about php-processwire-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for PHP security and input sanitization in ProcessWire?

ProcessWire PHP security best practices require strict input sanitization, proper authentication checks, and careful handling of data sensitivity. Enforcing these coding standards prevents vulnerabilities and protects your CMS from unauthorized access.

How do I enforce coding standards and naming conventions for ProcessWire modules?

Enforce ProcessWire coding standards by applying consistent naming conventions, indentation, and formatting rules to modules and templates. This ensures code quality, reduces bugs, and improves maintainability across the development ecosystem.

Does this coding standards skill require specific dependencies or components for ProcessWire?

No dependencies or components are required to apply these ProcessWire coding standards. The skill functions independently to review PHP code, simply requiring your existing ProcessWire development environment to evaluate adherence to best practices.

How do I use hooks and type safety to improve ProcessWire code architecture?

Improve ProcessWire architecture by enforcing type safety, explicit method visibility, and utilizing hooks for extensibility. Proper documentation of these architectural elements ensures robust and maintainable PHP module development.

What is the recommended Git workflow and error handling strategy for ProcessWire development?

The recommended ProcessWire workflow integrates Git version control, semantic versioning, and multi-environment testing. Effective error handling utilizes logging, exception management, and proper response control to maintain code stability.

Why does my ProcessWire PHP code fail maintainability and quality checks?

ProcessWire PHP code fails maintainability checks when it lacks type safety, proper input sanitization, or consistent naming conventions. Enforcing standardized error logging and hook usage restores code quality and collaborative efficiency.