MariaDB Best Practices
Comprehensive coding standards for MariaDB database development, optimized for AI agents and LLMs.
Overview
This skill provides 22 rules organized across 8 categories:
- Query Optimization (query-) - MariaDB optimizer hints, statistics [CRITICAL]
- Security (security-) - Authentication plugins, encryption at rest [CRITICAL]
- Schema Design (schema-) - System versioning, sequences [HIGH]
- Storage Engines (engine-) - InnoDB, Aria, ColumnStore selection [HIGH]
- Galera Cluster (galera-) - Multi-master, SST methods [MEDIUM-HIGH]
- Performance Tuning (perf-) - Thread pool, buffer pool [MEDIUM]
- JSON Features (json-) - JSON functions, dynamic columns [MEDIUM]
- Compatibility (compat-) - MySQL compatibility, migration [LOW-MEDIUM]
Usage
Reference this skill when:
- Working with MariaDB-specific features
- Setting up Galera cluster
- Using system versioned tables
- Optimizing MariaDB performance
- Migrating from MySQL to MariaDB
Build
pnpm build # Compile rules to AGENTS.md
pnpm validate # Validate rule files