Skip to main content

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

Jump to install

Source facts

Repository
kanopi/cms-cultivator
Last source activity
May 20, 2026 at 18:17
Detected SKILL.md language
English
Stars
16
Forks
4

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.