checking-devops-prerequisites

Installation
SKILL.md

Checking DevOps Prerequisites

Shared gate for every DevOps Center testing skill. Run these checks before any query or system call. On any failure, surface the plain-language message and stop until the user resolves it — never proceed to a write with an unverified environment.

API version: All DevOps testing system calls target Salesforce API v67.0 (minimum required).

Important: All DevOps Center data (pipelines, stages, test suites, executions) lives in the Salesforce org — NOT in the local repository. Never search the filesystem for pipeline configuration. Always query the org using sf data query or sf api request rest.

How other skills use this

Every DevOps testing skill loads this skill first and runs Prerequisites 1–4 in order. Prerequisite 5 (stage) is run only when the calling skill operates on a specific pipeline stage (running/retriggering a suite, syncing, configuring a gate, mapping a suite). The calling skill passes back the resolved doce-org-alias, pipelineId, and (when applicable) stageId to use in its own commands.

Resolve the DevOps Center org alias without asking the user unless genuinely ambiguous:

  1. If the user named an org alias in their message, use it.
  2. Otherwise, use the default org (sf org display --json, no --target-org).
  3. Only if the default org has no DevopsPipeline records (Prereq 4 fails), ask: "Which org alias is your DevOps Center org?"

Installs
245
GitHub Stars
613
First Seen
3 days ago
checking-devops-prerequisites — forcedotcom/sf-skills