Skip to content
Back to skills

Bootstrap Check

ASecurity

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

  • 147 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
toolsphpbashsql

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 6, 2026

npx -y skills add jpcaparas/superpowers-laravel --skill bootstrap-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bootstrap Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bootstrap Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpcaparas-bootstrap-check/badge)](https://www.skillsdirectory.com/skills/jpcaparas-bootstrap-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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:

```bash
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:

```bash
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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.