Use @wire decorator for reactive data binding with Lightning Data Service
or Apex methods. @wire fits LWC's reactive architecture and enables
Salesforce performance optimizations.
Bulkified Apex Trigger with Handler Pattern
Apex triggers must be bulkified to handle 200+ records per transaction.
Use handler pattern for separation of concerns, testability, and
recursion prevention.
Queueable Apex for Async Processing
Use Queueable Apex for async processing with support for non-primitive
types, monitoring via AsyncApexJob, and job chaining. Limit: 50 jobs
per transaction, 1 child job when chaining.
Anti-Patterns
❌ SOQL Inside Loops
❌ DML Inside Loops
❌ Hardcoding IDs
⚠️ Sharp Edges
Issue
Severity
Solution
Issue
critical
See docs
Issue
high
See docs
Issue
medium
See docs
Issue
high
See docs
Issue
critical
See docs
Issue
high
See docs
Issue
high
See docs
Issue
critical
See docs
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: davila7-claude-code-templates-salesforce-development3description: Salesforce Development4---56# Salesforce Development78## Patterns910### Lightning Web Component with Wire Service1112Use @wire decorator for reactive data binding with Lightning Data Service13or Apex methods. @wire fits LWC's reactive architecture and enables14Salesforce performance optimizations.151617### Bulkified Apex Trigger with Handler Pattern1819Apex triggers must be bulkified to handle 200+ records per transaction.20Use handler pattern for separation of concerns, testability, and21recursion prevention.222324### Queueable Apex for Async Processing2526Use Queueable Apex for async processing with support for non-primitive27types, monitoring via AsyncApexJob, and job chaining. Limit: 50 jobs28per transaction, 1 child job when chaining.293031## Anti-Patterns3233### ❌ SOQL Inside Loops3435### ❌ DML Inside Loops3637### ❌ Hardcoding IDs3839## ⚠️ Sharp Edges4041| Issue | Severity | Solution |42|-------|----------|----------|43| Issue | critical | See docs |44| Issue | high | See docs |45| Issue | medium | See docs |46| Issue | high | See docs |47| Issue | critical | See docs |48| Issue | high | See docs |49| Issue | high | See docs |50| Issue | critical | See docs |5152---53> Converted and distributed by [TomeVault](https://tomevault.io/claim/davila7) — claim your Tome and manage your conversions.54<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/davila7-claude-code-templates-salesforce-development in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Salesforce Development It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.