What problem does it solve?
Salesforce UI components often ship with XSS vulnerabilities, missing FLS/CRUD enforcement, accessibility failures, and SLDS styling violations that only surface in security reviews or production. This Skill applies a consistent set of platform-specific quality checks to every Lightning Web Component, Aura component, and Visualforce page you write or review.
Core Features & Use Cases
- LWC Standards: Guides data access pattern selection (wire, imperative Apex, LMS, GraphQL), enforces XSS prevention, SLDS 2 styling tokens, WCAG 2.1 AA accessibility checklists, component communication rules, and Jest test requirements.
- Aura Standards: Covers when to use Aura vs LWC, CRUD/FLS enforcement in @AuraEnabled methods, and component vs application event design.
- Visualforce Security: Prevents XSS via output escaping, CSRF via apex:form, SOQL injection via bind variables, and manages view state limits and FLS in custom controllers.
- Use Case: When building a new LWC that displays account data, use this Skill to choose the correct wire pattern, enforce WITH USER_MODE in Apex, add proper aria-labels, and write the required Jest tests before submitting for review.
Quick Start
Review this Lightning Web Component against the Salesforce component quality standards and flag any security, accessibility, or styling violations.