github avatar

Salesforce Flow Design

Catches the mistakes that blow up in production after a deployment. Before you activate any Salesforce Flow, this walks through bulk safety (DML in loops, SOQL in loops), fault connectors on every element that can fail, flow type selection, and automation density checks to avoid triggering conflicts. The bulk pattern guidance is especially useful because that's what kills most flows at scale. Also includes a decision tree for when to just use a formula field instead of overengineering it. If you're building or reviewing flows regularly, the anti-pattern table alone is worth keeping open.

skills.sh installs
839
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill salesforce-flow-design --agent claude-code

Installs into .claude/skills of the current project.

Files

Salesforce Flow Design and Validation

Apply these checks to every Flow you design, build, or review.

Step 1 — Confirm Flow Is the Right Tool

Before designing a Flow, verify that a lighter-weight declarative option cannot solve the problem:

RequirementBest tool
Calculate a field value with no side effectsFormula field
Prevent a bad record save with a user messageValidation rule
Sum or count child records on a parentRoll-up Summary field
Complex multi-object logic, callouts, or high volumeApex (Queueable / Batch) — not Flow
Everything elseFlow ✓

If you are building a Flow that could be replaced by a formula field or validation rule, ask the user to confirm the requirement is genuinely more complex.

Step 2 — Select the Correct Flow Type

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Automation & Workflows, Sales & Marketing, Design & UI/UX, CLI & Terminal
First seen
May 16, 2026

More from github/awesome-copilot

All 318
1github avatarflowstudio-power-automate-monitoringgithub/awesome-copilotPro+ subscription required. Tenant-wide Power Automate monitoring using the FlowStudio MCP cached store: failure rates, run-health trends, maker/app inventory, 787skills.sh installs
2github avatarreact18-dep-compatibilitygithub/awesome-copilotReact 18.3.1 and React 19 dependency compatibility matrix.766skills.sh installs
3github avatarreact18-batching-patternsgithub/awesome-copilotProvides exact patterns for diagnosing and fixing automatic batching regressions in React 18 class components. Use this skill whenever a class component has mul756skills.sh installs
4github avatarreact18-legacy-contextgithub/awesome-copilotProvides the complete migration pattern for React legacy context API (contextTypes, childContextTypes, getChildContext) to the modern createContext API. Use thi747skills.sh installs
5github avatarfrom-the-other-side-vegagithub/awesome-copilotPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building something746skills.sh installs
6github avatarreact18-lifecycle-patternsgithub/awesome-copilotProvides exact before/after migration patterns for the three unsafe class component lifecycle methods - componentWillMount, componentWillReceiveProps, and compo745skills.sh installs