laravel-bootstrap-check

star 136

Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable

jpcaparas By jpcaparas schedule Updated 11/3/2025

name: laravel:bootstrap-check description: Detect Sail/non‑Sail and print the right command pairs for your environment; verify dependencies and key services are reachable

Bootstrap Check (Laravel)

Quickly determine if the project should run with Sail or host tools, then list the correct commands for this session.

Detect Runner

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)'

Command Pairs

  • sail artisan about | php artisan about
  • sail artisan test | php artisan test
  • sail artisan migrate | php artisan migrate
  • sail composer install | composer install
  • sail pnpm install | pnpm install
  • sail pnpm run dev | pnpm run dev

Service Smoke Checks

  • DB: sail mysql -e 'select 1' or mysql -e 'select 1'
  • Cache: sail redis ping or redis-cli ping
Install via CLI
npx skills add https://github.com/jpcaparas/superpowers-laravel --skill laravel-bootstrap-check
Repository Details
star Stars 136
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator