drupal-views

Configure Drupal Views displays, handlers, and base tables for dynamic content listings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drupal Views is the core tool for building dynamic lists, pages, and blocks from content without writing custom SQL. It helps teams avoid ad-hoc queries and repetitive coding by centralizing display logic in one place.

Core Features & Use Cases

  • Create and configure views: Define base tables, multiple displays (default, page, block, feed), and inheritance to share settings.
  • Configure handlers and displays: Add fields, filters, sorts, relationships, arguments, headers, and footers to tailor outputs.
  • Real-world use case: Build a content listing page for articles with title, summary, date, author, and a taxonomy filter to surface relevant content.

Quick Start

Create a new view named 'articles' to list published article nodes at the path /articles.

Frequently Asked Questions about drupal-views

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

FAQPage Schema
How do I create a Drupal content listing page with filters without writing SQL?

You can build a Drupal views content listing by defining the base_table, adding page displays, and configuring field and filter handlers. This approach centralizes display logic to generate paged, searchable node lists without writing custom SQL queries.

What is a display handler in Drupal Views and when do I need it?

Display handlers in Drupal Views manage how content renders across page, block, and feed outputs. You need them to attach fields, filters, sorts, and arguments that shape the dynamic data display for different content listing scenarios.

Can I configure multiple displays that share settings in Drupal Views?

Yes, Drupal Views supports defining multiple displays such as default, page, block, and feed. These displays use inheritance to share default settings, allowing you to maintain scalable view configurations while tailoring specific outputs as needed.

Does this approach work for listing users, taxonomy terms, and media in Drupal?

Yes, Drupal Views configuration applies to listing nodes, users, taxonomy terms, and media. By selecting the appropriate base_table, you can build searchable and paged views for any of these content types using the same handler and display management logic.

What's the best way to add a taxonomy filter to a Drupal articles listing page?

The best way to add a taxonomy filter to a Drupal views listing is by configuring the filter handler on your articles base_table. You define the filter criteria within the view settings to surface relevant content dynamically without ad-hoc queries.

When should I avoid using Drupal Views for dynamic content displays?

You should avoid Drupal Views when your display logic requires highly custom SQL queries that standard handlers cannot validate, or when your configuration becomes unmaintainable. For simple static content, Views may also be unnecessary overhead compared to direct theming.