Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
forcedotcom avatar

Generating Lightning App

  • 1.5k installs
  • 763 repo stars
  • Updated July 24, 2026
  • forcedotcom/afv-library

This is a copy of generating-lightning-app by forcedotcom - installs and ranking accrue to the original listing.

Generating Lightning App is a Salesforce orchestration skill that turns natural language business app requests into deployable Lightning Experience applications with all dependent metadata for developers building complet

About

Generating Lightning App is a Salesforce agent skill (version 1.0) that builds complete Lightning Experience applications from natural language descriptions of business solutions or management systems. The skill orchestrates interconnected metadata—custom objects, fields, tabs, FlexiPages, custom applications, flows, and security—in proper dependency order to produce a deployable app. Developers reach for Generating Lightning App when a request describes multiple Salesforce components rather than a single metadata type. Related skills include generating-custom-object, generating-custom-field, generating-custom-tab, generating-flexipage, generating-custom-application, generating-flow, and generating-validation. Trigger phrases include "complete app", "Lightning app", "business solution", and "management system".

  • Orchestrates multiple interdependent Salesforce metadata types in correct dependency order
  • Triggers 9 related specialized skills including generating-custom-object and generating-flexipage
  • Builds complete Lightning Custom Applications from plain English descriptions
  • Produces ready-to-deploy end-to-end business solutions such as project management or tracking apps
  • Hard-gate: only invoke when user explicitly requests a "complete app" or "Lightning app"

Generating Lightning App by the numbers

  • 1,546 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/forcedotcom/afv-library --skill generating-lightning-app

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.5k
repo stars763
Security audit3 / 3 scanners passed
Last updatedJuly 24, 2026
Repositoryforcedotcom/afv-library

How do you build a complete Salesforce Lightning app from a description?

Turn a natural language request for a complete business application into a fully orchestrated, deployable Salesforce Lightning Experience app with all dependent c

Who is it for?

Salesforce developers receiving natural language requests for complete business applications requiring multiple interconnected Lightning Platform metadata types.

Skip if: Developers who only need a single tab, one CLT schema, or a standalone React UI bundle without full platform metadata orchestration.

When should I use this skill?

The user requests a complete app, Lightning app, business solution, management system, or describes a scenario needing multiple interconnected Salesforce components.

What you get

Deployable Lightning Experience application with orchestrated objects, fields, tabs, FlexiPages, apps, flows, and security metadata.

  • deployable Lightning app metadata set
  • orchestrated dependency-ordered XML/JSON
  • security configuration

By the numbers

  • Skill metadata version 1.0 in forcedotcom/afv-library
  • Orchestrates 7+ related metadata skills including object, field, tab, FlexiPage, app, and flow generation

Files

SKILL.mdMarkdownGitHub ↗

data360-query: Data Cloud Retrieve Phase

Use this skill when the user needs query, search, and metadata introspection for Data Cloud: sync SQL, paginated SQL, async query workflows, table describe, vector search, hybrid search, or search index operations.

When This Skill Owns the Task

Use data360-query when the work involves:

  • sf data360 query *
  • sf data360 search-index *
  • sf data360 metadata *
  • sf data360 profile * or sf data360 insight * inspection
  • understanding Data Cloud SQL results or query shape

Delegate elsewhere when the user is:

  • writing standard CRM SOQL only → platform-soql-query
  • designing segment or calculated insight assets → data360-segment
  • analyzing STDM/session tracing/parquet telemetry → agentforce-observe

---

Required Context to Gather First

Ask for or infer:

  • target org alias
  • whether the user needs quick count, medium result set, large export, schema inspection, or semantic search
  • table/index name if known
  • whether the task is read-only SQL or search-index lifecycle management

---

Core Operating Rules

  • Treat Data Cloud SQL as its own query language, not SOQL.
  • Run the shared readiness classifier before relying on query/search surfaces: node ../data360-orchestrate/scripts/diagnose-org.mjs -o <org> --phase retrieve --json.
  • Use describe before guessing columns.
  • Prefer sqlv2 or async query flows for larger result sets.
  • Use vector search or hybrid search only when the search index lifecycle is healthy.
  • Keep STDM/parquet/session-tracing workflows out of this skill family.

---

Recommended Workflow

1. Classify readiness for retrieve work

node ../data360-orchestrate/scripts/diagnose-org.mjs -o <org> --phase retrieve --json
# optional query-plane probe, only with a real table name
node ../data360-orchestrate/scripts/diagnose-org.mjs -o <org> --phase retrieve --describe-table MyDMO__dlm --json

2. Choose the smallest correct query shape

sf data360 query sql -o <org> --sql 'SELECT COUNT(*) FROM "ssot__Individual__dlm"' 2>/dev/null
sf data360 query sqlv2 -o <org> --sql 'SELECT * FROM "ssot__Individual__dlm"' 2>/dev/null
sf data360 query async-create -o <org> --sql 'SELECT * FROM "ssot__Individual__dlm"' 2>/dev/null

3. Use describe before guessing fields

sf data360 query describe -o <org> --table ssot__Individual__dlm 2>/dev/null

4. Use vector or hybrid search only when an index exists

sf data360 search-index list -o <org> 2>/dev/null
sf data360 query vector -o <org> --index Knowledge_Index --query "reset password" --limit 5 2>/dev/null
sf data360 query hybrid -o <org> --index Knowledge_Index --query "reset password" --limit 5 2>/dev/null
sf data360 query hybrid -o <org> --index Insurance_Index --query "weather damage coverage" --prefilter "Type_of_Insurance__c='Home'" --limit 10 2>/dev/null

5. Reuse curated search-index examples when creating indexes

Use the phase-owned examples instead of inventing JSON from scratch:

  • examples/search-indexes/vector-knowledge.json
  • examples/search-indexes/hybrid-structured.json

---

High-Signal Gotchas

  • Data Cloud SQL is not SOQL.
  • Table names should be double-quoted in SQL.
  • sqlv2 is better than ad hoc OFFSET paging for medium result sets.
  • async query is preferable for large results.
  • search-index operations and vector/hybrid queries depend on the index lifecycle being healthy.
  • Hybrid search can use --prefilter, but only on fields configured as prefilter-capable when the search index was created.
  • HNSW index parameters are typically read-only on create; leave userValues: [] unless the platform explicitly documents otherwise.
  • query describe is not a universal tenant probe; only run it with a known DMO or DLO table after broader readiness has been confirmed.

---

Output Format

Retrieve task: <sql / sqlv2 / async / describe / vector / search-index>
Target org: <alias>
Target object: <table or index>
Commands: <key commands run>
Verification: <query rows / schema / status>
Next step: <segment / harmonize / follow-up>

---

References

  • README.md
  • examples/search-indexes/vector-knowledge.json
  • examples/search-indexes/hybrid-structured.json
  • ../data360-orchestrate/assets/definitions/search-index.template.json
  • ../data360-orchestrate/references/plugin-setup.md
  • ../data360-orchestrate/references/feature-readiness.md

Related skills

How it compares

Use Generating Lightning App when the scope is a full business application; use individual generating-* skills for single metadata types like one tab or one CLT.

FAQ

What metadata does Generating Lightning App orchestrate?

Generating Lightning App orchestrates custom objects, fields, tabs, FlexiPages, custom applications, flows, validation rules, and security metadata in proper dependency order to produce a deployable Lightning Experience business application.

When should Generating Lightning App replace individual AFV skills?

Generating Lightning App should be used when the request describes a complete business solution requiring multiple interconnected Salesforce components; use individual skills like generating-custom-tab for single-metadata tasks.

Is Generating Lightning App safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.