Skip to main content
skill CX Codex

dx-devops-test-pipeline-configure — Claude Code skill: DevOps Center

Configures DevOps Center pipeline testing: enables a test provider so its suites show up, re-syncs a configured provider, or sets a quality gate on a stage.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add forcedotcom/sf-skills --skill dx-devops-test-pipeline-configure -a claude-code
Open on GitHub

What dx-devops-test-pipeline-configure does

The skill covers three pipeline-level operations. Enable a test provider that is not configured yet, so its suites become available. Re-sync an already configured provider to pull in new suites. Or create a quality gate with rules on a stage, coverage threshold included.

Every run starts with the checks in references/prerequisite-checks.md: org login, the Agentforce DX plugin, DevOps Center org auth, and an identified pipeline. Quality gate mode adds a stage check. If a check fails, the skill stops — it will not write to an unverified environment. Mode selection then follows provider state: Available means configure, Configured with stale suites means sync. Each mode mutates org state, so a confirmation gate comes before any write, and quality gate mode shows an impact preview first.

All DevOps Center data — pipelines, stages, providers, suites, gates — lives in the Salesforce org, not the local repo, so grepping the filesystem for pipeline config gets you nowhere; the skill queries the org with sf data query and sf api request rest. You need the sf CLI at >=2.67.0 and API v67.0 or newer. One trap worth knowing: POSTing to the configure endpoint for a provider that is already configured creates duplicate DevopsPipelineTestProvider records, so check provider status first. And if suites are missing when you assign them to a stage, that is an assignment gap, not a configuration one — hand it to dx-devops-test-suite-assignments-configure.

What it helps with

  • enable a test provider so its suites appear in the pipeline
  • pull new suites into an already configured provider
  • set a coverage threshold on a pipeline stage
  • create a quality gate with rules for a stage
  • figure out why suites are missing when assigning them to a stage

Example prompts for the agent

  • Configure the test provider in my DevOps Center pipeline
  • Re-sync the provider and pull in the new suites
  • Set a quality gate with a coverage threshold on this stage

How to install dx-devops-test-pipeline-configure

1Skills CLI (Vercel)

npx skills add forcedotcom/sf-skills --skill dx-devops-test-pipeline-configure -a claude-code

2Manually: put the files in place

~/.claude/skills/dx-devops-test-pipeline-configure/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/dx-devops-test-pipeline-configure/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about dx-devops-test-pipeline-configure

How do I install dx-devops-test-pipeline-configure in Claude?

Run npx skills add forcedotcom/sf-skills --skill dx-devops-test-pipeline-configure -a claude-code. The skill lands at ~/.claude/skills/dx-devops-test-pipeline-configure/SKILL.md.

What does dx-devops-test-pipeline-configure do?

It configures DevOps Center pipeline testing: enables a test provider, re-syncs a configured provider, or creates a quality gate with rules on a stage. The mode is picked from the provider's state in the org.

What do I need before running it?

The sf CLI at >=2.67.0, the Agentforce DX plugin, DevOps Center org auth, and an identified pipeline; quality gate mode also needs a stage. Calls target Salesforce API v67.0.

Source text

SKILL.md · Apache-2.0
---
name: dx-devops-test-pipeline-configure
description: "Configures DevOps Center pipeline testing infrastructure: enables a test provider so its suites become available, re-syncs a configured provider to pull in new suites, or creates a quality gate with rules on a stage. Routes by intent across three modes after running shared prerequisite checks and an explicit confirmation gate. Use this skill when a user wants to set up, configure, enable, sync, or refresh a test provider, or set/configure a quality gate or coverage threshold on a DevOps Center pipeline stage. TRIGGER when: the user wants to configure/enable/add/set up a test provider, re-sync or refresh a provider's suite list, pull in new suites, or set/configure a quality gate, coverage threshold, or testing benchmark on a stage. DO NOT TRIGGER when: assigning existing suites to a stage (use dx-devops-test-suite-assignments-configure), running or retriggering a suite (use dx-devops-test-suite-run), or non-DevOps-Center work."
metadata:
  version: "1.0"
  domains: ["Developer Experience"]
  minApiVersion: "67.0"
  relatedSkills:
    - "dx-devops-test-failures-analyze"
    - "dx-devops-test-suite-assignments-configure"
    - "dx-devops-test-suite-run"
  cliTools:
    - tool: ["sf"]
      semver: ">=2.67.0"
---

# Configure DevOps Center Pipeline Testing Infrastructure

Sets up and configures a DevOps Center pipeline's testing infrastructure. This skill handles three closely related "configure your pipeline" operations that share the same org context, prerequisites, and entity scope (the pipeline level). Pick the mode that matches the user's intent.

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

**Important:** All DevOps Center data (pipelines, stages, providers, suites, gates) lives in the Salesforce org — NOT the local repo. Never search the filesystem for pipeline configuration. Always query the org with `sf data query` or `sf api request rest`.

---

## Step 1 — Run prerequisites first (always)

Before any query or system call, run the prerequisite checks in `references/prerequisite-checks.md`. On any failure, surface the plain-language message and stop — never write to an unverified environment.

- **Modes A & B (provider configure/sync):** run Prerequisites 1–4 (org login, Agentforce DX plugin, DevOps Center org auth, pipeline identified). Prerequisite 5 (stage) is **not** required — providers are configured at the pipeline level.
- **Mode C (quality gate):** run Prerequisites 1–4 **and** Prerequisite 5 (stage). Prereq 5 gives the `DevopsPipelineStage` only — the target `DevopsTestSuiteStage` record Id is resolved separately in Mode C's Step 0 (trigger → suite-stage row).

Carry forward the resolved `doce-org-alias`, `pipelineId`, and (Mode C) `stageId` / `testSuiteStageId`.

---

## Step 2 — Select the mode

| If the user wants to… | Mode | Follow |
|---|---|---|
| Enable / set up / add a provider that is **not yet configured** | **A — Configure a test provider** | `references/configuring-test-provider.md` |
| Re-sync / refresh an **already-configured** provider to pull in new suites | **B — Sync a configured provider** | `references/syncing-test-providers.md` |
| Set / configure a quality gate, coverage threshold, or testing benchmark on a stage | **C — Configure a quality gate** | `references/configuring-quality-gate.md` |

**Disambiguating A vs B (the critical decision):** First fetch the pipeline's providers (`GET .../testProviders?status=all`) — both modes start there. Then:

- Provider is **Available** (not configured) → **Mode A** (configure).
- Provider is **Configured** but suites are stale/missing → **Mode B** (sync).
- Provider is **Configured** and the user can't see suites *when assigning to a stage* → this is a **stage-assignment gap, not a configuration gap**. Redirect to `dx-devops-test-suite-assignments-configure`.

**Never POST to the configure endpoint for an already-configured provider** — it creates duplicate `DevopsPipelineTestProvider` records. See `references/gotchas.md`.

---

## Step 3 — Confirmation gate (required in every mode)

Every mode mutates org state and **must** show a confirmation gate before any write. Each mode's reference file contains its exact gate wording (Mode C additionally requires a mandatory impact preview before the gate). Do not call any write API until the user gives an affirmative response. If the user declines, stop without writing.

---

## Step 4 — Execute and report

Follow the chosen reference file for the exact API calls, success messages, and error handling:

- `references/configuring-test-provider.md` — Mode A
- `references/syncing-test-providers.md` — Mode B
- `references/configuring-quality-gate.md` — Mode C
- `references/error-handling.md` — consolidated status-code → plain-language tables for all modes
- `references/gotchas.md` — duplicate-provider trap, API-name differences, trigger-type rules

Never expose raw API errors, stack traces, or JSON payloads to the user — always translate to plain language.

---

## Related skills

- **`dx-devops-test-suite-assignments-configure`** — after configuring/syncing a provider, assign or map its suites to a stage; also recommends which suites to run for a commit.
- **`dx-devops-test-suite-run`** — run a suite, or retrigger a quality gate after fixes meet the threshold.
- **`dx-devops-test-failures-analyze`** — explain failures from a run and optionally create a fix work item.

© forcedotcom · Apache-2.0 · forcedotcom/sf-skills

Similar skills

Everything for DevOps and infrastructure →

From the same set167

experience-cms-brand-apply Finds a brand in Salesforce CMS, pulls its guidelines, and applies voice, tone and style to whatever the agent writes. CX Codex +1 5,000installs experience-ui-bundle-agentforce-client-generate Embeds the Agentforce Conversation Client in React and Angular UI Bundle apps: detects the framework, validates agentId, wires the component into a page. CX Codex +1 5,000installs dx-devops-test-suite-run Triggers DevOps Center test suites on Salesforce pipeline stages and polls execution until finished. Useful for pre-promotion gates and re-running checks after code coverage fixes. CX Codex +1 5,000installs dx-devops-test-suite-assignments-configure Picks the test suites that match a commit and maps them onto DevOps Center pipeline stages. Useful when you don't know what to run after a change. CX Codex +1 5,000installs experience-ui-bundle-site-generate Generates Salesforce Digital Experience Site infrastructure for hosting React UI bundles. Useful when setting up thin site containers, guest access, and locale configs. CX Codex +1 5,000installs data360-schema-get Pulls the list of Data Lake and Data Model objects from Salesforce Data Cloud, plus field-level schema for one object. Handy before you write a query. CX Codex +1 5,000installs data360-code-extension-generate Generates, tests, and deploys Salesforce Data Cloud Python code extensions using the SF CLI plugin. Useful when building batch scripts or real-time functions for DLO and DMO transformations. CX Codex +1 4,900installs mobile-apps-create Routes Salesforce native iOS and Android development to the right child skills for Mobile SDK, Agentforce SDK, or both. CX Codex +1 4,800installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor