SfSkills Domains Docs GitHub

Home / devops / sfdx-hardis-integration

sfdx-hardis-integration

Adopt sfdx-hardis for org monitoring, CI pipelines, and release automation. NOT for writing plugins to sfdx-hardis itself — use apex/sf-cli-and-sfdx-essentials.

Open the skill folder on GitHub


sfdx-hardis Integration

sfdx-hardis is an open-source sfdx plugin that wraps org monitoring, deploy validation, and simpler CLI ergonomics. It includes prebuilt GitHub Actions / GitLab CI templates, a daily monitoring job that diffs metadata, and a 'smart deploy' flow.

Adoption Signals

Teams without Copado / Gearset budget who want a battle-tested open-source stack. Not for teams already deeply invested in DevOps Center.

  1. sf plugins install sfdx-hardis on CI agents and developer machines.
  2. Run sf hardis:project:configure:auth to wire JWT credentials per environment.
  3. Adopt the provided CI template (GitHub / GitLab / Azure) — it handles validation, deploy, and rollback hints.
  4. Enable sf hardis:org:monitor:all as a daily scheduled job to diff metadata and flag drift.
  5. Use sf hardis:work:new instead of sf org create scratch for guided dev workflow.

Key Considerations

Worked Examples (see references/examples.md)

Common Gotchas (see references/gotchas.md)

Top LLM Anti-Patterns (full list in references/llm-anti-patterns.md)

Official Sources Used

Package files