Platform custom application generate

From forcedotcom/sf-skills · View interactive version

Platform custom application generate is an AI agent skill from the GitHub repository forcedotcom/sf-skills. Use this skill when users need to create or configure tab-based Salesforce Custom Applications with navigation, branding, and action overrides. Trigger when users mention custom apps, application metadata, app navigation, or organizing tabs into applications. Use when users want to create app contai

How to use this skill

Skill file

When to Use This Skill

Use this skill when you need to:

CustomApplication (Lightning App) Metadata Specification

Overview

Custom applications (Lightning Apps) that group tabs and functionality to provide a focused user experience for specific business processes. Always configured for Lightning Experience.

Required Properties

Core Application Properties

Optional Properties

Asking the User

Application Configuration

Navigation Type Selection (CRITICAL)

Decision Criteria for navType:

Choose "Standard" (DEFAULT) for:

Choose "Console" ONLY when workflow requires:

When in doubt: Default to "Standard" for most general business use cases

Tab Management

Utility Bar

<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
    <flexiPageRegions>
        <itemInstances>
            <componentInstance>
                <componentName>console:history</componentName>
                <identifier>console_history</identifier>
            </componentInstance>
        </itemInstances>
        <name>utilityItems</name>
        <type>Region</type>
    </flexiPageRegions>
    <flexiPageRegions>
        <name>backgroundComponents</name>
        <type>Background</type>
    </flexiPageRegions>
    <masterLabel>Support Console UtilityBar</masterLabel>
    <template>
        <name>one:utilityBarTemplateDesktop</name>
    </template>
    <type>UtilityBar</type>
</FlexiPage>
<componentInstance>
<componentInstanceProperties><name>eager</name><type>decorator</type><value>false</value></componentInstanceProperties>
<componentInstanceProperties><name>entityNames</name><valueList><valueListItems><value>Case</value></valueListItems><valueListItems><value>Contact</value></valueListItems></valueList></componentInstanceProperties>
<componentInstanceProperties><name>height</name><type>decorator</type><value>480</value></componentInstanceProperties>
<componentInstanceProperties><name>icon</name><type>decorator</type><value>fallback</value></componentInstanceProperties>
<componentInstanceProperties><name>label</name><value>Standard.RecentItems</value></componentInstanceProperties>
<componentInstanceProperties><name>label</name><type>decorator</type><value>Recent Items</value></componentInstanceProperties>
<componentInstanceProperties><name>maxRecords</name><value>3</value></componentInstanceProperties>
<componentInstanceProperties><name>scrollable</name><type>decorator</type><value>true</value></componentInstanceProperties>
<componentInstanceProperties><name>width</name><type>decorator</type><value>340</value></componentInstanceProperties>
<componentName>flexipage:recentItems</componentName>
<identifier>flexipage_recentItems</identifier>
</componentInstance>

Branding (HIGHLY RECOMMENDED - DO NOT SKIP)

IMPORTANT: Provide branding configuration to create a professional, visually distinct application identity.

Action Overrides (CRITICAL - DO NOT SKIP)

IMPORTANT: Action overrides MUST be created for every custom object tab that has a record page generated by flexipage expert.

Profile Action Overrides

App Visibility (CRITICAL - DO NOT SKIP)

IMPORTANT: CustomApplication has no visibility field. An app that no profile or permission set grants is invisible to everyone, including the admin who created it. This is the User Profiles step (the last step) of the New Lightning App wizard. profileActionOverrides does not grant visibility. If the request asks only for the CustomApplication file, don't add Profile or FlexiPage files; mention visibility in the summary instead.

Deploying to a Connected Org

Device Support, Navigation Behavior, and Integration Points

See references/app-properties.md for the purpose of an app, form factors per device, navigation behavior flags, accessibility, and the tab and component types an app can include.

Best Practices

Enhancement Rules

CRITICAL Verification Checklist (MUST VERIFY)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.