0018-laravel-bootstrap-check

Detect Laravel Sail or host tools and output matching command pairs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0018-laravel-bootstrap-check
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 0018-laravel-bootstrap-check
Source: https://github.com/MrJmpl3/codex_____data_____configuration/tree/main/skills/0018-laravel-bootstrap-check
Command: npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0018-laravel-bootstrap-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the uncertainty of whether a Laravel project in your environment should be run with Laravel Sail or with host-installed tools, so you don’t waste time discovering the correct commands.

Core Features & Use Cases

  • Sail vs host detection: Detects Sail presence (including common paths like sail or vendor/bin/sail) to determine the correct command prefix for your session.
  • Ready command pair listings: Provides matching sail ... vs php ... / host equivalents for common tasks like artisan, composer, and frontend tooling.
  • Service reachability smoke checks: Offers simple DB and cache connectivity tests that help confirm key dependencies are reachable before deeper debugging.

Quick Start

Run the Sail detection snippet in your project root, then use the listed command pairs to execute the same tasks in either Sail or host mode.

Frequently Asked Questions about 0018-laravel-bootstrap-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I know if my Laravel project should use Sail or host-installed tools?▼

Laravel Sail detection checks for the `sail` entry or `vendor/bin/sail` in your project root to determine the correct command prefix. This instantly resolves whether your session should use Sail or host tools.

What's the best way to run artisan commands in a Laravel Sail environment?▼

Running artisan commands in a Laravel Sail environment requires using the correct Sail prefix. The detection outputs matching command pair listings, providing the exact `sail artisan` versus `php artisan` syntax for your detected setup.

How do I verify database and Redis connectivity before debugging a Laravel application?▼

Verifying database and Redis connectivity involves running simple service reachability smoke checks. These tests confirm that key dependencies are reachable and operational before you proceed with deeper application debugging.

Can I use host composer and npm commands instead of Laravel Sail in my workflow?▼

You can use host composer and npm commands instead of Laravel Sail. The detection provides ready command pair listings, offering matching host equivalents for frontend tooling and composer tasks if Sail is not detected.

Why does my Laravel command fail when switching between Docker Sail and local environments?▼

Laravel commands fail when switching environments due to incorrect command prefixes. Detecting the Sail presence ensures you execute tasks using the proper `sail` or host-level syntax, preventing execution errors.