lightning-page-generate

lightning-page-generate is a skill for Claude Code from divingsbysangam/salesforce-compound-engineering-plugin. It costs 181 tokens per session (1,366 once invoked), scanned A, a copy of agentforce-test, MIT.

A guide for creating Salesforce Lightning pages and complete Lightning apps. Lightning pages control what users see when they view records, app home pages, or Salesforce apps.

In plain words
What is it for?
Use it to create record pages, home pages, and complete Lightning apps with their supporting Salesforce setup.
Why use it?
It turns a written description into the required page or app configuration while accounting for objects, fields, tabs, and permissions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the sf-compound-engineering plugin — 68 skills, 1 hook, 2 MCP servers shipped together

Good fit Use it to create record pages, home pages, and complete Lightning apps with their supporting Salesforce setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add divingsbysangam/salesforce-compound-engineering-plugin --skill lightning-page-generate
Clone the repo
git clone --depth 1 https://github.com/divingsbysangam/salesforce-compound-engineering-plugin

Made for: Claude Code.

Or install sf-compound-engineering, the plugin that ships this one along with the rest of its 68 skills, 1 hook, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lightning-page-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate/github.svg)](https://agentmods.dev/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate)
Your own site
<a href="https://agentmods.dev/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate"><img src="https://agentmods.dev/badge/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lightning-page-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate"><img src="https://agentmods.dev/badge/skills/divingsbysangam/salesforce-compound-engineering-plugin/lightning-page-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00181 $0.01366
Opus 5 $0.00090 $0.00683
Sonnet 5 $0.00036 $0.00273
Haiku 4.5 $0.00018 $0.00137

Measured 9d ago against content hash b2a21089c713, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

lightning-page-generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to agentforce-test — 59 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/lightning-page-generate/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/lightning-page-generate

Principles enforced: 1 (preserve the quality ceiling), 4 (spec is the artifact), 7 (institutional memory). See PRINCIPLES.md.

Required reads

Procedure lives in sibling files, not only in this orchestrator:

  • When to use — read references/when-to-use.md before acting on this section.

  • Mode: --type page— single FlexiPage — read references/mode-type-page-single-flexipage.md before acting on this section.

  • Mode: --type app— complete Lightning app — read references/mode-type-app-complete-lightning-app.md before acting on this section.

  • Forbidden shortcuts (Principle 1) — read references/forbidden-shortcuts-principle-1.md before acting on this section.

Read the full file on GitHub · 52 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 52 lines · 181 tokens per session scan A b2a21089c713

Subscribe to this mod's changes

lightning-page-generate is a skill published in the GitHub repository divingsbysangam/salesforce-compound-engineering-plugin (10 stars, last pushed 5d ago), licensed MIT. It adds 181 tokens to every session and 1,366 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to agentforce-test, differing in 59 lines, and is treated as a copy.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens