sf-preflight
Demos

Every feature, in under a minute.

Each video runs the real command on a small sample org with a branch that changes a field and a validation rule. No sound; captions explain each step. The monitor demo uses a simulated org, and the alert demo is a dry run.

See what a change sets off

preflight analyze --base main

The blast radius of a field and validation-rule change: flows, triggers, roll-ups, automation cycles and the Agentforce actions it reaches.

Read the docs →

Quality gate

preflight analyze --base main --gate

One pass/fail decision from a policy file in the repo. Exits with code 2 when the change breaks it.

Read the docs →

Order of execution

preflight explain Opportunity

What runs, in order, when a record of an object is saved, and what each step writes.

Read the docs →

Generated Apex tests

preflight tests --base main

Bulk, recursion and idempotency tests built from the cascade of the change.

Read the docs →

Agentforce impact

preflight agents · preflight agent-tests

Which agent actions a change reaches, what they call and save, and which Testing Center tests to re-run.

Read the docs →

Trace production errors to changes

preflight incidents --org prod

Failed flows, Apex exceptions and agent action errors matched to the recent change that probably caused them. Shown here with errors read from a file.

Read the docs →

Partial rollback

preflight rollback <commit> --restore

Restore or deactivate only the components that need it, then roll back through a pull request.

Read the docs →

Change evidence

preflight evidence --base main

A tamper-evident record of what changed, its risk, the tests and the approvals, with a digest anyone can verify.

Read the docs →

Risk alerts to Slack or Teams

preflight notify --result report.json

A short message when risk is high. The GitHub Action sends it on every pull request. Shown as a dry run to a placeholder URL.

Read the docs →

Production change monitor

preflight monitor --org prod

Risky changes made directly in the org, read from the Setup Audit Trail. This demo uses a simulated org with canned sample data.

Read the docs →

Skill for AI coding agents

preflight skill install

Teaches Claude Code, Copilot, Cursor and other agents to run preflight when a task touches Salesforce metadata.

Read the docs →

sf CLI plugin

sf preflight analyze

The same checks inside the Salesforce CLI, with sf's own flags.

Read the docs →

VS Code blast radius graph

SF Preflight: Show graph

Hover for why a node is flagged, click the legend to highlight a kind. Rendered from the extension's real graph code.

Read the docs →
sf-preflight · Apache-2.0 · DCO GitHubnpm