首页/ AI 技能 / @skilllib/skill-2117939930272415240
Skill站外收录 @skilllib/skill-2117939930272415240

salesforce-development

提供 Salesforce 平台的高效开发能力,涵盖 Lightning Web Components 的响应式数据绑定、Apex 触发器的批量处理与异步任务编排,支持通过 REST 与 Bulk API 集成外部系统,并利用 Salesforce DX 实现基于 scratch org 的现代化开发与部署流程。

0.0 (0) 27 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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 |

评论 0

还没有评论,来抢沙发。