drupal-module-development SKILL.md skillA

drupal-module-development from siva01c/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add siva01c/claude-plugins/drupal-module-development@git:20260612.89eb1c8

Pins git:20260612.89eb1c8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
siva01c/claude-plugins
Path
drupal-dev-tools/skills/drupal-module-development/SKILL.md
Versions recorded
2
Latest version
git:20260612.89eb1c8, committed Jun 12, 2026
First version recorded
Mar 12, 2026
Size
1,388 bytes
Repository stars
16
License
MIT

Use when creating or extending Drupal 11 custom modules, including scaffolding, service architecture, and dependency injection best practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Drupal Module Development Skill

## Purpose
Use this skill when creating or extending custom Drupal 11 modules with modern architecture and maintainable code.

## When to apply
- Building a new custom module in `web/modules/custom`.
- Adding services, event subscribers, forms, or controllers.
- Refactoring procedural logic to service-based design.

## Workflow
1. Scaffold the module structure (`.info.yml`, `.services.yml`, routing, permissions).
2. Register dependencies through service definitions and constructor injection.
3. Build controllers/forms/plugins using Drupal 11 APIs and strict typing.
4. Add config schema for any custom configuration.
5. Validate with Drush cache rebuild and config export.

## Guardrails
- Avoid direct use of superglobals in business logic.
- Prefer dependency injection over static service locators.
- Keep schema, permissions, routes, and services documented and versioned.
- Do not modify Drupal core or contrib module code directly.

## Quick command checklist
```bash
drush en <module_name> -y
drush cr
drush config:export -y
```

In a containerized environment, prefix with your runner (e.g. `ddev drush …` — see the `ddev-tools` plugin).

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add siva01c/claude-plugins/drupal-module-development@sha256:79739cb00daa0c8e

The line at the top of this page pins the label git:20260612.89eb1c8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5ffer24h7es7m2bu.svg)](https://markdownregistry.com/a/art_5ffer24h7es7m2bu)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Mar 12, 2026 and Jun 12, 2026, about one every 92 days.

versioncommittedcommitsizeaudit
git:20260612.89eb1c8 latest2026-06-12 89eb1c8 1,388 BA view · diff
git:20260312.bfb92782026-03-12 bfb9278 1,289 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1388 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

siva01c/claude-plugins · 16 stars · license MIT · pushed 2026-09-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5ffer24h7es7m2bu
GET https://markdownregistry.com/api/v1/resolve?ref=siva01c/claude-plugins/drupal-module-development
GET https://markdownregistry.com/api/v1/blob/79739cb00daa0c8e7aa24d6e0fb90a343d687eaf8b0f1b5243166074dd0851b4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from siva01c/claude-plugins

github-actions SKILL.md skill
siva01c/claude-plugins · cicd-tools/skills/github-actions/SKILL.md · Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this…
git:20260612.89eb1c8 · audit A · 16 stars
gitlab-ci SKILL.md skill
siva01c/claude-plugins · cicd-tools/skills/gitlab-ci/SKILL.md · Use this skill when authoring or debugging GitLab CI/CD pipelines (.gitlab-ci.yml) — e.g. "add a CI pipeline for this…
git:20260612.89eb1c8 · audit A · 16 stars
drupal-ddev-operations SKILL.md skill
siva01c/claude-plugins · ddev-tools/skills/drupal-ddev-operations/SKILL.md · Use for operational Drupal 11 workflows in DDEV environments, including safe updates, backup-first procedures, and…
git:20260612.89eb1c8 · audit A · 16 stars
docker-compose SKILL.md skill
siva01c/claude-plugins · docker-tools/skills/docker-compose/SKILL.md · Use this skill when authoring or editing Docker Compose files (compose.yaml / docker-compose.yml), running…
git:20260612.89eb1c8 · audit A · 16 stars
docker-model SKILL.md skill
siva01c/claude-plugins · docker-tools/skills/docker-model/SKILL.md · Use this skill when running local AI models with Docker Model Runner — the `docker model` CLI — e.g. "run an LLM…
git:20260612.89eb1c8 · audit B · 16 stars
drupal-security-review SKILL.md skill
siva01c/claude-plugins · drupal-dev-tools/skills/drupal-security-review/SKILL.md · Use when auditing Drupal 11 custom modules/themes for security issues such as unsafe input handling, XSS risks, SQL…
git:20260312.bfb9278 · audit A · 16 stars
git-worktree SKILL.md skill
siva01c/claude-plugins · git-tools/skills/git-worktree/SKILL.md · Use this skill whenever a task involves running parallel work on a git repository without conflicts — e.g. "fix this…
git:20260612.89eb1c8 · audit A · 16 stars
dry SKILL.md skill
siva01c/claude-plugins · quality-tools/skills/dry/SKILL.md · DRY (Don't Repeat Yourself) review rules for code reviews: find the same knowledge — a rule, a constant, a parser, a…
git:20260926.287ec94 · audit A · 16 stars
solid SKILL.md skill
siva01c/claude-plugins · quality-tools/skills/solid/SKILL.md · SOLID design review rules (SRP, OCP, LSP, ISP, DIP) for code reviews: what counts as a real design finding, what is…
git:20260926.287ec94 · audit A · 16 stars
owasp-asvs SKILL.md skill
siva01c/claude-plugins · security-tools/skills/owasp-asvs/SKILL.md · OWASP ASVS v5.0 security verification skill with Drupal 11 mappings. Use when performing security code reviews…
git:20260612.89eb1c8 · audit A · 16 stars
deploy-workflow SKILL.md skill
siva01c/claude-plugins · workflow-tools/skills/deploy-workflow/SKILL.md · Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer…
git:20260710.f6f3974 · audit A · 16 stars
feature-workflow SKILL.md skill
siva01c/claude-plugins · workflow-tools/skills/feature-workflow/SKILL.md · Phased workflow for delivering a Drupal feature or non-trivial change: plan, implement, review, test, finalize. Use…
git:20260710.f6f3974 · audit A · 16 stars

Every file in siva01c/claude-plugins

Browse by kind, by grade A, or by owner.