generating-lightning-app

Generates complete Salesforce Lightning Experience applications from natural language descriptions.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/amanpraaj/sf-skill-hub --skill generating-lightning-app-amanpraaj
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generating-lightning-app
Source: https://github.com/amanpraaj/sf-skill-hub/tree/main/skills/salesforce/generating-lightning-app
Command: npx skills add https://github.com/amanpraaj/sf-skill-hub --skill generating-lightning-app-amanpraaj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a Salesforce Lightning app requires coordinating many interdependent metadata types (objects, fields, tabs, pages, applications, permission sets) in the correct dependency order, which is error-prone when done manually. This Skill turns a plain-language app description into a complete, deployable set of Salesforce metadata. ## Core Features & Use Cases - Dependency-Ordered Orchestration: Builds metadata in five phases (data model, business logic, UI, app assembly, security) so every component's prerequisites exist before it is generated. - Per-Type Skill Delegation: Loads specialized metadata skills (custom object, field, tab, flexipage, application, permission set, flow, validation rule, list view) and calls salesforce-api-context for version-accurate values before writing files. - Cross-Component Validation: Verifies object-tab coverage, relationship integrity, field references in pages, and permission set completeness, then reports warnings without blocking delivery. - Use Case: Ask for a project management app with Tasks, Resources, and Supplies objects, and receive a full SFDX project with objects, fields, tabs, Lightning record pages, the Custom Application, permission sets, and a package.xml deployment manifest. ## Quick Start Ask the agent to build a Lightning app for your scenario, for example: build a project management Lightning app with Project, Task, and Resource objects, record pages, and permission sets.

Frequently Asked Questions about generating-lightning-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Salesforce Lightning app from a natural language description?▼

Describe the app you need, including business entities, fields, relationships, and user roles. The skill produces a build plan, then generates objects, fields, tabs, FlexiPages, the Custom Application, and permission sets in dependency order as a deployable SFDX project.

What metadata types are generated for a Salesforce Lightning app?▼

The build covers Custom Objects, Custom Fields, Custom Tabs, FlexiPages, a Custom Application, and Permission Sets. Validation Rules, Flows, and List Views are generated only when the request mentions validation, automation, or filtered view requirements.

When should I use generating-custom-application instead of this skill?▼

Use generating-custom-application when you only need an app container that groups existing tabs without creating other metadata. Use this skill when the request requires multiple interconnected components like objects, pages, tabs, and security together.

Does the generated Lightning app include a deployment manifest?▼

Yes. The output includes a package.xml listing all components with the proper API version, organized by metadata type in dependency order, ready for Salesforce CLI or Metadata API deployment, plus a build summary report.

What happens if cross-component validation fails after generation?▼

Failed checks such as missing field references in FlexiPages or incomplete permission sets are logged in a VALIDATION WARNINGS section of the build report. Delivery is not blocked, and each warning includes remediation steps for manual correction.