storefront-best-practi…
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component…
Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.
Claude Code
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-variables --agent claude-code
Codex
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a codex -y
Cursor
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a cursor -y
Gemini CLI
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a gemini-cli -y
GitHub Copilot
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a github-copilot -y
OpenCode
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a opencode -y
Windsurf
$ npx skills add medusajs/medusa-agent-skills --skill mcloud-variables -a windsurf -y
name: mcloud-variables description: Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values. allowed-tools: Bash(mcloud variables*), Bash(mcloud environments*), Bash(jq*)
Execute `mcloud variables` commands to inspect and manage environment variables for Cloud environments.
List all environment variables for a Cloud environment.
mcloud variables list \ --organization <org-id> \ --project <project-id-or-handle> \ --environment <environment-handle> \ --json
**Options:**
Retrieve a single variable by its ID (`var_...`) or key.
# By key (requires project + environment context) mcloud variables get ADMIN_CORS \ --organization <org-id> \ --project <project-id-or-handle> \ --environment <environment-handle> \ --json # By ID (works without project/environment context) mcloud variables get var_01XYZ --json
**Arguments:**
**Options:**
Create or update one or more variables. The CLI updates when you reference an existing key or a `var_...` ID, and creates otherwise.
# Single variable mcloud variables set API_KEY pk_123 \ --organization <org-id> \ --project <project-id-or-handle> \ --environment <environment-handle> # Multiple at once mcloud variables set -v API_KEY=pk_123 -v CLIENT_ID=my_app # From a .env file mcloud variables set --env-file .env
**Arguments:**
**Options:**
> Redeploy (runtime) or trigger-build (build) afterward — see Constraints.
Delete a variable by its ID (`var_...`) or key. **Irreversible; system variables can't be deleted.**
mcloud variables delete API_KEY \ --organization <org-id> \ --project <project-id-or-handle> \ --environment <environment-handle> \ --yes
**Arguments:**
**Options:**
| Field | Description | |-------|-------------| | `id` | Variable ID (`var_...`) | | `key` | Variable name (e.g. `ADMIN_CORS`) | | `value` | Variable value (masked if `is_secret` and `--reveal` not passed) | | `is_secret` | Whether the variable is treated as a secret | | `is_build` | Available at build time | | `is_runtime` | Available at runtime | | `environment_id` | The environment ID this variable belongs to | | `source` | `user` for user-set variables, `system` for auto-injected ones |
# List all variables for the active environment mcloud variables list --json # List only runtime variables, including system ones mcloud variables list --scope runtime --include-system --json # List storefront variables mcloud variables list --type storefront --json # Get a variable by key (with active context) mcloud variables get DATABASE_URL --json # Get a variable by ID (no env context needed) mcloud va
A collection of skills composed as Claude Code plugins for building Medusa applications with best practices and architectural patterns. These skills can be used with any agent, as explained in the Usage with Other Agents section.
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component…
Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through…
Execute mcloud authentication and context commands: login, logout, whoami, use, version, and signup. Use when setting up the CLI,…
Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing…
Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when…
Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.