drupal-at-your-fingertips
Comprehensive Drupal patterns from "Drupal at Your Fingertips" by Selwyn Polit. Covers 50+ topics including services, hooks, forms, entities, caching, testing, and more.
When & Why to Use This Skill
This Claude skill serves as a comprehensive technical reference for Drupal development, providing instant access to over 50 expert patterns from 'Drupal at Your Fingertips' by Selwyn Polit. It helps developers solve complex architectural challenges by providing production-ready code examples and best practices for core APIs, entity management, and system integrations, significantly reducing research time and improving code quality.
Use Cases
- Case 1: Implementing Drupal Core APIs such as services, hooks, and event subscribers using standardized, up-to-date patterns.
- Case 2: Designing and validating complex forms and custom entity types with expert guidance on fields, nodes, and taxonomy.
- Case 3: Configuring advanced backend operations including Batch API, Queue API, and Cron jobs for handling long-running background tasks.
- Case 4: Setting up robust testing suites using PHPUnit and Drupal Test Traits (DTT) to ensure application stability and performance.
- Case 5: Optimizing frontend and backend performance through proper implementation of Twig templates, render arrays, and caching strategies.
| name | drupal-at-your-fingertips |
|---|---|
| description | Comprehensive Drupal patterns from "Drupal at Your Fingertips" by Selwyn Polit. Covers 50+ topics including services, hooks, forms, entities, caching, testing, and more. |
Drupal at Your Fingertips
Source: drupalatyourfingertips.com Author: Selwyn Polit License: Open access documentation
When This Skill Activates
Activates when working with Drupal development topics covered in the d9book including:
- Core APIs (services, hooks, events, plugins)
- Content (nodes, fields, entities, paragraphs, taxonomy)
- Forms and validation
- Routing and controllers
- Theming (Twig, render arrays, preprocess)
- Caching and performance
- Testing (PHPUnit, DTT)
- Common patterns and best practices
Available Topics
All topics are available as references in the /references/ directory.
Each reference links to the full chapter on drupalatyourfingertips.com with:
- Detailed explanations and code examples
- Best practices and common patterns
- Step-by-step guides
- Troubleshooting tips
Core Concepts
- @references/services.md - Dependency injection and service container
- @references/hooks.md - Hook system and implementations
- @references/events.md - Event subscribers and dispatchers
- @references/plugins.md - Plugin API and annotations
- @references/entities.md - Entity API and custom entities
Content Management
- @references/nodes-and-fields.md - Node and field API
- @references/forms.md - Form API and validation
- @references/paragraphs.md - Paragraphs module patterns
- @references/taxonomy.md - Taxonomy and vocabularies
- @references/menus.md - Menu system
Development Tools
- @references/composer.md - Dependency management
- @references/drush.md - Drush commands
- @references/debugging.md - Debugging techniques
- @references/logging.md - Logging and monitoring
- @references/dtt.md - Drupal Test Traits
Advanced Topics
- @references/batch.md - Batch API for long operations
- @references/queue.md - Queue API for background tasks
- @references/cron.md - Cron jobs and scheduling
- @references/ajax.md - AJAX framework
- @references/javascript.md - JavaScript in Drupal
See /references/ directory for complete list of 50+ topics.
To update: Run .claude/scripts/sync-d9book.sh