laravel:runner-selection
Choose Sail automatically when available, fall back cleanly to host PHP/Composer/Node; paired command map for both environments
Works with
--- name: laravel:runner-selection description: Choose Sail automatically when available, fall back cleanly to host PHP/Composer/Node; paired command map for both environments license: MIT --- # Runner Selection for Laravel Commands Use Sail when present for environment consistency. Fall back to host tools when Sail is unavailable. Detect once, then stick to the choice for the session. ## Detecting Sail ``` # Best-effort alias; safe in any repo alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)' # Is Sail usable? [ -f ./sail ] || [ -x ./vendor/bin/sail ] && echo "Sail available" || echo "Sail not found" ``` If Sail is unavailable, use host `php`, `composer`, and your local Node (pnpm/npm/yarn). Keep versions aligned with your project. ## Command Pairs Use the left command if Sail is available; otherwise use the right. - `sail artisan about` | `php artisan about` - `sail artisan test` | `php artisan test` - `sail artisan migrate` | `php artisan migrate` - `sail composer install`| `composer install` - `sail composer require vendor/package` | `composer require vendor/package` - `sail pnpm install` | `pnpm install` - `sail pnpm run dev` | `pnpm run dev` - `sail mysql` | `mysql` (with matching DSN/env) - `sail redis` | `redis-cli` ## Safety Notes - Never mix hosts: don’t install PHP deps with Composer on host and then run them inside Sail (or vice versa). Pick one runtime per session. - Prefer non-interactive commands in automations/agents; provide flags instead of prompts. - Treat DB-destructive commands (`migrate:fresh`, `down -v`) with care.
More Backend Frameworks skills
git-guardrails-claude-code
mattpocock/skills
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
azure-compute
microsoft/azure-skills
Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.
azure-cloud-migrate
microsoft/azure-skills
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.

