Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jaganpro avatar

Sf Flow

  • 1.4k installs
  • 423 repo stars
  • Updated April 27, 2026
  • jaganpro/sf-skills

sf-flow is an agent skill that apply sf-flow agent skill workflows from documented skill.md guidance.

About

sf-flow is an agent skill from jaganpro/sf-skills that apply sf-flow agent skill workflows from documented skill.md guidance. # sf-flow: Salesforce Flow Creation and Validation Use this skill when the user needs **Flow design or Flow XML work**: record-triggered, screen, autolaunched, scheduled, or platform-event Flows, including validation, architecture choices, and safe deployment sequencing. ## When This Skill Owns the Task Use `sf-flow` when the work involves: - `. Developers invoke sf-flow during build/integrations work for automation & workflows tasks. The skill documents triggers, prerequisites, and step-by-step workflows grounded in SKILL.md. Compatible with Claude Code, Cursor, and Codex agent runtimes that load marketplace skills. Review the Security Audits panel on this listing before installing in production environments. Category Automation & Workflows with development vertical focus supports repeatable agent-guided delivery.

  • sf-flow: Salesforce Flow Creation and Validation
  • When This Skill Owns the Task
  • Use `sf-flow` when the work involves:
  • Flow Builder architecture and XML generation
  • record-triggered, screen, scheduled, autolaunched, or platform-event flows

Sf Flow by the numbers

  • 1,428 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #221 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

sf-flow capabilities & compatibility

Capabilities
sf flow: salesforce flow creation and validation · when this skill owns the task · use `sf flow` when the work involves: · flow builder architecture and xml generation · record triggered, screen, scheduled, autolaunche
Use cases
orchestration
From the docs

What sf-flow says it does

- Flow Builder architecture and XML generation
SKILL.md
- record-triggered, screen, scheduled, autolaunched, or platform-event flows
SKILL.md
- Flow-specific bulk safety, fault paths, and subflow orchestration
SKILL.md
npx skills add https://github.com/jaganpro/sf-skills --skill sf-flow

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.4k
repo stars423
Security audit3 / 3 scanners passed
Last updatedApril 27, 2026
Repositoryjaganpro/sf-skills

What it does

Apply sf-flow agent skill workflows from documented SKILL.md guidance.

Who is it for?

Developers working on automation & workflows during build tasks.

Skip if: Tasks outside Automation & Workflows scope described in SKILL.md.

When should I use this skill?

Apply sf-flow agent skill workflows from documented SKILL.md guidance.

What you get

Completed automation & workflows workflow aligned with SKILL.md steps.

  • Flow XML templates
  • LlmPrompt decision configurations
  • AI outcome instruction blocks

By the numbers

  • Requires Salesforce API version 62.0 or newer
  • Consumes Einstein AI credits per AI decision evaluation

Files

SKILL.mdMarkdownGitHub ↗

sf-flow: Salesforce Flow Creation and Validation

Use this skill when the user needs Flow design or Flow XML work: record-triggered, screen, autolaunched, scheduled, or platform-event Flows, including validation, architecture choices, and safe deployment sequencing.

When This Skill Owns the Task

Use sf-flow when the work involves:

  • .flow-meta.xml files
  • Flow Builder architecture and XML generation
  • record-triggered, screen, scheduled, autolaunched, or platform-event flows
  • Flow-specific bulk safety, fault paths, and subflow orchestration

Delegate elsewhere when the user is:

  • writing Apex-first automation → sf-apex
  • creating objects / fields first → sf-metadata
  • deploying metadata → sf-deploy
  • seeding post-deploy test data → sf-data

---

Required Context to Gather First

Ask for or infer:

  • flow type
  • trigger object / entry conditions
  • core business goal
  • whether this is new, refactor, or repair
  • target org alias if deployment or validation is needed
  • whether related objects / fields already exist

---

Recommended Workflow

1. Choose the right automation tool

Before building, confirm Flow is the right answer rather than:

  • formula field
  • validation rule
  • roll-up summary
  • Apex

2. Choose the right Flow type

NeedDefault flow type
same-record update before savebefore-save record-triggered
related-record work / emails / calloutsafter-save record-triggered
guided UIscreen flow
reusable background logicautolaunched / subflow
scheduled processingscheduled flow
event-driven declarative responseplatform-event flow
AI-evaluated routing (sentiment, intent, tone)autolaunched with AI Decision element

3. Start from a template

Prefer the provided assets:

  • assets/record-triggered-before-save.xml
  • assets/record-triggered-after-save.xml
  • assets/screen-flow-template.xml
  • assets/autolaunched-flow-template.xml
  • assets/scheduled-flow-template.xml
  • assets/platform-event-flow-template.xml
  • assets/ai-decision-template.xml
  • assets/subflows/

4. Validate against Flow guardrails

Focus on:

  • no DML in loops
  • no Get Records inside loops
  • proper fault paths
  • correct trigger conditions
  • safe subflow composition
  • AI Decision elements not placed inside loops (credit cost per iteration)
  • AI Decision prompts include merge field references for data context

5. Hand off deployment and testing

Use:

  • sf-deploy for deploy / dry-run
  • sf-data for high-volume test data

---

High-Signal Rules

Flow architecture

  • before-save for same-record field updates
  • after-save for related records, emails, and callouts
  • do not loop over $Record
  • use subflows when logic becomes wide or repetitive

Bulk safety

  • no DML in loops
  • no Get Records in loops
  • test with 251+ records when bulk behavior matters
  • prefer Transform when the job is shaping data, not per-record branching

Error handling

  • every data-changing path should have fault handling
  • avoid self-referencing fault connectors
  • deploy Flows as Draft first when activation risk is non-trivial

---

Output Format

When finishing, report in this order: 1. Flow type and goal 2. Files created or updated 3. Architecture choices 4. Bulk/error-handling notes 5. Deploy/testing next steps

Suggested shape:

Flow: <name>
Type: <flow type>
Files: <paths>
Design: <trigger choice, subflows, key decisions>
Risks: <bulk safety, fault paths, dependencies>
Next step: <dry-run deploy, activate, or test>

---

Flow Testing (CLI)

Run Flow tests from the command line without VS Code:

# Run all flow tests
sf flow run test --target-org <alias> --json

# Run tests for a specific flow
sf flow run test --class-names MyFlow --target-org <alias> --json

# Get results for an asynchronous run
sf flow get test --test-run-id <id> --target-org <alias> --json

Flow tests execute in the org and can take 1-5 minutes. sf flow run test returns a test run ID for asynchronous runs; use sf flow get test to retrieve results later. Always run with --json and use background execution for longer runs.

---

Cross-Skill Integration

NeedDelegate toReason
create objects / fields firstsf-metadataschema readiness
deploy / activate flowsf-deploysafe deployment sequence
create realistic bulk test datasf-datapost-deploy verification
create Apex actions / invocablessf-apeximperative logic
embed LWC in a screen flowsf-lwccustom UI components
expose Flow to Agentforcesf-ai-agentscriptagent action orchestration

---

Reference Map

Start here

  • references/flow-best-practices.md
  • references/flow-quick-reference.md
  • references/orchestration.md
  • references/testing-guide.md

Design / orchestration

  • references/subflow-library.md
  • references/governance-checklist.md
  • references/transform-vs-loop-guide.md
  • references/orchestration-guide.md
  • references/orchestration-parent-child.md
  • references/orchestration-sequential.md
  • references/orchestration-conditional.md

AI Decision

  • references/ai-decision-guide.md

Screen / integration / troubleshooting

  • references/form-building-guide.md
  • references/integration-patterns.md
  • references/lwc-integration-guide.md
  • references/agentforce-flow-integration.md
  • references/xml-gotchas.md
  • references/testing-checklist.md
  • references/wait-patterns.md
  • assets/

---

Score Guide

ScoreMeaning
88+production-ready Flow
75–87good Flow with some review items
60–74functional but needs stronger guardrails
< 60unsafe / incomplete for deployment

Related skills

Forks & variants (1)

Sf Flow has 1 known copy in the catalog totaling 33 installs. They canonicalize to this original listing.

How it compares

Choose sf-flow over generic CRM skills when authoring Salesforce Flow XML with Einstein LlmPrompt decision nodes, not Apex-only logic.

FAQ

What does sf-flow do?

Apply sf-flow agent skill workflows from documented SKILL.md guidance.

When should I use sf-flow?

During build integrations work for automation & workflows.

Is sf-flow safe to install?

Review the Security Audits panel on this listing before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.