drupal-development

drupal-development is a skill for Claude Code from Mindrally/skills. It costs 25 tokens per session (472 once invoked), scanned A, original, Apache-2.0.

A set of guidelines for developing Drupal 10 modules with PHP 8 and newer. It covers Drupal APIs, services, plugins, entities, configuration, caching, queues, database access, and testing.

In plain words
What is it for?
Use it when creating or reviewing Drupal modules, services, plugins, entities, fields, hooks, database operations, configuration, caching, queues, and PHPUnit tests.
Why use it?
It helps developers follow Drupal's established way of extending the system instead of bypassing its built-in tools. This makes modules easier to maintain and more consistent with Drupal standards.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindrally-skills plugin — 217 skills shipped together

Good fit Use it when creating or reviewing Drupal modules, services, plugins, entities, fields, hooks, database operations, configuration, caching, queues, and PHPUnit tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindrally/skills/drupal-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Mindrally/skills --skill drupal-development
Clone the repo
git clone --depth 1 https://github.com/Mindrally/skills

Made for: Claude Code.

Or install mindrally-skills, the plugin that ships this one along with the rest of its 217 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drupal-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindrally/skills/drupal-development/github.svg)](https://agentmods.dev/skills/mindrally/skills/drupal-development)
Your own site
<a href="https://agentmods.dev/skills/mindrally/skills/drupal-development"><img src="https://agentmods.dev/badge/skills/mindrally/skills/drupal-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for drupal-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/mindrally/skills/drupal-development"><img src="https://agentmods.dev/badge/skills/mindrally/skills/drupal-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 9 Oct 2026
  • Snyk pass 9 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00472
Opus 5.5 $0.00010 $0.00189
Sonnet 5.5 $0.00005 $0.00094
Haiku 4.5 $0.00003 $0.00047

Measured 1mo ago against content hash 08120a804ddd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

drupal-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

drupal-development/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  • Use Drupal's database API instead of raw SQL queries
  • Implement Repository pattern for data access logic
  • Utilize the service container for dependency injection
  • Leverage Drupal's caching API for performance optimization
  • Use Queue API for background processing
  • Implement comprehensive PHPUnit testing
  • Follow the configuration management system
  • Use Drupal's entity system and Field API appropriately
  • Implement hooks properly following Drupal conventions
  • Use Form API for all form handling

Code Architecture

Services

  • Follow single responsibility principle
  • Register services properly in services.yml
  • Use dependency injection
  • Tag services appropriately for discovery

Routing

  • Define routes in module.routing.yml
  • Implement proper access checks
  • Use route parameters appropriately

Schema and Updates

  • Use hook_schema() for database table definitions
  • Implement update hooks for schema changes
  • Follow proper versioning for updates

Events

  • Use Drupal's event system for decoupled code
  • Create custom events when appropriate
  • Subscribe to core events properly

Forms

  • Implement form handlers using Form API
  • Use proper validation and submission handlers
  • Implement AJAX forms when needed

Security

  • Sanitize all user input
  • Implement CSRF protection
  • Use proper access controls
  • Escape output appropriately

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines 08120a804ddd
  2. 3mo ago First seen · 72 lines · 25 tokens per session scan A d892b5af604d

Subscribe to this mod's changes

drupal-development is a skill published in the GitHub repository Mindrally/skills (325 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 472 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

drupal-development compared with skills from other repositories

drupal-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
drupal-developmentMindrally/skillsSkill3251mo agoApache-2.0A25Claude Code
dare-laravel-apidewtech-technologies/dare-methodSkill54mo agoMITA62Claude Code, Codex
laravel-13-expertDeixtra-Private-Limited/claude-laravel-13-skillSkill27mo agoMITA105Claude Code, Codex
laravel-specialistJeffallan/claude-skillsSkill13kyesterdayMITA86Claude Code
php-proJeffallan/claude-skillsSkill13kyesterdayMITA107Claude Code
laravel-patternshashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A32Claude Code, Codex
laravelericrisco/rsc-harnessSkill7072d agoMITA75Claude Code, Codex