salesforce-developer

Guide Salesforce Apex, LWC, SOQL/SOSL, and async processing with governor-limit-safe patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jsdfhasuh/emosonic --skill salesforce-developer-jsdfhasuh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: salesforce-developer
Source: https://github.com/jsdfhasuh/emosonic/tree/main/.agents/skills/salesforce-developer
Command: npx skills add https://github.com/jsdfhasuh/emosonic --skill salesforce-developer-jsdfhasuh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps Salesforce developers design and implement reliable CRM automations by providing best-practice guidance for Apex, LWC, SOQL/SOSL, async processing, and governor limit-safe patterns.

Core Features & Use Cases

  • Apex and trigger architecture guidance: Use service layers, domain patterns, and trigger handler frameworks to keep logic maintainable and bulk-safe.
  • Query optimization and governor limit compliance: Apply selective SOQL/SOSL patterns, avoid anti-patterns like SOQL/DML in loops, and plan for bulk operations.
  • Enterprise integration and async workflows: Implement platform events, REST integrations, and async Apex (future/queueable/batch/scheduled) with robust error handling and testing.
  • LWC development support: Build Lightning Web Components using wire/adapters, metadata configuration concepts, and best practices for component logic.

Quick Start

Ask the skill: "Review my Apex trigger and handler code for bulkification, governor limits, and test coverage gaps, then propose a refactor plan following your trigger-framework and service-layer rules."

Frequently Asked Questions about salesforce-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I avoid governor limits in Salesforce Apex triggers?▼

To avoid governor limits in Apex triggers, apply bulkification patterns, use selective SOQL queries, avoid SOQL or DML inside loops, and implement a trigger handler framework with a service layer to process records safely in bulk.

What is the best way to structure scalable Salesforce Apex trigger logic?▼

Scalable Apex trigger logic is structured using service layers and domain patterns within a trigger handler framework, ensuring code is maintainable, bulk-safe, and separates trigger execution from business operations.

How do I choose between batch, queueable, and future methods for async Apex?▼

Choosing between async Apex patterns depends on scale and chaining needs: use future for simple callouts, queueable for complex chaining and state, and batch for processing large data volumes within governor limits.

Can I use Lightning Web Components wire adapters for SOQL queries?▼

Yes, Lightning Web Components use wire adapters to wire Apex methods directly to component properties, fetching SOQL data reactively while maintaining secure and efficient component logic.

Why do I need platform events in Salesforce REST integrations?▼

Platform events enable secure, asynchronous REST integrations in Salesforce by decoupling communication through event-driven publish-subscribe architecture with robust error handling.