What problem does it solve? Creating Salesforce Lightning pages (FlexiPages) by hand produces XML that frequently fails deployment due to duplicate identifiers, unencoded property values, invalid field references, and incorrect region or facet structures. This Skill enforces a CLI-first workflow and a strict validation checklist so generated pages deploy successfully. ## Core Features & Use Cases - CLI-Bootstrapped Page Generation: Creates RecordPage, AppPage, and HomePage FlexiPages using the sf template generate flexipage command with proper field parameters. - XML Structure Rules: Enforces unique identifiers and region names, correct Record.{Field} references, proper Region vs Facet typing, and HTML/XML encoding of property values. - Deployment Error Troubleshooting: Maps common FlexiPage deployment errors (invalid field references, duplicated fieldInstances, unused facets) to concrete fixes. - Use Case: A developer needs a custom Account record page with a highlights panel and detail fields. The Skill bootstraps the page via CLI with primary, secondary, and detail fields, then validates it with a dry-run deployment. ## Quick Start Ask the AI to create a new Account record page FlexiPage with Name as the primary field and Phone, Industry, and AnnualRevenue as secondary fields, then validate it with a dry-run deployment.