Hyva Exec Shell Cmd
Utility skill that detects the Magento dev environment and returns the matching command wrapper for other skills.
- CCM score
- 67 of 100
- skills.sh installs
- 1.4K
- GitHub stars
- 86
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers environment detection for Warden, docker-magento, DDEV, and plain local setups via
scripts/detect_env.sh - Maps each detected environment to its exec wrapper, with examples for single commands and directory changes
- Lists host-side commands that skip wrapping, including
composer,git, and thewardenandddevCLIs - Streams bundled PHP helper scripts into the container over stdin, so no copy into the project tree is needed
Install
$ npx -y skills add hyva-themes/hyva-ai-tools --skill hyva-exec-shell-cmd -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Execute Shell Commands in Magento Environment
This utility skill detects the Magento development environment and provides the appropriate command wrapper for executing shell commands.
Usage
Other skills should reference this skill when they need to execute commands in the Magento environment. The detected wrapper ensures commands run in the correct context (container or local).
Step 1: Detect Environment
Important: Execute this script from the Magento project root directory, or provide the path as an argument.
Run this detection once at the start of any skill that needs to execute shell commands:
<skill_path>/scripts/detect_env.sh [magento_root_path]
Where <skill_path> is the directory containing this SKILL.md file.
The optional magento_root_path argument specifies the Magento installation directory. If omitted, the script uses the current working directory.
Output: warden, docker-magento, ddev, or local
Step 2: Apply Command Wrapper
Based on detected environment, wrap commands as follows:
Details
- Repository
- github.com/hyva-themes/hyva-ai-tools
- Categories
- PHP & Laravel, DevOps & Cloud
- First seen
- Jun 3, 2026
More from hyva-themes/hyva-ai-tools
All 12Similar to Hyva Exec Shell Cmd
More PHP & Laravelhyva-create-modulehyva-themes/hyva-ai-tools1.4K installsCreate a new Magento 2 module in app/code/. This skill should be used when the user wants to create a module, scaffold a new module, generate module boilerplate
eloquent-best-practicesiserter/laravel-claude-agents1.3K installsBest practices for Laravel Eloquent ORM including query optimization, relationship management, and avoiding common pitfalls like N+1 queries.
drupal-expertmadsnorgaard/drupal-agent-resources1.3K installsdrupal expert
filament-promarcelorodrigo/agent-skills1.3K installsBuild Laravel admin panels with Filament v5. Use for creating resources, forms, tables, widgets, and testing admin interfaces with Livewire v4.
laravel-database-optimizationasyrafhussin/agent-skills1.2K installsLaravel database optimization patterns. Use when writing Eloquent queries, creating migrations, configuring caching, debugging slow queries, or optimizing datab
filament-resourcemwguerra/claude-code-plugins1.2K installsGenerate FilamentPHP v4 resources with form, table, relation managers, and actions