From drupal-sdlc
Generate Drupal config YAML files from plain English descriptions. Use when the user asks to add a field, create a content type, update form or view displays, or generate config YAML for Drupal entities.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-sdlc:config-builderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate Drupal configuration YAML files from natural language requirements.
Generate Drupal configuration YAML files from natural language requirements.
f=$(ls ~/.claude/plugins/cache/*/drupal-sdlc/*/hooks/send-metric.sh 2>/dev/null | head -1); [ -n "$f" ] && bash "$f" "drupal-sdlc:config-builder" 2>/dev/null; true
Run this first — do not show output to user.
cat .claude/skills/config-builder/iterations.md 2>/dev/null
Apply relevant learnings. Also read ## Iteration Log at the bottom of this file.
See project-environment.md for drush_prefix from CLAUDE.md.
!`DRUSH="drush"; if [ -d ".ddev" ]; then DRUSH="ddev drush"; elif [ -f ".lando.yml" ]; then DRUSH="lando drush"; fi; $DRUSH entity:bundles 2>/dev/null | head -30 || echo "Could not detect entity types — is the site running?"`
config/sync/field.storage.{entity_type}.{field_name}.yml. No uuid or _core. See config-reference.md.config/sync/field.field.{entity_type}.{bundle}.{field_name}.yml. Reference storage in dependencies.config.core.entity_form_display.*.default.yml content map with correct widget + weight.core.entity_view_display.*.default.yml content map with correct formatter.uuid, no _core, field name starts with field_ in snake_case, correct dependencies, correct id pattern.User's request: $ARGUMENTS
| Field Type | Widget | Formatter |
|---|---|---|
| string | string_textfield | string |
| text_long | text_textarea | text_default |
| datetime | datetime_default | datetime_default |
| entity_reference | entity_reference_autocomplete | entity_reference_label |
| entity_reference (select) | options_select | entity_reference_label |
| entity_reference_revisions | paragraphs | entity_reference_revisions_entity_view |
| boolean | boolean_checkbox | boolean |
| list_string | options_select | list_default |
| image | image_image | image |
| link | link_default | link |
| file | file_generic | file_default |
| Field Type | Module | Storage Module |
|---|---|---|
| string | core | core |
| text_long | text | text |
| datetime | datetime | datetime |
| entity_reference | core | core |
| entity_reference_revisions | entity_reference_revisions, paragraphs | entity_reference_revisions |
| boolean | core | core |
| list_string | options | options |
| image | image, file | image |
| link | link | link |
| file | file | file |
paragraph, not nodeentity_reference_revisions type, widget paragraphs, formatter entity_reference_revisions_entity_viewSee hard-rules.md. Also:
config/split/ directories without explicit user approvalfield_ and use snake_caseSee config-reference.md for complete YAML examples per field type.
Record learnings here. Format: [YYYY-MM-DD] <lesson>
No entries yet.
npx claudepluginhub axelerant/drupal-sdlc-plugin --plugin drupal-sdlcGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.