Drupal Views
CommunityBuild Views with intentional naming, access, and display.
Software Engineering#performance#access control#views#drupal#query building#site building#content display
Authortheodorosploumis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you create Drupal Views that are organized, performant, and secure, preventing common issues like confusing machine names, insecure access, and inconsistent content rendering. It ensures your content listings are robust and easy to manage.
Core Features & Use Cases
- Normalized Machine Names: Automatically remove default suffixes (e.g.,
_1) and ensure Views have clear, descriptive machine names, titles, and administrative tags. - Permission-Based Access: Enforce the use of permission-based access controls for each View display, enhancing security.
- Entity Rendering via View Modes: Promote rendering entities through their view modes (e.g., "Teaser", "Full") to maintain consistent styling and reduce theme complexity.
- Use Case: Design a "Latest News" View by asking Claude to ensure its machine name is
latest_news, it has a clear administrative description, access is restricted to "View published content," and it renders articles using the "Teaser" view mode.
Quick Start
Design a View for article teasers with normalized machine names, per-display titles, access controls, and a No Results message that uses the teaser view mode.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Drupal Views Download link: https://github.com/theodorosploumis/drupal-best-practices/archive/main.zip#drupal-views Please download this .zip file, extract it, and install it in the .claude/skills/ directory.