mcpField
L
laravel:bootstrap-check

laravel:bootstrap-check

github.com/jpcaparasDevelopment157105 installsUpdated 19w ago
Repository

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

  1. 01Detect Sail availability
  2. 02Show Sail and host commands
  3. 03List Artisan and Composer commands
  4. 04Check database and cache services

Use cases

  1. 01Choose a runner at the start of a Laravel session
  2. 02Run tests, migrations, or dependency installation
  3. 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-check

After installing, type/laravel:bootstrap-checkin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported