About laravel:bootstrap-check
A startup-check skill for Laravel projects that determines whether to use Sail or host tools, then provides corresponding commands and database and cache checks.
Key features
- 01Detect Sail availability
- 02Show Sail and host commands
- 03List Artisan and Composer commands
- 04Check database and cache services
Use cases
- 01Choose a runner at the start of a Laravel session
- 02Run tests, migrations, or dependency installation
- 03Verify database and cache before starting
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jpcaparas/ superpowers-laravel --skill laravel:bootstrap-checkAfter installing, type/laravel:bootstrap-checkin Claude Code to confirm it loaded.
Details
From the project READMEBootstrap 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 aboutsail artisan test|php artisan testsail artisan migrate|php artisan migratesail composer install|composer installsail pnpm install|pnpm installsail pnpm run dev|pnpm run dev
Service Smoke Checks
- DB:
sail mysql -e 'select 1'ormysql -e 'select 1' - Cache:
sail redis pingorredis-cli ping
Comments
Markdown supported