experience-ui-bundle-deploy

Orchestrates the full deployment sequence for Salesforce UI bundle apps including metadata, permissions, data, and GraphQL codegen.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill experience-ui-bundle-deploy-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: experience-ui-bundle-deploy
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/experience-ui-bundle-deploy
Command: npx skills add https://github.com/padjei/SF_Build --skill experience-ui-bundle-deploy-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deploying a Salesforce UI bundle app involves many ordered steps—authentication, builds, metadata deployment, permission assignment, data import, and GraphQL schema codegen—and doing them out of order causes broken schemas, missing field access, and failed deployments. ## Core Features & Use Cases - Ordered Deployment Workflow: Enforces the canonical sequence from org authentication through metadata deployment to final UI bundle build. - Post-deploy Configuration: Discovers and assigns permission sets in force-app/main/default/permissionsets/ so GraphQL introspection returns the correct schema. - Schema and Codegen Management: Fetches the GraphQL schema via introspection and runs codegen after every metadata or permission change. - Use Case: After deploying new custom objects to a Salesforce org, the skill assigns permission sets, optionally imports data from data/data-plan.json with user confirmation, then refreshes schema.graphql and regenerates types. ## Quick Start Deploy this UI bundle project to my Salesforce org and run the full post-deploy setup including permissions and GraphQL codegen.

Frequently Asked Questions about experience-ui-bundle-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Salesforce UI bundle app to an org?▼

Authenticate the org, build the UI bundle to produce dist/, deploy metadata using manifest/package.xml if present, then assign permission sets, optionally import data, and finally fetch the GraphQL schema and run codegen. Order matters because the schema reflects deployed org state.

Why is my GraphQL schema missing custom fields after deployment?▼

The schema was likely fetched before metadata deployment or before permission sets were assigned. Custom objects and fields appear only after deployment, and users need field-level security via permission sets for introspection to return them.

When should I re-run GraphQL schema fetch and codegen?▼

Re-run schema fetch and codegen after every metadata deployment that changes objects, fields, or permissions, or when schema.graphql is missing. Codegen reads the schema locally, so it must be refreshed first.

Does the deployment import data automatically?▼

No. Data import only runs if data/data-plan.json exists, and the skill always asks the user before importing or cleaning data. Deletes run in reverse plan order and imports use Anonymous Apex with duplicate rule saves enabled.

What happens if permission sets are not assigned after deploy?▼

Users will lack access to custom objects and fields, and GraphQL introspection will return an incomplete schema. The skill discovers permission sets in force-app/main/default/permissionsets/ and assigns them or asks the user.