What problem does it solve?
This Skill helps you create, generate, modify guidance for, and validate Salesforce Lightning FlexiPages (RecordPage, AppPage, HomePage) while preventing common FlexiPage deployment and XML formatting errors.
Core Features & Use Cases
- Guided FlexiPage bootstrapping: Uses the Salesforce CLI template command for creating new FlexiPages to ensure correct structure and region/component configuration.
- Deployment validation workflow: Provides a dry-run deployment step so you can catch page and dependency errors before proceeding.
- FlexiPage XML authoring rules & troubleshooting: Covers component/region/facet conventions, field reference formatting, identifier uniqueness, and how to fix frequent deployment errors (e.g., invalid field references, duplicated fieldInstance structures, XML parsing issues).
- Edit-any-flexipage file support: Applies when working with any *.flexipage-meta.xml content, including understanding components/regions/facets and resolving deployment errors.
Quick Start
Run the command sf template generate flexipage with the correct --template (RecordPage|AppPage|HomePage) and page parameters (including field arguments for RecordPage) to bootstrap a valid FlexiPage skeleton, then follow the dry-run deployment step to confirm it deploys cleanly.