Loading...
Loading...
Recommends and manages DevOps Center test suite assignments for pipeline stages. Mode A analyzes a commit diff against assigned suite metadata to recommend relevant existing suites and flag coverage gaps (pure reasoning). Modes B-D assign a single suite, bulk-map multiple suites with a mandatory impact preview, or add/remove test classes with governance rules, via the testSuiteStages Connect API. Use this skill to recommend suites for a commit, assign or map suites to stages, or add/remove tests in a suite. TRIGGER when: the user asks which suites to run for a commit/diff or what covers their changes; a suite is unlinked and the user wants it assigned; the user wants to configure suite-to-stage mappings, assign multiple suites, or add/remove/sync tests in a suite. DO NOT TRIGGER when: configuring or syncing a test provider (use dx-devops-test-pipeline-configure), running suites (use dx-devops-test-suite-run), or authoring/running tests directly (use platform-apex-test-generate or platform-apex-test-run).
npx skill4agent add forcedotcom/sf-skills dx-devops-test-suite-assignments-configureAPI version: All DevOps testing system calls target Salesforce API v67.0 (minimum required).
sf data querysf api request restreferences/prerequisite-checks.mddoce-org-aliaspipelineIdstageId| If the user wants to… | Mode | Follow |
|---|---|---|
| Know which suites to run for a commit/diff, or what covers their changes | A — Recommend suites | |
| Assign one suite to a stage as a one-off | B — Assign a single suite | |
| Bulk-map multiple suites to a stage as a testing strategy | C — Map multiple suites | |
| Add/remove individual test classes within a suite assignment | D — Add/remove classes | |
testSuiteStagesreferences/api-endpoint.mdreferences/suite-assignment-modes.mdreferences/recommendation-logic.mdreferences/suite-assignment-modes.mdreferences/api-endpoint.mdtestSuiteStagesreferences/error-handling.mddx-devops-test-pipeline-configuredx-devops-test-suite-rundx-devops-test-failures-analyze