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.
Add this skill
npx mdskills install sickn33/salesforce-developmentCovers key patterns and anti-patterns but lacks actionable instructions and examples
1---2name: salesforce-development3description: "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."4source: vibeship-spawner-skills (Apache 2.0)5---67# Salesforce Development89## Patterns1011### Lightning Web Component with Wire Service1213Use @wire decorator for reactive data binding with Lightning Data Service14or Apex methods. @wire fits LWC's reactive architecture and enables15Salesforce performance optimizations.161718### Bulkified Apex Trigger with Handler Pattern1920Apex triggers must be bulkified to handle 200+ records per transaction.21Use handler pattern for separation of concerns, testability, and22recursion prevention.232425### Queueable Apex for Async Processing2627Use Queueable Apex for async processing with support for non-primitive28types, monitoring via AsyncApexJob, and job chaining. Limit: 50 jobs29per transaction, 1 child job when chaining.303132## Anti-Patterns3334### ❌ SOQL Inside Loops3536### ❌ DML Inside Loops3738### ❌ Hardcoding IDs3940## ⚠️ Sharp Edges4142| Issue | Severity | Solution |43|-------|----------|----------|44| Issue | critical | See docs |45| Issue | high | See docs |46| Issue | medium | See docs |47| Issue | high | See docs |48| Issue | critical | See docs |49| Issue | high | See docs |50| Issue | high | See docs |51| Issue | critical | See docs |52
Full transparency — inspect the skill content before installing.