drupal-coding-standards

Community

Ensure Drupal code quality and consistency.

Authorproofoftom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces Drupal's strict coding standards, preventing common errors and ensuring code is maintainable, readable, and passes automated checks like phpcs.

Core Features & Use Cases

  • Code Formatting: Enforces cuddled brace style, docblock requirements, and nullable type hints.
  • DrupalPractice Compliance: Catches common Drupal-specific anti-patterns, like incorrect service injection.
  • Use Case: When generating any Drupal code, use this skill as a baseline to guarantee adherence to best practices and avoid tedious manual corrections later.

Quick Start

Generate a new Drupal module and ensure all generated code adheres to Drupal coding standards.

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: drupal-coding-standards
Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-coding-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.