Registry / forcedotcom

forcedotcom/sf-skills/experience-lwc-security-validate

Use this skill as THE specialized Lightning Web Security (LWS) validator for a Lightning Web Component bundle (`.js`, `.ts`, `.html`, `.css`, `.js-meta.xml`) — the canonical LWS/Product-Security review for LWCs, NOT a generic code-security pass. It produces either a severity-ranked finding list with code-level remediations or a SARIF 2.1.0 JSON score report keyed by the `lws-001`…`lws-023b` rule catalog. TRIGGER when the user asks to review, audit, or check an LWC component for LWS compliance is

Agent skill · version 1.69.0 · from forcedotcom/sf-skills

Install

npx yarkr-cli add skill:forcedotcom/sf-skills/experience-lwc-security-validate

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:forcedotcom/sf-skills/experience-lwc-security-validate
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:forcedotcom/sf-skills/experience-lwc-security-validate

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:forcedotcom/sf-skills/experience-lwc-security-validate

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.