
Platform Flexipage Generate
Generates Salesforce Lightning page (FlexiPage) metadata using the SF CLI's template command as a starting point, then helps you add components, validate structure, and fix deployment errors. The workflow is opinionated: always bootstrap with the CLI for new pages (never hand-write XML), do a dry-run deploy to catch issues early, then layer on additional components if needed. It's built around avoiding the common FlexiPage mistakes like duplicate identifiers, wrong field reference formats, or broken facet nesting. If you're building RecordPages, AppPages, or HomePages and want guardrails around the finicky XML structure, this keeps you from shooting yourself in the foot.
- skills.sh installs
- 6.2K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-flexipage-generate --agent claude-codeInstalls into .claude/skills of the current project.
Files
When to Use This Skill
Use this skill when you need to:
- Create Lightning pages (RecordPage, AppPage, HomePage)
- Generate FlexiPage metadata XML
- Add components to existing FlexiPages
- Troubleshoot FlexiPage deployment errors
- Understand FlexiPage structure and component configuration
- Work with page layouts or Lightning page customization
- Edit or update ANY *.flexipage-meta.xml file
Specification
Overview
CRITICAL: When creating NEW FlexiPages, you MUST ALWAYS start with the CLI template command. Never create FlexiPage XML from scratch - the CLI provides valid structure, proper regions, and correct component configuration that prevents deployment errors.
Generate Lightning pages (RecordPage, AppPage, HomePage) using CLI bootstrapping for component discovery and configuration.
Quick Start Workflow
Step 1: Bootstrap with CLI
MANDATORY FOR NEW PAGES: This step is NOT optional. Always use the CLI template command when creating a new FlexiPage. The CLI generates valid XML structure, proper regions, and correct metadata that prevents common deployment errors. Only skip this step if you're editing an existing FlexiPage file.
Sponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, Sales & Marketing
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 158- Platform Metadata Api Context Get6.2K
- Platform Sharing Rules Generate6.2K
- Design Systems Slds Apply6.1K
- Design Systems Slds Validate6K
- Agentforce Generate6K
- Platform Custom Tab Generate6K
- Dx Code Analyzer Configure5.9K
- Platform Custom Application Generate5.9K
- Platform List View Generate5.9K
- Agentforce Architecture Analyze5.9K
- Dx Org Switch5.8K
- Dx Org Permission Set Assign5.8K
- Platform Custom Lightning Type Generate5.8K
- Agentforce Test5.8K
- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.7K
- Design Systems Slds2 Migrate5.7K
- External Diagram Mermaid Generate5.6K
- Integration Connectivity Connected App Configure5.5K
- Integration Connectivity Generate5.5K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.3K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K