/sfskills:salesforce-lwcfrom SfSkills — Salesforce AI Skill Library
Routes to 83 LWC skill packages covering reactivity, wire adapters, component communication, accessibility, performance, security, and Jest testing. Use when the request mentions LWC, wire, @api, @track, shadow DOM, or Lightning Message Service.
Ships in SfSkills — Salesforce AI Skill Library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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).
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:
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.
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 pageRead 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" reportDo 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 listInvoke 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 bundlelwc-builder — Generate a Lightning Web Component bundlelwc-debugger — Diagnose a live LWC failurelwc package, never from this router.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pranavnagrecha/awesomesalesforceskills --plugin sfskills12 skills in this plugin
/salesforceEntry point for the SfSkills Salesforce library: 1,040 skill packages across 11 domains (admin, agentforce, apex, architect, data, devops, flow, integration, lwc, omnistudio, security), 70 run-time agents and 94 slash commands. Use for any Salesforce, Force.com or Lightning Platform question — Apex, SOQL, SOSL, triggers, Flow, LWC, sObject, custom field, permission set, profile, sharing rule, validation rule, deployment, sandbox, Agentforce, OmniStudio, org setup. This skill does not answer Salesforce questions itself; it routes to the specific skill package that does, then hands off to a domain router./salesforce-adminRouter for the 261 SfSkills `admin` skill packages. Declarative Salesforce configuration: objects, fields, record types, page layouts, permission sets, reports, the record-access model (OWD, role hierarchy, sharing rules), and the requirements work that precedes them. Use when the request mentions custom object, custom field, picklist, record type, page layout, permission set, profile, validation rule, report, dashboard, queue, approval process, user setup, sharing rule, org-wide default, OWD, role hierarchy, record access, record visibility, who can see this record, duplicate rule, matching rule, duplicate prevention, clean up duplicates, merge governance, Spring release, seasonal release, Release Updates, Sandbox Preview. Finds and opens the exact skill package to read; it does not contain the guidance itself./salesforce-agentforceRouter for the 53 SfSkills `agentforce` skill packages. Agentforce and Einstein: agents, topics, actions, prompt templates, grounding, guardrails, evaluation and production readiness. Use when the request mentions Agentforce, agent topic, agent action, prompt builder, Einstein, Trust Layer, grounding, RAG, guardrails, agent evaluation, prompt injection. Finds and opens the exact skill package to read; it does not contain the guidance itself./salesforce-apexRouter for the 159 SfSkills `apex` skill packages. Apex and SOQL: triggers, Apex governor limits, async processing, OUTBOUND HTTP callouts, security enforcement, and test patterns. Owns calling an external API FROM Salesforce; salesforce-integration owns inbound. Generic nightly scheduling without naming code belongs to salesforce-flow. Codebase security review belongs to salesforce-security. NOT for SOSL — use salesforce-data. Use when the request mentions Apex, trigger, SOQL, Apex governor limit, batch, queueable, @future, schedulable, test class, CPU time, heap, with sharing, StripInaccessible, callout, HTTP callout, HttpRequest, call an external API, consume a REST API from Apex, Named Credential in Apex, HttpCalloutMock, Apex REST service. Finds and opens the exact skill package to read; it does not contain the guidance itself./salesforce-architectRouter for the 106 SfSkills `architect` skill packages. Solution and platform architecture: multi-org strategy, scalability limits, licensing, Well-Architected reviews and architecture decision records. Use when the request mentions architecture, solution design, ADR, Well-Architected, scalability, large data volume, multi-org, licensing, tenant isolation, HA/DR, technical debt. Finds and opens the exact skill package to read; it does not contain the guidance itself./salesforce-dataRouter for the 101 SfSkills `data` skill packages. Data model, data movement and data quality: migrations, bulk loads, query optimisation, deduplicating at volume, archival. Ordinary-volume duplicate cleanup and prevention use salesforce-admin; come here for hundreds-of-thousands+ dedup or third-party tools. LDV architecture uses salesforce-architect. Use when the request mentions data model, data migration, data load, Data Loader, Bulk API, external id, deduplication at volume, archival, SOSL, cross-object search, sandbox seed data, SandboxPostCopy, native Data Seeding. Finds and opens the exact skill package to read; it does not contain the guidance itself.Other plugins' skills for the same job