What problem does it solve?
Deploying a Salesforce Lightning UI bundle reliably requires the right sequencing across authentication, build, deployment, permissions, optional data loading, and GraphQL schema/codegen updates.
Core Features & Use Cases
- Step-ordered org authentication and UI bundle build: Ensures
dist/ is present before any UI bundle metadata deployment.
- Correct metadata deployment strategy: Deploys via
manifest/package.xml or package.xml when present, otherwise deploys project metadata broadly.
- Post-deploy permission assignment and optional data import: Assigns discovered permission sets before schema fetch and optionally imports data from
data/data-plan.json with user confirmation.
- GraphQL schema fetch and code generation alignment: Fetches schema after deployment and permissions changes, writing
schema.graphql, then runs codegen from the locally updated schema.
Real-world use case: you push a UI bundle app with custom objects/fields and want the resulting GraphQL schema and generated types to match the deployed org state without manual, error-prone reordering.
Quick Start
Use this skill to deploy your UI bundle app to your connected Salesforce org, including post-deploy permission assignment and GraphQL schema/codegen regeneration.