Module Scaffold — Development skill for Claude Code
Generate a new Drupal module with best-practice structure.
How to install Module Scaffold
Installs to ~/.claude/commands/madsnorgaard-drupal-agent-resources-module-scaffold.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/madsnorgaard/drupal-agent-resources/HEAD/.claude/commands/module-scaffold.md -o ~/.claude/commands/madsnorgaard-drupal-agent-resources-module-scaffold.md Restart Claude Code, or start a new session, for it to be picked up.
What Module Scaffold does
name: module-scaffold description: Generate a new Drupal module with best-practice structure arguments: "[module_name]"
Drupal Module Scaffolding
Create a new Drupal module following best practices.
**Usage:** `/module-scaffold [module_name]`
If a module name is provided as an argument, use it directly. Otherwise, prompt the user for requirements.
Step 1: Research First
**Before creating a custom module, ask the developer:**
- "What functionality do you need?"
- "Have you s
Alternatives in Development
- Triage PRs — Classify all open PRs by module, review state, scope, and architectural impact — produces a prioritized triage 12.6k ★
- Sdlc Fleet — SDLC Fleet Pattern (skill module) 1.1k ★
- Module Build — Build and package a module for distribution (compile assets + zip) 407 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Drupal Blast Radius
Analyze dependencies and blast radius for a feature or module
Raven Scaffold
Use when starting a new feature, module, or component.
Scaffold Decorator
Scaffold or wire a helpers/decorators module (prefer ArchiPy decorators)
Scaffold Interceptor
Scaffold or wire a helpers/interceptors module (prefer ArchiPy interceptors)
New Code Boilerplate
Act as a senior Perl architect. Generate the complete scaffold for a new Perl module (or script) based on the
Vault Gardener
Seed an empty vault or new topic with an interactive starter structure and initial notes. Use when a knowledge
Related Agents
Module Scaffolder
Use this agent when you need to scaffold a new Laravel module in the LaraDashboard project, including generati
Go Scaffold
Scaffolds new Go projects with proper structure, configuration, CI/CD, and boilerplate. Delegate new project c
Project Builder
Use when the user wants to define and scaffold the initial structure of a new project in a user-specified targ