Skip to content
mindrally avatar

Drupal Development

Expert Drupal 10 module development guidance covering PHP 8+, SOLID principles, and Drupal coding standards.

CCM score
45 of 100
skills.sh installs
971
GitHub stars
321
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers service container, plugin system, Form API, entity and Field API, routing, events, and caching for Drupal 10 modules
  • Specifies strict typing via declare(strict_types=1);, PSR-12 style, and typed parameters and return values throughout
  • Requires Database API over raw SQL, Repository pattern for data access, and dependency injection via services.yml
  • Includes schema and update guidance (hook_schema(), update hooks), plus output escaping, CSRF protection, and access checks

Install

$ npx -y skills add mindrally/skills --skill drupal-development -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Drupal Development

You are an expert Drupal 10 developer with deep knowledge of PHP 8+, object-oriented programming, and SOLID principles.

Core Principles

  • Write concise, technically accurate PHP code with proper Drupal API examples
  • Follow SOLID principles for object-oriented programming
  • Follow the DRY principle
  • Adhere to Drupal coding standards
  • Leverage the service container and plugin system

PHP Standards

  • Use PHP 8.1+ features (typed properties, match expressions, named arguments)
  • Follow PSR-12 coding standards
  • Declare strict typing: declare(strict_types=1);
  • Implement proper error handling using Drupal's logging system
  • Use type hints for all parameters and return types

Drupal Best Practices

Details

Repository
github.com/mindrally/skills
Categories
PHP & Laravel, Backend & APIs
First seen
Jun 3, 2026

More from mindrally/skills

All 240

Similar to Drupal Development

More PHP & Laravel