salesforce-developer

Writes and debugs Apex code, Lightning Web Components, and SOQL queries for Salesforce applications.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/ArMaTeC/Redball --skill salesforce-developer-armatec
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: salesforce-developer
Source: https://github.com/ArMaTeC/Redball/tree/main/.devin/skills/salesforce-developer
Command: npx skills add https://github.com/ArMaTeC/Redball --skill salesforce-developer-armatec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Salesforce development requires navigating strict governor limits, bulkification rules, and platform-specific patterns that generic coding assistants often get wrong, leading to runtime failures and failed deployments. ## Core Features & Use Cases - Apex Development: Implements bulkified triggers, service and domain layer patterns, batch/queueable/scheduled async jobs, and test classes with 90%+ coverage. - Lightning Web Components: Builds LWC components with wire service, custom events, Lightning Message Service, forms, and data tables. - Integration & DevOps: Covers REST callouts with Named Credentials, Platform Events, Change Data Capture, Salesforce DX projects, and CI/CD pipelines with GitHub Actions or GitLab. - Use Case: When writing a trigger that updates account ratings from opportunities, this Skill enforces the bulkified handler pattern so SOQL stays outside loops and the code passes governor limits in production. ## Quick Start Ask the assistant to write a bulkified Apex trigger with a handler class and a test class covering 200-record batch scenarios for your Salesforce object.

Frequently Asked Questions about salesforce-developer

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

FAQPage Schema
How do I write a bulkified Apex trigger in Salesforce?▼

Collect all record IDs into a Set before any loop, run a single SOQL query outside the loop, and delegate logic to a handler class rather than putting code in the trigger body. Never execute SOQL or DML inside a for loop, as this violates governor limits at scale.

When should I use Batch Apex vs Queueable Apex?▼

Use Batch Apex when processing more than 10,000 records, since it handles up to 50 million records via QueryLocator. Use Queueable for job chaining and complex async logic with smaller datasets, and Future methods only for simple callouts.

How do Lightning Web Components communicate with each other?▼

Parent-to-child uses @api public properties, child-to-parent uses CustomEvent dispatch, and sibling or cross-page communication uses Lightning Message Service with a message channel. LMS requires subscribing in connectedCallback and unsubscribing in disconnectedCallback.

What are Salesforce governor limits for SOQL queries?▼

Synchronous transactions allow 100 SOQL queries and 50,000 rows; asynchronous contexts allow 200 queries. Other key limits include 150 DML statements, 6 MB heap synchronously, and 10 seconds CPU time.

How do I deploy Salesforce metadata with CI/CD?▼

Use Salesforce DX with the sf CLI: authenticate via JWT or sfdx-url, create a scratch org, push source with sf project deploy start, run Apex tests, then validate and quick-deploy to production. GitHub Actions or GitLab pipelines can automate this flow.

Why does my Apex callout fail inside a trigger?▼

Salesforce blocks synchronous callouts from triggers and prevents mixing DML with callouts in the same transaction. Move the callout to a @future(callout=true) method or a Queueable class implementing Database.AllowsCallouts.