Skill / SKILL.md

Drupal Sdc Twig

kanopi/cms-cultivator

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".
2 views 17 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/kanopi/cms-cultivator' skill-source

Use the complete skill-source/skills/drupal-sdc-twig directory with your client’s skill installer.

  • skills/drupal-sdc-twig

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/drupal-sdc-twig

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
6968adc8d54904dca7074f25dd363309f65b474c24ff8d3024e0ba772535b438
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills