drupal-entity-api

Design Drupal 10/11 content types and fields using the Entity API decision matrix.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AJV009/drupal-devkit --skill drupal-entity-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-entity-api
Source: https://github.com/AJV009/drupal-devkit/tree/main/plugins/drupal-core/skills/drupal-entity-api
Command: npx skills add https://github.com/AJV009/drupal-devkit --skill drupal-entity-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Drupal Entity API guidance helps design and implement robust content structures by providing a standardized approach to selecting field types, configuring entity references, and implementing CRUD operations for Drupal 10/11.

Core Features & Use Cases

  • Field-type selection matrix for common content needs (dates, texts, references, files, images, etc.).
  • Guidance on entity CRUD operations, storage reuse, and access control patterns.
  • Use Case: Designing a blog article type with image, tags, and related nodes, then implementing create/read/update/delete workflows.

Quick Start

Define a new content type with base fields using the Drupal Entity API and create a sample node to validate CRUD operations.

Frequently Asked Questions about drupal-entity-api

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

FAQPage Schema
How do I design Drupal content types and select the right field types?

To design Drupal content types and select fields, use a standardized decision matrix that guides field-type selection for dates, texts, references, and images. This ensures robust content modeling and proper entity CRUD workflows in Drupal 10/11.

What is the best way to implement entity CRUD operations in Drupal 10/11?

The best way to implement entity CRUD operations in Drupal 10/11 involves following standardized coding best practices for the Entity API. This approach ensures proper create, read, update, and delete workflows while enforcing storage reuse and access control patterns.

How do I configure entity references and view modes using the Drupal Entity API?

To configure entity references and view modes using the Drupal Entity API, apply common configuration patterns that enforce access control and proper field-type selection. This standardizes how related nodes are linked and displayed across your content structures.

Can I use this Entity API guidance for designing complex blog article types with tags and related nodes?

Yes, you can use this Entity API guidance for designing complex blog article types with images, tags, and related nodes. It provides a use case for building these structures and implementing the necessary create, read, update, and delete workflows to validate them.

When should I enforce storage reuse recommendations in Drupal content modeling?

You should enforce storage reuse recommendations in Drupal content modeling when designing multiple content types that share similar fields. This practice prevents database bloat and maintains structural consistency across your Drupal 10/11 site's Entity API implementation.