sf-devops

Automate Salesforce DevOps workflows for scratch orgs, 2GP packaging, and GitHub Actions CI/CD.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/tomz/agent-skills --skill sf-devops
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sf-devops
Source: https://github.com/tomz/agent-skills/tree/main/sf-devops
Command: npx skills add https://github.com/tomz/agent-skills --skill sf-devops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Salesforce development and deployment pipelines is complex, involving scratch org lifecycles, 2GP packaging, and coordinating CI/CD across tools. This Skill consolidates guidance on scratch org workflows, unlocked packaging with 2GP, and GitHub Actions-based automation to reduce setup time and errors.

Core Features & Use Cases

  • Scratch org development flow: create, push, test, pull changes, and decommission scratch orgs in a repeatable cycle.
  • Unlocked packages (2GP): set up packaging, versioning, and promoting releases across environments.
  • CI/CD with GitHub Actions and DevOps Center: automate validations, deployments, and work-item traceability from Git to orgs.
  • Environment governance: maintain a .forceignore strategy and metadata discipline to keep orgs clean and source-aligned.
  • Use Case: a Salesforce team automates feature branch deployment from development to staging and production with traceability in Git and DevOps Center.

Quick Start

Enable a Dev Hub, configure a scratch org workflow, and automate deployments with GitHub Actions.

Frequently Asked Questions about sf-devops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Salesforce scratch org workflows for continuous integration?▼

Automate Salesforce scratch org workflows by defining a repeatable cycle to create, push, test, pull, and decommission scratch orgs. This is driven through GitHub Actions-based deployment configurations to validate and automate releases across environments.

What is the best way to manage Salesforce 2GP unlocked packages across environments?▼

Manage Salesforce 2GP unlocked packages by setting up packaging, versioning, and promoting releases across environments. This approach coordinates CI/CD to reduce setup time and errors during deployments.

Do I need a Dev Hub to set up Salesforce DevOps with scratch orgs?▼

Yes, you need a Dev Hub enabled to set up Salesforce DevOps with scratch orgs. You also need scratch org definitions and GitHub Actions or DevOps Center configurations to support repeatable releases.

Can I use GitHub Actions with Salesforce DevOps Center for deployment traceability?▼

Yes, you can use GitHub Actions with Salesforce DevOps Center to automate validations, deployments, and work-item traceability. This integration tracks changes from Git to orgs for feature branch deployments.

How does a .forceignore strategy keep Salesforce metadata source-aligned?▼

A .forceignore strategy maintains environment governance by excluding specific metadata from deployments. This discipline keeps Salesforce orgs clean and ensures source remains aligned with your repository.