Salesforce Lwc logo

Salesforce Lwc

Community
PranavNagrecha
salesforce-lwc

Router for the 83 SfSkills `lwc` skill packages. Lightning Web Components: reactivity, wire adapters, component communication, accessibility, performance, security and Jest testing. Use when the request mentions LWC, Lightning Web Component, wire, @api, @track, lightning-record-form, shadow DOM, Jest, Lightning Message Service, Aura migration, Lightning page. Finds and opens the exact skill package to read; it does not contain the guidance itself.

Overview

PublisherPranavNagrecha
RepositoryAwesomeSalesforceSkills
Skill namesalesforce-lwc
Stars
26
Forks
5
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by PranavNagrecha on GitHub. Read the source before you install it.

Installation

Install the Salesforce Lwc AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/.claude/skills/salesforce-lwc
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/.claude/skills/salesforce-lwc .claude/skills/salesforce-lwc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Salesforce Lwc in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Salesforce Lwc on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Salesforce Lwc is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Salesforce lwc — SfSkills domain router

Lightning Web Components: reactivity, wire adapters, component communication, accessibility, performance, security and Jest testing.

83 skill packages live under ${CLAUDE_PLUGIN_ROOT}/skills/lwc/<slug>/SKILL.md. They are not loaded — reach them by path, on demand.

Generated by scripts/build_plugin.py. Do not hand-edit.

How to find the right skill

Three mechanisms, listed in order of reliability on a fresh install. Use the first one that is available; do not stop at a guess.

1. The shipped roster (always works, no setup). Read references/skill-index.md next to this file. It lists every lwc skill package with a one-line gloss, generated from registry/skills.json. Scan it and pick by name.

2. The MCP server (fast, needs the sfskills-mcp server connected). Call the search_skill tool with the user's phrasing and domain: "lwc". It returns ranked skill ids. get_skill then returns the package contents.

3. The search CLI (fast, needs a locally built index).

bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/search_knowledge.py" "<the user's question>" --domain lwc --json

This needs vector_index/, which is not shipped — it is gitignored and must be built once per clone:

bash
cd "${CLAUDE_PLUGIN_ROOT}" && python3 -m pip install -r requirements.txt && python3 scripts/build_index.py

If the command errors or reports Coverage: NONE, fall back to mechanism 1 rather than telling the user the topic is uncovered.

Then read the package. Open the exact ${CLAUDE_PLUGIN_ROOT}/skills/<domain>/<slug>/SKILL.md the lookup returned, plus its references/gotchas.md and references/llm-anti-patterns.md. Do not answer from this router: it is a map, not the territory.

Featured entry points

Curated starting points when the request is broad or the lookup is ambiguous. This is a shortlist, not the catalogue — the roster at references/skill-index.md has all 83.

  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/component-communication/SKILL.md — parent/child, events, and when to reach for Lightning Message Service
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/wire-service-patterns/SKILL.md — @wire, reactive parameters, and refreshing cached data
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lifecycle-hooks/SKILL.md — connected/rendered/disconnected and the work that belongs in each
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lwc-performance/SKILL.md — render cost, wasted reactivity, and the LWC side of a slow page
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lwc-security/SKILL.md — Lightning Web Security, sanitisation, and safe use of API data
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lwc-accessibility/SKILL.md — keyboard, focus and screen-reader behaviour as acceptance criteria
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lwc-testing/SKILL.md — Jest setup, mocking wire adapters, and asserting rendered output
  • ${CLAUDE_PLUGIN_ROOT}/skills/lwc/lwc-error-boundaries/SKILL.md — containing a component failure instead of blanking the page

Decision trees

Read the tree before activating a skill when the request could be solved more than one way, and cite the branch that decided it.

  • ${CLAUDE_PLUGIN_ROOT}/standards/decision-trees/performance-tuning.md — the LWC render branch, for any "the page is slow" report

Canonical templates

Do not hand-roll an idiom that already exists. Copy from ${CLAUDE_PLUGIN_ROOT}/templates/lwc/ and rename in the consuming project; never edit the template in place.

  • ${CLAUDE_PLUGIN_ROOT}/templates/lwc/jest.config.js
  • ${CLAUDE_PLUGIN_ROOT}/templates/lwc/component-skeleton
  • ${CLAUDE_PLUGIN_ROOT}/templates/lwc/patterns
  • ${CLAUDE_PLUGIN_ROOT}/templates/lwc/README.md — the full list

Run-time agents for this domain

Invoke one of these subagents when the ask is a whole workflow rather than a single question:

  • lwc-auditor — Accessibility + performance + security audit of an LWC bundle
  • lwc-builder — Generate a Lightning Web Component bundle
  • lwc-debugger — Diagnose a live LWC failure

Rules

  1. Answer from the opened lwc package, never from this router.
  2. Cite the skill id and, where one applied, the decision-tree branch.
  3. Never claim a topic is uncovered without pasting lookup output.
  4. Never deploy to an org.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Salesforce Lwc AI skill do?

Router for the 83 SfSkills `lwc` skill packages. Lightning Web Components: reactivity, wire adapters, component communication, accessibility, performance, security and Jest testing. Use when the request mentions LWC, Lightning Web Component, wire, @api, @track, lightning-record-form, shadow DOM, Jest, Lightning Message Service, Aura migration, Lightning page. Finds and opens the exact skill package to read; it does not contain the guidance itself.

Why use Salesforce Lwc on TypingMind?

Because you install it once and use it with any model. Salesforce Lwc is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Salesforce Lwc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/.claude/skills/salesforce-lwc. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Salesforce Lwc?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Salesforce Lwc?

As many as you like. As long as a model supports skills, you can use Salesforce Lwc with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Salesforce Lwc AI skill free?

It is published on GitHub by PranavNagrecha. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇