Experience Lds Best Practices Apply
forcedotcom/sf-skills
A skill your agent uses when reviewing or implementing Lightning Data Service best practices in an LWC (.js, .html, .js-meta.xml) — UIAPI vs Apex, refreshApex / notifyRecordUpdateAvailable…
Quality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages.
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install github/awesome-copilot salesforce-component-standards --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/salesforce-component-standards .claude/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .claude/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standardsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install github/awesome-copilot salesforce-component-standards --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/salesforce-component-standards .agents/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .agents/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install github/awesome-copilot salesforce-component-standards --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/salesforce-component-standards .cursor/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .cursor/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/github/awesome-copilot.git --path skills/salesforce-component-standards--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install github/awesome-copilot salesforce-component-standards --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/salesforce-component-standards .gemini/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .gemini/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install github/awesome-copilot salesforce-component-standardsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/salesforce-component-standards .github/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .github/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/awesome-copilot --skill salesforce-component-standards -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install github/awesome-copilot salesforce-component-standards --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/salesforce-component-standards .opencode/skills/salesforce-component-standards && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "salesforce-component-standards" agent skill from https://github.com/github/awesome-copilot/tree/main/skills/salesforce-component-standards into .opencode/skills/salesforce-component-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "salesforce-component-standards", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
salesforce-component-standardsQuality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages.
Salesforce Component Standards is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Quality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages. Covers SLDS 2 compliance, accessibility (WCAG 2.1 AA), data access pattern selection, component communication rules, XSS prevention, CSRF enforcement, FLS/CRUD in AuraEnabled methods, view state management, and Jest test requirements. Use this skill when building or reviewing any Salesforce UI component to enforce platform-specific security and quality standards.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering CRM management, Web application vulnerabilities and Accessibility. It works with Salesforce, Jest and JavaScript. The repository describes itself as: Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot. The licence is MIT.
Read from SKILL.md and the folder at commit 727ff2e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are apex, javascript and xml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Salesforce Component Standards loads about 2.4k tokens when it runs. Until then it costs about 125 tokens; SKILL.md has 977 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from github/awesome-copilot at commit 727ff2e, republished under its MIT licence (© github). 977 words, ~2,448 tokens.
.claude/skills/salesforce-component-standards/SKILL.md (or your agent's skills folder).Apply these checks to every LWC, Aura component, and Visualforce page you write or review.
Choose the right data access pattern before writing JavaScript controller code:
| Use case | Pattern | Why |
|---|---|---|
| Read a single record reactively (follows navigation) | @wire(getRecord, { recordId, fields }) | Lightning Data Service — cached, reactive |
| Standard CRUD form for a single object | <lightning-record-form> or <lightning-record-edit-form> | Built-in FLS, CRUD, and accessibility |
| Complex server query or filtered list | @wire(apexMethodName, { param }) on a cacheable=true method | Allows caching; wire re-fires on param change |
| User-triggered action, DML, or non-cacheable server call | Imperative apexMethodName(params).then(...).catch(...) | Required for DML — wired methods cannot be @AuraEnabled without cacheable=true |
| Cross-component communication (no shared parent) | Lightning Message Service (LMS) | Decoupled, works across DOM boundaries |
| Multi-object graph relationships | GraphQL @wire(gql, { query, variables }) | Single round-trip for complex related data |
| Rule | Enforcement |
|---|---|
No raw user data in innerHTML | Use {expression} binding in the template — the framework auto-escapes. Never use this.template.querySelector('.el').innerHTML = userValue |
Apex @AuraEnabled methods enforce CRUD/FLS | Use WITH USER_MODE in SOQL or explicit Schema.sObjectType checks |
| No hardcoded org-specific IDs in component JavaScript | Query or pass as a prop — never embed record IDs in source |
@api properties from parent: validate before use | A parent can pass anything — validate type and range before using as a query parameter |
color: #FF3366 → use color: var(--slds-c-button-brand-color-background) or a semantic SLDS token.!important — compose with custom CSS properties.<lightning-*> base components wherever they exist: lightning-button, lightning-input, lightning-datatable, lightning-card, etc.Every LWC component must pass all of these before it is considered done:
<label> or aria-label — never use placeholder as the only labelalternative-text or aria-label describing the actionaria-* attributesaria-describedby| Direction | Mechanism |
|---|---|
| Parent → Child | @api property or calling a @api method |
| Child → Parent | CustomEvent — this.dispatchEvent(new CustomEvent('eventname', { detail: data })) |
| Sibling / unrelated components | Lightning Message Service (LMS) |
| Never use | document.querySelector, window.*, or Pub/Sub libraries |
For Flow screen components:
bubbles: true and composed: true.@api value for two-way binding with the Flow variable.connectedCallback: it runs on every DOM attach — avoid DML, heavy computation, or rendering state mutations here.renderedCallback: always use a boolean guard to prevent infinite render loops.renderedCallback causes a re-render — use it only when necessary and guarded.Every component that handles user interaction or retrieves Apex data must have a Jest test:
// Minimum test coverage expectations
it('renders the component with correct title', async () => { ... });
it('calls apex method and displays results', async () => { ... }); // Wire mock
it('dispatches event when button is clicked', async () => { ... });
it('shows error state when apex call fails', async () => { ... }); // Error pathUse @salesforce/sfdx-lwc-jest mocking utilities:
wire adapter mocking: setImmediate + emit({ data, error })jest.mock('@salesforce/apex/MyClass.myMethod', ...)force:appPage, using Aura-specific events in a legacy managed package).@AuraEnabled controller methods must declare with sharing and enforce CRUD/FLS — Aura does not enforce them automatically.{!v.something} with unescaped user data in <div> unbound helpers — use <ui:outputText value="{!v.text}" /> or <c:something> to escape.<!-- ❌ NEVER — renders raw user input as HTML -->
<apex:outputText value="{!userInput}" escape="false" />
<!-- ✅ ALWAYS — auto-escaping on -->
<apex:outputText value="{!userInput}" />
<!-- Default escape="true" — platform HTML-encodes the output -->Rule: escape="false" is never acceptable for user-controlled data. If rich text must be rendered, sanitise server-side with a whitelist before output.
Use <apex:form> for all postback actions — the platform injects a CSRF token automatically into the form. Do not use raw <form method="POST"> HTML elements, which bypass CSRF protection.
// ❌ NEVER
String soql = 'SELECT Id FROM Account WHERE Name = \'' + ApexPages.currentPage().getParameters().get('name') + '\'';
List<Account> results = Database.query(soql);
// ✅ ALWAYS — bind variable
String nameParam = ApexPages.currentPage().getParameters().get('name');
List<Account> results = [SELECT Id FROM Account WHERE Name = :nameParam];transientreadonly="true" is set on <apex:page> for read-only pages to skip view-state serialisation// Before reading a field
if (!Schema.sObjectType.Account.fields.Revenue__c.isAccessible()) {
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR, 'You do not have access to this field.'));
return null;
}
// Before performing DML
if (!Schema.sObjectType.Account.isDeletable()) {
throw new System.NoAccessException();
}Standard controllers enforce FLS for bound fields automatically. Custom controllers do not — FLS must be enforced manually.
| Anti-pattern | Technology | Risk | Fix |
|---|---|---|---|
innerHTML with user data | LWC | XSS | Use template bindings {expression} |
| Hardcoded hex colours | LWC/Aura | Dark-mode / SLDS 2 break | Use SLDS CSS custom properties |
Missing aria-label on icon buttons | LWC/Aura/VF | Accessibility failure | Add alternative-text or aria-label |
No guard in renderedCallback | LWC | Infinite rerender loop | Add hasRendered boolean guard |
| Application event for parent-child | Aura | Unnecessary broadcast scope | Use component event instead |
escape="false" on user data | Visualforce | XSS | Remove — use default escaping |
Raw <form> postback | Visualforce | CSRF vulnerability | Use <apex:form> |
No with sharing on custom controller | VF / Apex | Data exposure | Add with sharing declaration |
| FLS not checked in custom controller | VF / Apex | Privilege escalation | Add Schema.sObjectType checks |
| SOQL concatenated with URL param | VF / Apex | SOQL injection | Use bind variables |
© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/salesforce-component-standards of github/awesome-copilot.
Open the folder on GitHubat commit 727ff2e
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in github/awesome-copilot, which our catalogue first saw on October 7, 2026.
Salesforce Component Standards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Salesforce Component Standards this skillgithub/awesome-copilot | 40k | 1 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Experience Lds Best Practices Applyforcedotcom/sf-skills | 1.1k | — | ~3.4k | Automated safety check: Pass | Apache-2.0 | |
| Web Coderboshi-xixixi/TraeSkill | 274 | 1 repos | ~5.2k | Automated safety check: Pass | MIT | |
| Experience Lwc Security Validateforcedotcom/sf-skills | 1.1k | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Experience Aura Lwc Migrateforcedotcom/sf-skills | 1.1k | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| Ibm A11y Testing Guidelangflow-ai/langflow | 156k | — | ~4.6k | Automated safety check: Pass | MIT |
forcedotcom/sf-skills
A skill your agent uses when reviewing or implementing Lightning Data Service best practices in an LWC (.js, .html, .js-meta.xml) — UIAPI vs Apex, refreshApex / notifyRecordUpdateAvailable…
boshi-xixixi/TraeSkill
Expert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards.
forcedotcom/sf-skills
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…
forcedotcom/sf-skills
A skill your agent uses to analyze a Salesforce Aura component bundle (.cmp, .app, .evt, .intf, Controller.js, Helper.js, Renderer.js) and produce a framework-agnostic migration blueprint (PRD.yaml…
langflow-ai/langflow
Reference guide for writing and running Langflow frontend accessibility tests with axe (Jest) and IBM Equal Access (Playwright page.runA11yScan).
dequelabs/cauldron
Add a Figma Code Connect (.figma.tsx) file for a Cauldron React component.
github/awesome-copilot
Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.
github/awesome-copilot
Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.
github/awesome-copilot
Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.
github/awesome-copilot
Cleans raw credit data and screens variables before loan modeling, dropping unstable, noisy or redundant features and writing an Excel report of every step.
github/awesome-copilot
Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.
github/awesome-copilot
End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI.
Works with
Categories
Quality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages. Salesforce Component Standards is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Quality standards for Salesforce Lightning Web Components (LWC), Aura components, and Visualforce pages.
Salesforce Component Standards fits situations like: reviewing any Salesforce UI component to enforce platform-specific security and quality standards; tasks that involve CRM management; tasks that involve Web application vulnerabilities.
Run `npx skills add github/awesome-copilot --skill salesforce-component-standards -a claude-code`. Or copy the skill folder (skills/salesforce-component-standards in github/awesome-copilot) into .claude/skills/salesforce-component-standards in your project. Claude Code loads it when a task matches its description.
Run `npx skills add github/awesome-copilot --skill salesforce-component-standards -a codex`. Or copy the skill folder (skills/salesforce-component-standards in github/awesome-copilot) into .agents/skills/salesforce-component-standards in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/awesome-copilot --skill salesforce-component-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/salesforce-component-standards, .gemini/skills/salesforce-component-standards, .github/skills/salesforce-component-standards and .opencode/skills/salesforce-component-standards in your project.
SKILL.md names no scripts, command-line tools or credentials: Salesforce Component Standards is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Salesforce Component Standards is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Salesforce Component Standards: Experience Lds Best Practices Apply (forcedotcom/sf-skills, 1.1k stars), Web Coder (boshi-xixixi/TraeSkill, 274 stars), Experience Lwc Security Validate (forcedotcom/sf-skills, 1.1k stars) and Experience Aura Lwc Migrate (forcedotcom/sf-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
github (a GitHub organization, an official publisher) maintains it in github/awesome-copilot, which has 39,748 GitHub stars. The repository holds 417 skills in this directory. The repository was last updated on October 7, 2026.
Source: github/awesome-copilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.