drupal-php-standards
OfficialWrite PHP that passes Drupal QA on first commit.
Authorsparkfabrik
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Drupal PHP development often triggers QA failures at commit time due to inconsistent coding standards, leaving teams to chase post-commit fixes.
Core Features & Use Cases
- Enforces Drupal-focused coding standards using PHPCS, PHPStan level 8, PHPMD, and CSpell to ensure zero-tolerance quality at commit.
- Applies to modules, themes, and core Drupal PHP files such as .php, .module, .install, .inc, and .theme, providing guardrails for both small edits and larger refactors.
- Use case: when implementing a new Drupal service or hook, ensure your change passes all quality gates before submission.
Quick Start
Run the Drupal PHP standards workflow on new or modified PHP files to guarantee QA compliance before commit.
Dependency Matrix
Required Modules
None requiredComponents
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: drupal-php-standards Download link: https://github.com/sparkfabrik/sf-awesome-copilot/archive/main.zip#drupal-php-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.