New to Claude Skills? Learn how to install them →

Dforcedotcom on GitHub

DevOps Center Pipeline Configuration

OfficialFree

Streamline your DevOps testing infrastructure setup.

by forcedotcom808 stars on forcedotcom/sf-skills
2 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What DevOps Center Pipeline Configuration does

The DevOps Center Pipeline Configuration skill is designed to facilitate the setup and management of testing infrastructure within Salesforce's DevOps Center. This skill provides a structured approach to configuring test providers, syncing existing providers to update suite lists, and establishing quality gates for pipeline stages. By leveraging this skill, users can efficiently manage their testing environments, ensuring that all necessary components are correctly configured and aligned with their development workflows.

This skill operates through three distinct modes, each tailored to specific user intents: configuring a new test provider, syncing an existing provider, or setting quality gates. The process begins with prerequisite checks to ensure that the environment is correctly set up before any actions are taken. This minimizes the risk of errors and ensures that the subsequent operations are performed in a verified context. Each mode is governed by clear guidelines, ensuring that users follow the correct procedures based on their specific needs.

For instance, if a user needs to enable a test provider that has not yet been configured, they would select Mode A. Conversely, if they want to refresh an already-configured provider to pull in new test suites, they would choose Mode B. The skill also includes a confirmation gate for every operation, which requires user affirmation before any changes are made to the Salesforce org, thereby preventing unintended modifications.

This skill is particularly useful for DevOps teams working within the Salesforce ecosystem who need to maintain a robust and up-to-date testing infrastructure. It streamlines the configuration process, reduces the likelihood of errors, and ensures compliance with best practices in managing DevOps testing workflows.

When to use it

Use this skill when you need to configure, sync, or set quality gates for test providers in a DevOps Center pipeline.

When not to use it

Avoid using this skill for assigning existing test suites to a stage or for operations outside of the DevOps Center context.

What you can build with it

Setting Up a New Test Provider

A user wants to enable a test provider that has not yet been configured in their DevOps Center pipeline.

Refreshing an Existing Provider

A user needs to sync an already-configured test provider to pull in new test suites for their pipeline.

Establishing a Quality Gate

A user aims to set a quality gate or coverage threshold for a specific stage in their DevOps Center pipeline.

How to install DevOps Center Pipeline Configuration

View source

1. Install with the skills CLI

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

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by forcedotcom

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…ModeFollow
Enable / set up / add a provider that is not yet configuredA — Configure a test providerreferences/configuring-test-provider.md
Re-sync / refresh an already-configured provider to pull in new suitesB — Sync a configured providerreferences/syncing-test-providers.md
Set / configure a quality gate, coverage threshold, or testing benchmark on a stageC — Configure a quality gatereferences/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.

Frequently asked questions about DevOps Center Pipeline Configuration

Similar skills