runner-selection
Installation
SKILL.md
Runner Selection
Use this skill before executing Laravel commands in an unfamiliar repository. It consolidates the former bootstrap-check skill into one environment-detection workflow.
Detection Order
- Read project instructions for required containers, wrappers, or task runners.
- Check for
vendor/bin/sail, Docker Compose files, and a Sail dependency incomposer.json. - Check whether the expected containers are already running and whether required services are healthy.
- If Sail is absent, verify host
php,composer,node, and the selected package manager. - Inspect
composer.json, lock files,package.json, and test configuration before choosing commands.
Prefer Sail when the project is configured around it and its services are available. Use host tooling when the repository is intentionally non-Sail or the user has chosen the host workflow.
Do not silently mix runners within one verification sequence. Container and host PHP versions, extensions, environment variables, databases, and filesystem permissions may differ.