magento2-warden
Installation
SKILL.md
magento2-warden
Warden environment toolkit for Magento 2 — database access, CLI execution, DB import/export, and environment management.
Critical Rules
- NEVER run
bin/magentodirectly — always viawarden env exec php-fpm bin/magento - NEVER delete cache folders manually (
rm -rf var/cache) — usebin/magento cache:flushvia warden - NEVER run raw SQL mutations (
UPDATE,DELETE,DROP) without explicit user confirmation - Always quote SQL in
warden db connectwith-e "..."flag - Always use
-Aflag withwarden db connectto disable auto-rehash (faster for large schemas)
Feature 1: Database Queries
Use warden db connect to run SQL queries non-interactively.
Related skills
More from tuanhaviet22/magento-skills
magento2-backend-toolkit
>
19magento2-db-performance
>
4magento2-custom-logger
>
4magento2-db-sql-csv
Magento 2 best practices for database queries and CSV exports. Use when writing SQL queries, fetching data from DB, or exporting data to CSV files. Triggers on tasks involving raw SQL, SELECT queries, JOIN operations, CSV generation, or file export adapters. DO NOT use for frontend, caching, or search topics.
4