forcedotcom avatar

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-code

Installs 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
1openai avatarimagegenopenai/skillsGenerate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-b6.2Kskills.sh installs
2forcedotcom avatardesign-systems-slds-applyforcedotcom/sf-skillsApply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons. Use when building any UI that needs SLDS, choosing between Ligh6.1Kskills.sh installs
3julianoczkowski avatardesign-tokensjulianoczkowski/designer-skillsGenerate a design tokens file (CSS variables or Tailwind config) based on a chosen aesthetic philosophy, with light and dark mode palettes, spacing scale, type 6.1Kskills.sh installs
4assistant-ui avatarupdateassistant-ui/skillsUpgrades an existing assistant-ui project to current releases and executes the resulting migrations. Use when the user wants to update, upgrade, bump, or migrat6Kskills.sh installs
5forcedotcom avatardesign-systems-slds-validateforcedotcom/sf-skillsAudit Lightning Web Components for SLDS compliance and produce a scored quality report. Runs the SLDS linter, analyzes CSS for theming hook usage and pairing, c6Kskills.sh installs
6forcedotcom avatarplatform-custom-application-generateforcedotcom/sf-skillsUse this skill when users need to create or configure tab-based Salesforce Custom Applications with navigation, branding, and action overrides. Trigger when use5.9Kskills.sh installs