forcedotcom avatar

Experience Ui Bundle Salesforce Data Access

This is the skill you want active when a UI bundle needs to read, write, or refresh Salesforce records through the platform SDK. It covers the full GraphQL data layer: schema lookups, query and mutation authoring (preferably via the graphiti CLI), caching behavior (on by default for 300 seconds on WebApp), and the two refresh modes. The workflow spine is clean, routing you to reads, writes, metadata queries, or cache control, with depth pushed into linked references. One critical gotcha: sdk.graphql is optional on non-WebApp surfaces, so the skill enforces an explicit guard-versus-assertion decision before you write any query call. It also handles migration from the old callable SDK form, though the default path is always the current API for new work.

skills.sh installs
5.3K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-salesforce-data-access --agent claude-code

Installs into .claude/skills of the current project.

Files

Salesforce Data Access (UI bundles)

All Salesforce data access in a UI bundle goes through the @salesforce/platform-sdk data SDK. The SDK handles auth, CSRF, and base-URL resolution, and — on the WebApp surface — caches every GraphQL query by default.

This file is the workflow + guardrail spine. Depth lives in linked docs:

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend Development, Backend & APIs, Security, Automation & Workflows, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1forcedotcom avatarexperience-ui-bundle-features-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add a pre-built feature — such as authentication (login, logout, prot5.1Kskills.sh installs
2claude-office-skills avatarlayout-analyzerclaude-office-skills/skills>4.7Kskills.sh installs
3dpearson2699 avatarswiftui-layout-componentsdpearson2699/swift-ios-skillsBuild SwiftUI layouts using stacks, grids, lists, scroll views, forms, and controls. Covers VStack/HStack/ZStack, LazyVGrid/LazyHGrid, List with sections and sw4.4Kskills.sh installs
4jeffallan avatarvue-expert-jsjeffallan/claude-skillsCreates Vue 3 components, builds vanilla JS composables, configures Vite projects, and sets up routing and state management using JavaScript only — no TypeScrip4.3Kskills.sh installs
5omer-metin avatargame-ui-designomer-metin/skills-for-antigravityWorld-class game UI design expertise combining the clarity of Nintendo's UI philosophy, the immersive diegetic interfaces of Dead Space and Metroid Prime, and t4.3Kskills.sh installs
6assistant-ui avatarreact-mcpassistant-ui/skillsLets end users add, authenticate, and manage MCP servers from the browser in assistant-ui apps with @assistant-ui/react-mcp. Use when building user-managed MCP 4.2Kskills.sh installs