laravel:bootstrap-check
21
总安装量
12
周安装量
#17651
全站排名
安装命令
npx skills add https://github.com/jpcaparas/superpowers-laravel --skill laravel:bootstrap-check
Agent 安装分布
claude-code
10
gemini-cli
6
antigravity
5
windsurf
5
codex
5
Skill 文档
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 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