Salesforce Development
Expert patterns for Salesforce platform development including Lightning Web Components (LWC), Ape…
by davila7 · MIT
The skill
Expert patterns for Salesforce platform development including Lightning Web Components (LWC), Apex triggers and classes, REST/Bulk APIs, Connected Apps, and Salesforce DX with scratch orgs and 2nd generation packages (2GP). Use when: salesforce, sfdc, apex, lwc, lightning web components.
Salesforce Development
Patterns
Lightning Web Component with Wire Service
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 |
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: davila7/salesforce-development-55558152742.
Details
- Publisher
- davila7
- Category
- Software Development › Languages & frameworks
- License
- MIT
- Updated
- 2026-10-19
References
More from davila7
- Owasp Security Comprehensive OWASP-aligned security guidance across six standards - Top 10 (2021) for web apps,…
- Agent Management Create, manage, and orchestrate AI agents using the AI Maestro CLI.
- Agent Messaging Send and receive cryptographically signed messages between AI agents using the Agent Messaging Pr…
- Docs Search Search auto-generated codebase documentation for function signatures, API docs, class definitions…