From drupal-boost
Drupal Recipes API for automating module installation and configuration. Use when creating recipes, applying recipes, or building site templates with the Drupal 11 Recipes system.
npx claudepluginhub abderrahimghazali/drupal-boostThis skill is limited to using the following tools:
Recipes automate module installation and configuration. Available in Drupal 10.3+ as experimental, stable in Drupal 11.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Recipes automate module installation and configuration. Available in Drupal 10.3+ as experimental, stable in Drupal 11.
recipes/my_recipe/
├── recipe.yml # Required: recipe definition
├── config/ # Optional: config to import
│ ├── system.site.yml
│ └── node.type.article.yml
└── content/ # Optional: default content
name: 'My Recipe'
description: 'Sets up a blog with article content type and views.'
type: 'Content type'
# Install modules
install:
- node
- views
- pathauto
- metatag
# Install themes
themes:
install:
- olivero
default: olivero
admin: claro
# Apply other recipes first
recipes:
- core/recipes/standard
# Config actions
config:
actions:
node.type.article:
createIfNotExists:
label: 'Article'
description: 'Use articles for time-sensitive content.'
system.site:
simpleConfigUpdate:
name: 'My Blog'
page:
front: '/blog'
# Via Drush (recommended)
drush recipe recipes/my_recipe
# Via PHP script
php core/scripts/drupal recipe recipes/my_recipe
createIfNotExists — Create config if it doesn't existsimpleConfigUpdate — Update specific values in existing configcreateForEach — Create multiple config entities from a templatesetPermissions — Assign permissions to rolesRecipes can include other recipes:
recipes:
- core/recipes/standard
- recipes/blog_base
- recipes/media_setup
recipes/ directorycreateIfNotExists to avoid overwriting existing config