Coding & Development๐universal
Everything changed since origin/main (committed and uncommitted)
Know what a Salesforce change will set off before it ships: blast-radius analysis for flows, Apex, validation rules and permissions.
Quick Start
Install this Skill
npx skills add visparashar/sf-preflight<h1 align="center"> <img alt="sf-preflight: preflight checks for Salesforce changes" src="https://raw.githubusercontent.com/visparashar/sf-preflight/main/docs/assets/sf-preflight-banner.png"> </h1> [](https://github.com/visparashar/sf-preflight/actions/workflows/ci.yml) [](https://github.com/visparashar/sf-preflight/actions/workflows/codeql.yml) [](https://scorecard.dev/viewer/?uri=github.com/visparashar/sf-preflight) [](https://www.npmjs.com/package/sf-preflight) [](LICENSE)  [](https://visparashar.github.io/sf-preflight/) [](https://m8ven.ai/mcp/visparashar-sf-preflight-13zbfy?s=readme) **Preflight checks for Salesforce changes: know what a change will set off โ before it ships.** AI coding agents and Headless 360 make Salesforce changes cheap to produce, but verifying them is still slow and manual. `sf-preflight` reads your SFDX project and a git diff, follows the change through the org's order of execution โ flows, triggers, validation rules, roll-ups, permissions โ and reports the blast radius, the risks and the tests that matter. It is open source, runs offline on your source code, and needs no org credentials. (The one request it makes on its own is a daily check for a newer version; see [Update notices](#update-notices).) > **Status:** early (0.x). The CLI, MCP server, GitHub Action, test generation, Agentforce > action verification, the quality gate and evidence packs work today; org context is in beta. > See the [roadmap](docs/ROADMAP.md). Feedback and contributions are very welcome. **Website:** <https://visparashar.github.io/sf-preflight/> ยท **Demo videos:** <https://visparashar.github.io/sf-preflight/demos.html> <p align="center"> <img alt="Demo: preflight analyze on the sample org finds two automation cycles, an affected agent action and validation-rule collisions" src="https://raw.githubusercontent.com/visparashar/sf-preflight/main/docs/assets/preflight-demo.gif"> </p> ## What it finds | Finding | Why it matters | |---|---| | **Recursion cycles** | `Account โ Contact โ Account` loops settle at human pace and break at bulk or agent volume | | **Validation-rule collisions** | An automation or agent action can be *correct* and still fail on a rule it doesn't satisfy | | **New rules vs existing automation** | A new validation rule silently constrains every flow, trigger and class that writes the object | | **After-save self-updates** | Re-runs the whole save procedure for the record | | **Automation density** | Many overlapping automations or multiple triggers on one object hide ordering bugs | | **DML/SOQL in loops** | In changed Apex and in Apex inside the blast radius | | **Access and sharing** | New Modify All / View All, delete access and sensitive system permissions; access taken away (and the components that need it); guest user exposure; organization-wide defaults; sharing rules; permission set groups and muting โ diffed against the base | | **Broken references** | Deleted fields, flows or classes that are still used | | **Lightning components** | Components that use a changed field or call a changed Apex class, what a changed component saves through Apex, and fields or classes it uses that the project lacks | | **Labels, custom metadata and Visualforce** | Removed labels still in use, who reads a changed custom metadata record, Visualforce pages tied to a changed Apex class or naming a missing one | | **Picklists and record types** | Removed or deactivated picklist values still offered by record types or written in code; record types that drop values or are deleted while code names them | | **Save rules and platform events** | Duplicate, assignment, auto-response and escalation rules in the order of execution; automation that a blocking duplicate rule can stop; rules and approval processes switched on, off or re-scoped; platform event publishers and subscribers when an event changes | | **Integrations** | Named and external credentials that move host, change authentication or use http; remote sites and CSP trusted sites removed while code still calls the host; connected app scopes, callback URLs and committed secrets; outbound messages that send session IDs | | **OmniStudio** | OmniScripts, Integration Procedures, Data Mappers and FlexCards: who calls a changed one, what it calls that the project ... (truncated)
Repository
11stars
0forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View