drupal-database-api
CommunityMaster Drupal's database layer.
Authorproofoftom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust and secure way to interact with your Drupal site's database, enabling custom table creation, complex query writing, and schema management.
Core Features & Use Cases
- Custom Table Management: Define and manage custom database tables using
hook_schema()and update hooks. - Secure Querying: Write dynamic and static SQL queries safely using Drupal's Database API, preventing SQL injection.
- Schema Evolution: Handle database schema changes gracefully with update hooks and batch processing.
- Use Case: You need to store custom log data for your module. This Skill helps you define a new table, insert log entries, and retrieve them efficiently.
Quick Start
Use the drupal-database-api skill to define a new table named 'my_log_table' with columns 'message' (text) and 'timestamp' (int) in your module's install file.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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-database-api Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-database-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.