From drupal-gutenberg
Generate correct Drupal Gutenberg HTML block markup. Use when the user asks to create, edit, or compose Drupal Gutenberg content, HTML blocks, block patterns, page layouts, or any content that will be stored in Gutenberg's block format.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-gutenberg:drupal-gutenberg-markupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate valid Drupal Gutenberg block markup (the HTML + comment format stored in `node__body.body_value`).
Generate valid Drupal Gutenberg block markup (the HTML + comment format stored in node__body.body_value).
Version target: Drupal Gutenberg 3.x, which bundles Gutenberg 16.7 (27 Sep 2023) / WordPress 6.4. Compatible with Drupal 10 and 11.
wp: prefix — Drupal Gutenberg retains the WordPress wp: prefix for block compatibility. Never use drupal: or gb:.<!-- wp:blockname --> ... content ... <!-- /wp:blockname --><!-- wp:blockname {"attr":"val"} /--><!-- wp:blockname {"key":"value"} --> ... content ... <!-- /wp:blockname --><!-- /wp:blockname -->.-->: <!-- wp:blockname /-->.wp:namespace/block-name format.Self-check every piece of generated markup against this list:
<!-- wp:blockname --> has a matching <!-- /wp:blockname -->wp: prefix (never drupal: or gb:)<!-- /wp:heading -->, not <!-- /wp:heading {"level":3} -->)<!-- wp:list-item --> inner blocks (not raw <li> inside <!-- wp:list -->)<!-- wp:column --> is nested inside <!-- wp:columns --><p> for paragraph, <h2> for {"level":2} heading, <h3> for {"level":3}, etc.)wp:namespace/block-name format<!-- wp:blockname /-->) is only used for dynamic/server-rendered blocks with no saved HTML content<!-- wp:paragraph -->
<p>Your text here.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":2} -->
<h2>Section Title</h2>
<!-- /wp:heading -->
<!-- wp:image {"sizeSlug":"large"} -->
<figure class="wp-block-image size-large">
<img src="/sites/default/files/image.jpg" alt="Description" />
</figure>
<!-- /wp:image -->
<!-- wp:columns -->
<div class="wp-block-columns">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Left column content.</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p>Right column content.</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- wp:embed {"url":"https://www.youtube.com/watch?v=VIDEO_ID","type":"rich","providerNameSlug":"youtube","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
<figure class="wp-block-embed is-type-rich is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio">
<div class="wp-block-embed__wrapper">
https://www.youtube.com/watch?v=VIDEO_ID
</div>
</figure>
<!-- /wp:embed -->
Two main page types exist:
For full examples and syntax rules, see these files in this skill's directory:
.gutenberg.yml pattern definitions, centered reading columns, sticky navigation, publication page archetypenpx claudepluginhub khawkins98/drupal-gutenberg-llm-skills --plugin drupal-gutenbergProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.