drupal-nodes

Plan and validate Drupal 10 node bundle naming, fields, and view modes.

34|12|Updated Mar 10, 2019
One-click install
npx skills add https://github.com/theodorosploumis/drupal-best-practices --skill drupal-nodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-nodes
Source: https://github.com/theodorosploumis/drupal-best-practices/tree/main/ai/skills/nodes
Command: npx skills add https://github.com/theodorosploumis/drupal-best-practices --skill drupal-nodes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps standardize Drupal node bundle naming, reuse of view modes, and revision/translation policies, while promoting clear documentation for editors and themers.

Core Features & Use Cases

  • Propose bundle names, machine names, descriptions, and required fields before creation.
  • Provide revision and translation guidance when workflows require it.
  • Plan view modes to avoid redundant displays and encourage reuse across bundles.

Quick Start

Draft a node bundle plan for an article type with machine name suggestions, required fields, and a plan to reuse view modes.

Frequently Asked Questions about drupal-nodes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Drupal node bundle naming and configuration?

Node bundle standardization enforces consistent machine names (singular, no special characters), reuses view modes like Full and Teaser across bundles, and documents revision and translation policies. This prevents naming drift, reduces redundant display configurations, and clarifies editor workflows.

What's the best way to plan Drupal node bundles before creating them?

Plan bundles by proposing machine names, descriptions, required fields, and view mode strategy upfront. Justify each bundle by display or behavior differences, reuse existing view modes unless documented exceptions exist, and validate configurations against drift using the included validation script.

When should I enable revisions and translations on Drupal node bundles?

Enable revisions and translations based on documented workflow requirements, not defaults. The Skill provides guidance to determine when content editing history or multi-language support justify the overhead for each bundle type.

How do I avoid duplicate view modes across Drupal bundles?

View mode reuse is encouraged across bundles unless a specific exception is documented. By planning display strategies upfront and leveraging Full and Teaser modes consistently, you reduce configuration redundancy and simplify themers' workload.

Can I detect Drupal bundle naming and configuration drift automatically?

Yes. The included validation script detects naming drift and configuration inconsistencies against your bundle plan, flagging deviations from singular machine names, undocumented view modes, or policy violations.

What prerequisites do I need to model Drupal 10 node bundles?

A Drupal 10 site-building environment and understanding of your content types' display and behavior requirements. The Skill guides machine naming conventions, field selection, and view mode planning for consistent bundle modeling.