storefront-best-practi…
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component including checkout pages, cart,…
Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.
$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-deployments --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mcloud-deploymentsContext preview
The summary Claude sees to decide when to auto-load this skill.
Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.
name: mcloud-deployments description: Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures. allowed-tools: Bash(mcloud deployments*), Bash(jq*)
Execute `mcloud deployments` commands to inspect deployments and their build logs.
List recent deployments for a project (default: 20 most recent across all environments).
mcloud deployments list --organization <org-id> --project <project-id-or-handle> --json
**Options:**
Retrieve a single deployment's details by ID.
mcloud deployments get <deployment-id> --organization <org-id> --project <project-id-or-handle> --json
**Arguments:**
**Options:**
Fetch build logs for a deployment. Use this to debug `build-failed` status.
mcloud deployments build-logs <deployment-id> --organization <org-id> --project <project-id-or-handle>
**Arguments:**
**Options:**
| Status | Meaning | |--------|---------| | `created` | Build not started yet | | `building` | Build running | | `built` | Build succeeded, awaiting rollout | | `deploying` | Rolling out to environment | | `deployed` | Live and serving traffic | | `build-failed` | Build step failed — read `build-logs` | | `deployment-failed` | Build succeeded, runtime crashed — read `mcloud logs` | | `timed-out` | Exceeded time budget (backend only) | | `canceled` | Superseded by a newer deployment | | `idle` | No longer the active deployment |
# List all deployments (with active context set) mcloud deployments list --json # Find most recent build-failed deployment mcloud deployments list --json \ | jq -r '[.[] | select(.backend_status == "build-failed")][0].id' # Get deployment details mcloud deployments get bld_01ABC123 --json # Read backend build logs mcloud deployments build-logs bld_01ABC123 # Read storefront build logs mcloud deployments build-logs bld_01ABC123 --type storefront # Filter deployments by commit SHA mcloud deployments list --commit a1b2c3d --json | jq '.' # Get deployments for a specific environment mcloud deployments list --environment production --json
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.
Repo: medusajs/medusa-agent-skills
ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component including checkout pages, cart,…
Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through medusa", "I want to learn medusa").…
Execute mcloud authentication and context commands: login, logout, whoami, use, version, and signup. Use when setting up the CLI, switching accounts, verifying…
Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle,…
Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without pushing to the tracked branch,…
Execute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs, filtering by time range, searching…