using-ui-bundle-salesforce-data
This skill manages Salesforce data access patterns within UI bundles. It mandates the use of the @salesforce/sdk-data SDK for all operations and enforces strict GraphQL query and mutation standards to ensure compatibility with Salesforce platform behaviors.
Is using-ui-bundle-salesforce-data safe to install?
Review the source first: our audit of using-ui-bundle-salesforce-data's source files found 2 shell commands, 4 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands for schema verification and makes network requests to various Salesforce API endpoints.
How we audit skills: our security review methodology.
Who is this skill for?
Developers building UI components that interact with Salesforce data within a project containing uiBundles.
What can you do with it?
- Reading Salesforce records via GraphQL
- Creating or updating Salesforce records via GraphQL mutations
- Fetching record metadata using UI API REST
- Executing custom server-side logic via Apex REST
- Uploading files using Connect REST
- Generating text using Einstein LLM
How good is this skill?
Quality score: 5/10. The skill documentation is comprehensive, providing clear constraints, templates, and a mandatory workflow for Salesforce data access. It explicitly defines supported APIs and security requirements.
What does the skill file contain?
# Salesforce Data Access
## Data SDK Requirement
> **All Salesforce data access MUST use the Data SDK** (`@salesforce/sdk-data`). The SDK handles authentication, CSRF, and base URL resolution.
```typescript
import { createDataSDK, gql } from "@salesforce/sdk-data";
import type { ResponseTypeQuery } from "../graphql-operations-types";
const sdk = await createDataSDK();
// GraphQL for record queries/mutations (PREFERRED)
const response = await sdk.graphql?.<ResponseTypeQuery>(query, variables);
// REST for Connect REST, Apex REST, UI API (when GraphQL insufficient)
const res = await sdk.fe...Frequently asked questions
Which API should I use for record operations?
GraphQL via sdk.graphql is the preferred method for all record queries and mutations.
What should I do if my GraphQL query fails?
Check the errors array in the response body, as Salesforce returns HTTP 200 even when operations fail.
How do I handle field-level security in queries?
Apply the @optional directive to every scalar and relationship field to prevent query failure when a user lacks access to specific fields.
Can I use standard SOQL queries?
No, the enterprise REST query endpoint is blocked. Use GraphQL for record reads or Apex REST for server-side SOQL aggregates.
Related skills
cloudflare-email-service
7.5KDevelopers building applications on Cloudflare Workers, AI agents using the Cloudflare Agents SDK, or external applications requiring transactional email capabilities
This skill provides guidance for integrating Cloudflare Email Service, covering transactional email sending via Workers bindings or REST API, and email routing for incoming messages. It includes setup instructions, configuration requirements, and troubleshooting for common implementation errors.
shopify-customer
5.0KShopify developers building applications that interact with the Customer Account API
The shopify-customer skill assists developers in writing GraphQL queries and mutations for the Shopify Customer Account API. It enforces a mandatory workflow requiring documentation search and code validation via provided scripts before returning results.
crm-automation
3.3KSales operations teams and revenue operations professionals managing multi-CRM environments
The CRM Automation skill provides workflow templates for managing leads, tracking deals, and synchronizing data across HubSpot, Salesforce, and Pipedrive. It leverages n8n workflow patterns to automate lead enrichment, scoring, routing, and multi-platform data synchronization.
salesforce-developer
2.6KSalesforce developers and engineers building applications on the Salesforce platform
The salesforce-developer skill provides guidance and code patterns for Salesforce development, including Apex, Lightning Web Components, SOQL optimization, and Salesforce DX deployment.