Agent Skills: drupal-sdc-twig

Best practices for building Drupal Single Directory Components (SDC) with Twig — including props vs slots, the `attributes` object, `include` vs `embed`, escaping rules, accessibility, schema and validation, and overriding components. Invoke when the user mentions "SDC", "Single Directory Component", "component.yml", working with `components/` folders in a Drupal theme or module, writing or reviewing an SDC Twig template, or asks "how should I structure this Drupal component", "props or slots?", "embed vs include in SDC", or "best practices for Drupal components".

UncategorizedID: kanopi/cms-cultivator/drupal-sdc-twig

Install this agent skill to your local

pnpm dlx add-skill https://github.com/kanopi/cms-cultivator/drupal-sdc-twig

Skill Files

Browse the full folder contents for drupal-sdc-twig.

Download Skill

Loading file tree…

Select a file to preview its contents.