ask-laravel-mechanic
Installation
SKILL.md
<critical_constraints>
❌ NO migrate:fresh on prod/staging → destroys DB
❌ NO db:seed on prod → overwrites data
❌ NO Model::truncate() on prod without backup
❌ NO migrate:reset on prod
✅ MUST run php artisan env before dangerous commands
✅ MUST use migrate --pretend when unsure
✅ MUST restart queue after code deployment
</critical_constraints>
<safety_commands>
✅ Allowed: migrate (forward only)
✅ Safe test: migrate --pretend (shows SQL without running)
✅ Cache clear: optimize:clear
✅ Queue restart: queue:restart (after deploy!)
</safety_commands>