Skip to content
forcedotcom avatar

Platform Flexipage Generate

Structured Salesforce FlexiPage workflow that bootstraps Lightning pages via CLI template generation and enforces valid XML rules.

CCM score
65 of 100
skills.sh installs
6.5K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating RecordPage, AppPage, and HomePage FlexiPages, plus adding components to and validating existing *.flexipage-meta.xml files
  • Requires a sf template generate flexipage bootstrap for new pages and a dry-run deploy to validate the base page before any changes
  • Enforces XML rules including unique identifiers and region names, Record.{Field} reference format, and entity-encoded HTML values
  • Designed for Salesforce developers who need Lightning page work without hand-writing FlexiPage XML from scratch

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-flexipage-generate -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Frontend & UI Code, DevOps & Cloud
First seen
Jul 14, 2026

Questions

What does the platform-flexipage-generate skill do?

It creates, generates, modifies and validates Salesforce Lightning pages, called FlexiPages, including RecordPage, AppPage and HomePage types. It also helps add components to pages and troubleshoot FlexiPage deployment errors in the flexipage-meta.xml files.

How do I install the platform-flexipage-generate skill?

Run npx -y skills add forcedotcom/sf-skills --skill platform-flexipage-generate -y in a project. This installs the skill so the agent can generate and edit Salesforce Lightning pages.

Where does platform-flexipage-generate stand in the Frontend and UI Code category?

It is listed in the Frontend and UI Code category on Claude Marketplaces, alongside skills such as vercel-react-best-practices and web-design-guidelines. Its focus is Salesforce Lightning page layout and components rather than general web UI design.

Does platform-flexipage-generate work with Visualforce pages or Lightning Web Components?

No, the skill says not to trigger for Visualforce pages, page layout assignments in the UI, or Lightning Web Component work that does not place components on a FlexiPage. It applies only to FlexiPage XML and Lightning page customization.

More from forcedotcom/sf-skills

All 78

Similar to Platform Flexipage Generate

More Frontend & UI Code