Verwendung
- Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
- Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
- Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/sshvarzman-salesforce/claude-skills --skill sf-service-tooling-cicdVor dem Start
- Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
- Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.
Service Cloud CI/CD (Tooling API)
Use This Skill When
- Wiring Service Cloud metadata into a CI/CD pipeline (GitHub Actions, Jenkins, Copado).
- Enforcing Apex code coverage gates on triggers/classes exercised by routing, entitlements, or flows.
- Introspecting active Flow versions (e.g., Omni routing flow) before promoting a package.
- Auditing validation rules and custom fields on Case, VoiceCall, MessagingSession before a deploy.
- Running async test batches and blocking pipeline promotion on results.
Core Workflow
- Define the pipeline stage
- Pre-deploy: retrieve + diff metadata, run validation and static checks.
- Post-deploy: run async tests, evaluate coverage aggregates.
- Introspect the target org
- Query
FlowDefinition+Flowto confirm the expected active version is present after deploy. - Query
OmniProcessfor OmniScript/Integration Procedure states.
- Assert coverage
- Query
ApexCodeCoverageAggregatefor classes/triggers on the routing/entitlement path. - Fail the build when coverage drops below the org-defined floor for touched classes.
- Audit config
ValidationRuleandCustomFieldon Case, VoiceCall, MessagingSession — snapshot before/after to detect drift.
- Run tests async
POST /tooling/runTestsAsynchronouswith the list of classes; pollApexTestRunResultfor status; publish JUnit XML.
Deliverables
- CI stage definitions (pre-deploy checks, post-deploy asserts).
- Coverage floor per subsystem (case, entitlements, omni-routing, voice) with rationale.
- Drift detection queries for validation rules / custom fields with owning team.
- Test-run report format (JUnit + coverage summary) consumed by the CI provider.
References
- See
references/api-cli.mdfor exact Tooling API endpoints and object shapes.


