
DevOps Center Suite Assignments
OfficialFreeEfficiently manage your DevOps test suite assignments.
Free · Opens the source repo
What DevOps Center Suite Assignments does
The DevOps Center Suite Assignments skill is designed to streamline the management of test suite assignments in Salesforce's DevOps Center. This skill provides recommendations for which test suites to run based on commit diffs, helping developers ensure that their changes are adequately covered by tests. It utilizes a structured approach to analyze the metadata of assigned suites and identify any gaps in coverage, making it easier for teams to maintain high-quality code through effective testing practices.
The skill operates in multiple modes to cater to different needs. Mode A focuses on recommending relevant existing test suites for a given commit or diff, allowing developers to quickly understand what tests apply to their changes. Modes B through D enable users to assign suites to specific stages, bulk-map multiple suites, or manage individual test classes within a suite. Each mode is designed to ensure that users can efficiently assign and manage test suites while adhering to governance rules, thereby maintaining the integrity of the testing process.
To use this skill effectively, users must first run prerequisite checks to ensure that their Salesforce org is properly configured. This ensures that all necessary connections and permissions are in place before any suite recommendations or assignments are made. Once prerequisites are confirmed, users can select the appropriate mode based on their requirements, whether it be for recommending suites or managing assignments. The skill emphasizes user confirmation before making any changes to the org state, which helps prevent unintended modifications and ensures that users are fully aware of the actions being taken.
This skill is particularly beneficial for development teams working within the Salesforce ecosystem who need to maintain robust testing practices. By automating the recommendation and assignment process, it allows developers to focus more on coding and less on managing test suites, ultimately improving productivity and code quality.
When to use it
Use this skill when you need to recommend test suites for a commit or manage suite assignments in your DevOps pipeline.
When not to use it
Avoid using this skill for configuring test providers or running test suites directly, as it is specifically focused on assignment and recommendations.
What you can build with it
Recommending Test Suites
A developer wants to know which test suites to run based on a recent commit. They use Mode A to receive recommendations for relevant suites.
Assigning a Test Suite to a Stage
A team lead needs to assign a specific test suite to a pipeline stage for an upcoming release. They use Mode B to make this assignment.
Bulk-Mapping Test Suites
A QA engineer wants to implement a testing strategy by mapping multiple suites to a stage. They utilize Mode C to bulk-map the suites efficiently.
How to install DevOps Center Suite Assignments
View source1. Install with the skills CLI
npx skills add forcedotcom/sf-skills/dx-devops-test-suite-assignments-configure --agent claude-code2. 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 forcedotcomConfigure DevOps Center Suite Assignments
Recommends which existing test suites to run for a change, and manages how suites are assigned and mapped to pipeline stages. These operations share the same suite-stage metadata: a recommendation surfaces relevant suites and flags gaps, and those gaps lead directly into assignment.
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. Never search the filesystem for suite configuration. Always query the org with sf data query or sf api request rest.
Step 1 — Run prerequisites first (always)
Run the prerequisite checks in references/prerequisite-checks.md before any query or system call. On any failure, surface the plain-language message and stop.
- Mode A (recommend): Prerequisites 1–4 (org login, plugin, DevOps Center org auth, pipeline identified). No stage required — recommendation reads the pipeline-level Review trigger.
- Modes B–D (assign/map/classes): Prerequisites 1–4 and Prerequisite 5 (stage). You need
doce-org-alias,pipelineId, andstageId.
Step 2 — Select the mode
| If the user wants to… | Mode | Follow |
|---|---|---|
| Know which suites to run for a commit/diff, or what covers their changes | A — Recommend suites | references/recommendation-logic.md |
| Assign one suite to a stage as a one-off | B — Assign a single suite | references/suite-assignment-modes.md |
| Bulk-map multiple suites to a stage as a testing strategy | C — Map multiple suites | references/suite-assignment-modes.md |
| Add/remove individual test classes within a suite assignment | D — Add/remove classes | references/suite-assignment-modes.md |
Mode A is pure reasoning (no writes). Modes B–D mutate org state via the same testSuiteStages endpoint (references/api-endpoint.md).
How A feeds B–D: When recommendation flags a relevant suite that is not assigned to the stage, that gap is the input to Mode B/C. When it flags a new method with no suite coverage, direct the developer to author tests manually (v1 constraint — never suggest generating tests here).
Step 3 — Governance & confirmation (Modes B–D)
Modes B–D must confirm before any write:
- Mode B — single confirmation prompt naming the suite, stage, and event.
- Mode C — a mandatory impact-preview table (Suite / Stage / Event / Action) before the confirmation gate.
- Mode D — re-present the final test list before confirming. Rejected tests must be EXCLUDED from the payload. If tests were modified during review, re-present the final list before requesting confirmation. Never call without explicit approval.
Do not call the API until the user gives an affirmative response. If the user declines, stop without writing. Full wording for each gate is in references/suite-assignment-modes.md.
Mode A (recommendation) makes no writes and needs no confirmation gate.
Step 4 — Execute and report
Follow the chosen reference file:
references/recommendation-logic.md— Mode A: diff classification, provider matching, ranking, gap flagging, output format.references/suite-assignment-modes.md— Modes B–D: inputs, confirmation wording, success messages.references/api-endpoint.md— the sharedtestSuiteStagesPOST payload schema (Modes B–D).references/error-handling.md— status-code → plain-language tables.
Never expose raw API errors, stack traces, or JSON to the user.
Related skills
dx-devops-test-pipeline-configure— if the suite you want to assign doesn't appear yet, configure or re-sync the provider; also configures quality gates on a stage after mapping.dx-devops-test-suite-run— execute a recommended/assigned suite on a stage.dx-devops-test-failures-analyze— analyze failures and improvement suggestions for the tests within a suite.
Frequently asked questions about DevOps Center Suite Assignments
Similar skills
Turborepo
Optimized build system for JavaScript/TypeScript monorepos.
Azure Pipelines Validation
Streamline your Azure DevOps pipeline changes locally.
Azure Developer CLI
Streamline your Azure project workflows with best practices.
Azure Container Registry CLI
Manage Azure Container Registry resources with ease.
Aspire
Build and orchestrate polyglot distributed applications seamlessly.
Vercel CLI
Manage and deploy Vercel projects from the command line.
