0078-laravel-runner-selection

Select Sail or host PHP, Composer, and Node tooling for Laravel commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of running Laravel commands and tooling on the correct runtime (Sail vs host) so developers avoid mismatched dependencies, environment differences, and broken workflows.

Core Features & Use Cases

  • One-time Sail detection: Chooses Sail when the sail entry is present in the project or vendor/bin, otherwise falls back to host tools for the session.
  • Paired command mapping: Provides corresponding Artisan, Composer, package manager, and service commands so the same intent works in both environments.
  • Safety guardrails: Prevents mixing host and container runtimes in ways that cause inconsistent installs or confusing state, with caution for destructive DB operations.

Quick Start

Ask the AI to run your Laravel automation using Sail if available, otherwise using host php/composer/node while applying the provided command pairs.

Frequently Asked Questions about 0078-laravel-runner-selection

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

FAQPage Schema
How do I run Laravel Artisan commands consistently across Sail and host environments?▼

To run Laravel Artisan commands consistently, the Skill detects Sail once per session and maps paired commands, falling back to host PHP if Sail is unavailable. This prevents mismatched dependencies by maintaining a stable runtime selection without mixing host and container environments.

Why do my Composer package installs break when switching between Laravel Sail and local host PHP?▼

Composer installs break when mixing host and container runtimes because dependencies resolve differently across environments. The Skill applies safety guardrails to prevent mixing these runtimes, ensuring your Composer installs stay consistent within the detected Sail or host environment.

What is the best way to auto-detect Laravel Sail for local development workflows?▼

The best way to auto-detect Laravel Sail is by checking for the sail entry in the project or vendor/bin once per session. This allows the Skill to choose Sail when available, otherwise safely falling back to host PHP, Composer, and Node tooling for your local development workflows.

Can I use this Skill to run frontend package manager steps and access MySQL in Laravel?▼

Yes, you can use this Skill to run frontend package manager steps and access MySQL consistently. It maps paired commands for Artisan, Composer, package managers, and services so the same intent works in both Sail and host environments for your Laravel project.

Are there limitations when running destructive database operations through Laravel Sail or host commands?▼

A key limitation is that the Skill applies explicit caution for destructive database operations to prevent confusing state and inconsistent installs. It ensures you do not mix host and container runtimes destructively, keeping your database operations safe during environment selection.