Agent skill

Dx Devops Test Suite Run

by forcedotcom in forcedotcom/sf-skills

Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then…

Apache-2.0Auto-check passedTesting & QA

Install Dx Devops Test Suite Run

skills CLI
$ npx skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install forcedotcom/sf-skills dx-devops-test-suite-run --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dx-devops-test-suite-run .claude/skills/dx-devops-test-suite-run && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dx-devops-test-suite-run
GitHub stars
1.1k
Token cost
~1.5k tokens
SKILL.md length
550 words
Files
5 (incl. references)
Skills in repo
248
Repo updated
First seen
Licence
Apache-2.0

At a glance

Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then…

  • Works in 2 steps: Trigger execution → Poll until completion
  • Async execution via the Connect API after an explicit confirmation gate
  • SKILL.md covers Prerequisites, Inputs required, Step 1 — Trigger execution and Step 2 — Poll until completion, plus 2 more sections
  • Calls sf

What it does

Dx Devops Test Suite Run is an agent skill from forcedotcom/sf-skills. Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then polls by runId at provider-specific intervals until it completes, fails, or times out, and hands results to failure analysis. Also retriggers a quality gate after fixes, but only once coverage meets the threshold. Use this skill when a user wants to run, kick off, or launch test suites on a stage, re-run a quality gate…

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/error-handling.md`, `references/polling-configuration.md` and `references/prerequisite-checks.md`).

It sits in Testing & QA, covering Test generation, Quality gates and Root cause analysis. It works with Salesforce. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.

When your agent uses it

  • Async execution via the Connect API after an explicit confirmation gate
  • Then polls by runId at provider-specific intervals until it completes
  • Hands results to failure analysis
  • A user wants to run

Example prompts

  • “/dx-devops-test-suite-run”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Trigger execution
  2. Poll until completion

What it can do on your machine

Read from SKILL.md and the folder at commit 3c15867. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • sf

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dx Devops Test Suite Run loads about 1.5k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 245 tokens; SKILL.md has 550 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~245
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from forcedotcom/sf-skills at commit 3c15867, republished under its Apache-2.0 licence (© forcedotcom). 550 words, ~1,478 tokens.

Download SKILL.mdSave it as .claude/skills/dx-devops-test-suite-run/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
dx-devops-test-suite-run
description
Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then polls by runId at provider-specific intervals until it completes, fails, or times out, and hands results to failure analysis. Also retriggers a quality gate after fixes, but only once coverage meets the threshold. Use this skill when a user wants to run, kick off, or launch test suites on a stage, re-run a quality gate, or watch an in-progress run to completion. TRIGGER when: the user wants to run/launch suites on a stage, execute tests before or after promotion, re-run a quality gate after fixing failures, unblock a blocked promotion after adding tests, or poll/watch an in-progress run. DO NOT TRIGGER when: running sf apex run test directly (use platform-apex-test-run), or configuring a NEW gate or threshold (use dx-devops-test-pipeline-configure).
metadata.version
1.0
metadata.domains
Developer Experience
metadata.minApiVersion
67.0
metadata.relatedSkills
dx-devops-test-failures-analyze, dx-devops-test-pipeline-configure, dx-devops-test-suite-assignments-configure, platform-apex-test-run

Run a DevOps Center Test Suite

Triggers a DevOps Center test suite execution and watches it to completion. Running and polling are two halves of one operation — never poll without first having (or being handed) a runId.

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

Important: All DevOps Center data lives in the Salesforce org — NOT the local repo. Always query the org with sf data query or sf api request rest.


Prerequisites

Run the prerequisite checks in references/prerequisite-checks.md — Prerequisites 1–4 and Prerequisite 5 (stage), since this skill operates on a specific stage. You need the confirmed doce-org-alias, pipelineId, and stageId.

Inputs required

InputHow to obtain
pipelineIdPrerequisite 4 (pipeline selection)
stageIdPrerequisite 5 (pipeline stage confirmation)
eventConfirm with user: Pre-Promote, Post-Promote, or Review
testSuiteIdsConfirmed suite IDs from selection or recommendation
doce-org-aliasPrerequisite 1

Step 1 — Trigger execution

Confirmation gate

This call mutates org state — do not proceed without explicit user confirmation. Before calling the API, show:

"I'm about to run tests with the following configuration:

  • Pipeline: <pipelineName>
  • Stage: <stageName>
  • Event: <event>
  • Suite(s): <suiteName(s)>
  • Org: <doce-org-alias>

Shall I proceed?"

Do not make the API call until the user confirms.

API call
bash
sf api request rest \
  "/services/data/v67.0/connect/devopstesting/pipeline/<pipelineId>/stage/execute" \
  --method POST \
  --body '{
    "stageId": "<stageId>",
    "event": "<event>",
    "testSuiteIds": ["<suiteId1>", "<suiteId2>"]
  }' \
  --target-org <doce-org-alias>
FieldTypeDescription
stageIdstringThe ID of the pipeline stage to execute tests on
eventstringPre-Promote, Post-Promote, or Review
testSuiteIdsstring[]One or more test suite IDs to execute
On success

Extract the runId (execution ID) from the response. Inform the user:

"Tests are running in <doce-org-alias>. I'll update you when results are ready."

Then proceed immediately to Step 2 (polling) with the runId.

On error

See references/error-handling.md. If the org rejects execution (e.g. environmentId: null, or classIdList is null or empty — no tests to execute), read the actual error, explain the root cause and required fix in plain language, and finish cleanly. Do not retry in a loop and do not fabricate a runId or results.


Show full SKILL.md (232 more words)Show less

Step 2 — Poll until completion

Confirmation required: No — polling is automatic and read-only.

Poll the execution record by runId at the provider-appropriate interval. Full intervals, timeout behavior, and the poll query are in references/polling-configuration.md.

Summary of the loop (the runId is a DevopsTestSuiteExecution Id — poll that object, not DevopsTestExecution):

  • Query DevopsTestSuiteExecution by runId each interval for Status, Coverage, SuccessCount, FailureCount, QualityGateStatus.
  • InProgress → wait and poll again.
  • Passed / Failed → surface Coverage, SuccessCount, FailureCount, and QualityGateStatus inline (no raw JSON). If FailureCount > 0, fetch the child DevopsTestExecution failure rows and hand off to dx-devops-test-failures-analyze.
  • Error → the run itself errored (not test failures); surface ResultDetails/Message in plain language and offer retry or skip.
  • Timeout → surface the runId, do NOT auto-retry, wait for user instruction.

Retrigger mode (re-running a quality gate)

Use when a promotion was blocked by a gate failure and the coverage gap has since been addressed. All preconditions, gate, and the retrigger API call are in references/retrigger-mode.md. Key rule: do not retrigger unless the latest Coverage meets or exceeds the DevopsQualityGateRule threshold. After the retrigger returns a new runId, hand it to Step 2 (polling).


  • dx-devops-test-failures-analyze — receives the failure payload on completion; can also create a fix work item.
  • dx-devops-test-suite-assignments-configure — recommend which suites to run, or assign a suite to the stage if it isn't linked yet.
  • dx-devops-test-pipeline-configure — configure a new quality gate or threshold (this skill only re-runs existing gates).

© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/dx-devops-test-suite-run of forcedotcom/sf-skills.

  • SKILL.md
  • references/error-handling.md
  • references/polling-configuration.md
  • references/prerequisite-checks.md
  • references/retrigger-mode.md

Open the folder on GitHubat commit 3c15867

Compare with similar skills

Dx Devops Test Suite Run next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dx Devops Test Suite Run compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dx Devops Test Suite Run this skillforcedotcom/sf-skills1.1k—~1.5kAutomated safety check: PassApache-2.0
Spec ReviewAI-Unified-Process/marketplace140—~2.9kAutomated safety check: PassApache-2.0
Long Task Feature Stsuriyel/longtaskforagent177—~2.7kAutomated safety check: PassNone
Behavioral Mutation AnalyzerArabelaTso/Skills-4-SE253—~2.5kAutomated safety check: PassApache-2.0
Skillifyinbrainfun/inbrain142—~2.9kAutomated safety check: PassCustom licence
Eval Triage And Improvementmicrosoft/eval-guide138—~5.9kAutomated safety check: PassMIT

Similar skills

  • Spec Review

    AI-Unified-Process/marketplace

    Reviews the specification artifacts in docs/ (requirements, use case diagram, use case specifications, test cases, BPMN process models, entity model, glossary) against each other in two parts: a…

    140 GitHub stars~2.9k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Long Task Feature St

    suriyel/longtaskforagent

    Use after quality gates pass in a long-task project — independently manages test environment lifecycle (start/cleanup), executes black-box acceptance testing per feature, generates ISO/IEC/IEEE…

    177 GitHub stars~2.7k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Behavioral Mutation Analyzer

    ArabelaTso/Skills-4-SE

    Analyzes surviving mutants from mutation testing to identify why tests failed to detect them.

    253 GitHub stars~2.5k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Skillify

    inbrainfun/inbrain

    The meta skill. An agent skill from inbrainfun/inbrain.

    142 GitHub stars~2.9k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Eval Triage And Improvement

    microsoft/eval-guide

    Official

    A skill your agent uses when the user's Copilot Studio agent evaluations have come back and they need to interpret scores, diagnose root causes of underperforming test cases, find remediation steps…

    138 GitHub stars~5.9k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Review Pre Commit

    openwpm/OpenWPM

    Use as a pre-commit quality gate — review the working diff for stub patterns (TODO/FIXME/unimplemented!()/todo!()), debug leftovers (dbg!, stray console.log/println!, commented-out code), then run…

    1.4k GitHub stars~788 tokensUpdated 2 days ago
    Testing & QAAuto-check passed

More from forcedotcom/sf-skills

All 248 skills in this repo
  • Agentforce Architecture Analyze

    forcedotcom/sf-skills

    Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.

    1.1k GitHub stars~3.6k tokensUpdated 4 days ago
    Auto-check passed
  • Agentforce D360 Analyze

    forcedotcom/sf-skills

    Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.

    1.1k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.3k tokensUpdated 4 days ago
    Auto-check: notes
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.4k tokensUpdated 4 days ago
    Auto-check: notes
  • Design Systems Slds Apply

    forcedotcom/sf-skills

    Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.

    1.1k GitHub stars~3.7k tokensUpdated 4 days ago
    Auto-check passed
  • Experience Lwc Generate

    forcedotcom/sf-skills

    Lightning Web Components with PICKLES methodology and 165-point scoring.

    1.1k GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Dx Devops Test Suite Run

What does Dx Devops Test Suite Run do?

Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then…. Dx Devops Test Suite Run is an agent skill from forcedotcom/sf-skills. Runs DevOps Center test suites on a pipeline stage (Pre-Promote, Post-Promote, or Review event) end to end: triggers async execution via the Connect API after an explicit confirmation gate, then polls by runId at provider-specific intervals until it completes, fails, or times out, and hands results to failure analysis.

When should I use Dx Devops Test Suite Run?

Dx Devops Test Suite Run fits situations like: async execution via the Connect API after an explicit confirmation gate; then polls by runId at provider-specific intervals until it completes; hands results to failure analysis; A user wants to run.

How do I install Dx Devops Test Suite Run in Claude Code?

Run `npx skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -a claude-code`. Or copy the skill folder (skills/dx-devops-test-suite-run in forcedotcom/sf-skills) into .claude/skills/dx-devops-test-suite-run in your project. Claude Code loads it when a task matches its description.

How do I install Dx Devops Test Suite Run in Codex?

Run `npx skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -a codex`. Or copy the skill folder (skills/dx-devops-test-suite-run in forcedotcom/sf-skills) into .agents/skills/dx-devops-test-suite-run in your project. Codex loads it when a task matches its description.

Can I use Dx Devops Test Suite Run in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill dx-devops-test-suite-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dx-devops-test-suite-run, .gemini/skills/dx-devops-test-suite-run, .github/skills/dx-devops-test-suite-run and .opencode/skills/dx-devops-test-suite-run in your project.

What does Dx Devops Test Suite Run need to run?

Going by SKILL.md and its folder, Dx Devops Test Suite Run needs the command-line tools its instructions call (sf).

Does Dx Devops Test Suite Run access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dx Devops Test Suite Run safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dx Devops Test Suite Run use?

Dx Devops Test Suite Run is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dx Devops Test Suite Run use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.

What are the alternatives to Dx Devops Test Suite Run?

Skills that share tags, products or a category with Dx Devops Test Suite Run: Spec Review (AI-Unified-Process/marketplace, 140 stars), Long Task Feature St (suriyel/longtaskforagent, 177 stars), Behavioral Mutation Analyzer (ArabelaTso/Skills-4-SE, 253 stars) and Skillify (inbrainfun/inbrain, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dx Devops Test Suite Run?

forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,058 GitHub stars. The repository holds 248 skills in this directory. The repository was last updated on October 3, 2026.

Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.