From superpowers-laravel
Detects Laravel Sail or non-Sail environments, prints correct command pairs for artisan/composer/pnpm, and verifies mysql/Redis service reachability. Useful for quick project bootstrapping.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-laravel:bootstrap-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quickly determine if the project should run with Sail or host tools, then list the correct commands for this session.
Quickly determine if the project should run with Sail or host tools, then list the correct commands for this session.
Run this snippet in your project root:
if [ -f sail ] || [ -x vendor/bin/sail ]; then
echo "Sail detected. Use: sail artisan|composer|pnpm ...";
else
echo "Sail not found. Use host tools: php artisan, composer, pnpm ...";
fi
Optional portable alias:
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
sail artisan about | php artisan aboutsail artisan test | php artisan testsail artisan migrate | php artisan migratesail composer install | composer installsail pnpm install | pnpm installsail pnpm run dev | pnpm run devsail mysql -e 'select 1' or mysql -e 'select 1'sail redis ping or redis-cli pingnpx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelAutomatically detects Laravel Sail and uses it for commands like artisan/composer/pnpm; falls back to host PHP/Composer/Node with paired mappings for consistent execution.
Provides reference for docker-local Laravel dev environment including service credentials/ports, CLI commands (status/up/down/logs), file paths, project structure, and .env requirements. Use for setup, health checks, and troubleshooting.
Runs Laravel verification pipeline: env/Composer checks, linting (Pint), static analysis (PHPStan), tests with coverage, security audits, migrations, deploy readiness.