
drupal-nodes
Node content type management and configuration best practices. Provides guidance on creating content types, managing node fields, view modes, and node-related functionality in Drupal.
- GitHub stars
- 35
Install
/plugin install drupal-nodes@drupal-best-practicesRun it inside Claude Code after adding the marketplace with /plugin marketplace add theodorosploumis/drupal-best-practices.
Contents
Discovered from sourceSkills 1
Description
Apply consistent naming, reuse, and revision policies when creating and maintaining node bundles. Favor reusable view modes, keep bundle purposes clear, and document them for downstream editors and themers.
Usage
- Prompt Claude to propose bundle names, machine names, descriptions, and required fields before creating a type.
- Ask for revision and translation guidance only when the workflow requires it.
- Request view mode plans that avoid redundant displays and encourage reuse across bundles.
Guardrails
- Machine names are singular, concise, and avoid special characters.
- New bundle creation is justified by display or behavior differences; avoid one-off bundles.
- Avoid hardcoding UUIDs or content IDs in configuration or code.
Validation
Run the subsection validator from a bootstrapped Drupal site to spot naming and configuration issues:
./ai/scripts/validate-nodes.sh
References
- Drupal Best Practices README.
- Reuse the “Full” and “Teaser” view modes unless a new, documented display is needed.
Sponsors
Details
- Marketplace
- theodorosploumis/drupal-best-practices
- Source
- ai/skills/nodes
- Category
- Community