mcloud-deployments
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.
What this skill does
# Cloud CLI: Deployments Commands Execute `mcloud deployments` commands to inspect deployments and their build logs. ## Constraints - Always pass `--json` when parsing output — plaintext format may change. - Always confirm context (`mcloud whoami --json`) before running commands if org/project are not already known. - Use `--deployment` IDs in the format `depl_*` or build IDs; build IDs resolve to their latest deployment automatically. ## Commands ### deployments list List recent deployments for a project (default: 20 most recent across all environments). ```bash mcloud deployments list --organization <org-id> --project <project-id-or-handle> --json ``` **Options:** - `-o/--organization <id>` — Organization ID (falls back to active context) - `-p/--project <id-or-handle>` — Project ID or handle (falls back to active context) - `-e/--environment <handle>` — Filter by environment handle - `--environment-type <production|long-lived|preview>` — Filter by environment type - `--commit <sha>` — Filter by Git commit SHA (full or prefix) - `--limit <1-200>` — Max results (default: `20`) - `--offset <number>` — Pagination offset (default: `0`) - `--json` — Output as JSON ### deployments get Retrieve a single deployment's details by ID. ```bash mcloud deployments get <deployment-id> --organization <org-id> --project <project-id-or-handle> --json ``` **Arguments:** - `deployment` — Deployment ID (required) **Options:** - `-o/--organization <id>`, `-p/--project <id-or-handle>`, `--json` ### deployments build-logs Fetch build logs for a deployment. Use this to debug `build-failed` status. ```bash mcloud deployments build-logs <deployment-id> --organization <org-id> --project <project-id-or-handle> ``` **Arguments:** - `deployment` — Deployment ID (required) **Options:** - `-o/--organization <id>`, `-p/--project <id-or-handle>` - `--type <backend|storefront>` — Which build log stream to read (default: `backend`) - `--json` — Output as JSON ## Deployment Statuses | 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 | ## Examples ```bash # 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 ```
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.