Drupal Best Practices

Extend node-oriented conventions to media, paragraphs, comments, and related entities while accounting for translation and display nuances. Use when this capability is needed.

tomevault-io 129a2e5 2 files · 2.0 KB Updated

File contents

Description

Extend node-oriented conventions to media, paragraphs, comments, and related entities while accounting for translation and display nuances.

Usage

  • Ask Claude to mirror node naming, documentation, and view mode reuse when modeling non-node entities.
  • Request guidance on translation handling, especially for paragraphs.
  • Have Claude suggest image style names that describe intent instead of dimensions.

Guardrails

  • Keep machine names concise and reusable across bundles.
  • Ensure translation workflows are explicit for nested entities like paragraphs.
  • Prefer descriptive image style names (goal-based, not pixel-based) and avoid GIF unless required.

Validation

Refer to scripts aligned with the specific entity (e.g., fields, views, blocks) after applying changes.

References

  • Drupal Best Practices README.
  • Apply node naming, descriptions, and view mode reuse patterns consistently.

Source: theodorosploumis/drupal-best-practices — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/theodorosploumis--drupal-best-practices--drupal-best-practices commit 129a2e50bc

Frequently asked questions

npx skillmds@latest add tomevault-io/drupal-best-practices