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.