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".

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

Install this agent skill to your local

npx skills add kanopi/cms-cultivator --skill drupal-sdc-twig

Skill Files

The files that make up drupal-sdc-twig.

Download Skill

More agent skills