Salesforce Developer

Writes and debugs Apex code, builds Lightning Web Components, optimizes SOQL queries, implements triggers, batch jobs, platform events, and integrations on the Salesforce platform.

Development / Engineeringdevelopmentengineering
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptBuild a custom Apex trigger that auto-syncs account changes to an external webhook on update.
Beforegeneric AI agent
Salesforce development uses Apex, a proprietary Java-like language. When you want to react to data changes, triggers let you run code when records are created or updated. You'd need to write Apex code that captures the change, processes it, and sends data somewhere. Salesforce has limits on how much code you can run, so efficiency is important. You might need to handle bulk operations carefully since triggers fire for each record. Error handling is important so you don't create bad data. Testing in Salesforce is required before deploying to production.
Afterwith Salesforce Developer
SALESFORCE APEX WEBHOOK SYNC IMPLEMENTATION:

TRIGGER DEFINITION
   trigger AccountSyncWebhook on Account (after insert, after update) {
     List<Account> changedAccounts = new List<Account>();
     
     for (Account acc : Trigger.new) {
       Account oldAcc = Trigger.oldMap.get(acc.Id);
       if (oldAcc == null || hasRelevantChanges(acc, oldAcc)) {
         changedAccounts.add(acc);
       }
     }
     
     if (!changedAccounts.isEmpty()) {
       AccountWebhookDispatcher.enqueueSync(changedAccounts);
     }
   }

QUEUEABLE BATCH HANDLER (respects governor limits)
   public class AccountWebhookDispatcher implements Queueable, Database.AllowsCallouts {
     static void enqueueSync(List<Account> accounts) {
       System.enqueueJob(new AccountWebhookDispatcher(accounts));
     }
     
     public void execute(QueueableContext ctx) {
       for (Account acc : accounts) {
         Map<String, Object> payload = new Map<String, Object>{
           'id' => acc.Id,
           'name' => acc.Name,
           'industry' => acc.Industry,
           'webhook_timestamp' => DateTime.now().getTime()
         };
         
         HttpRequest req = new HttpRequest();
         req.setEndpoint('https://api.example.com/webhooks/account-sync');
         req.setMethod('POST');
         req.setBody(JSON.serialize(payload));
         
         Http http = new Http();
         HttpResponse res = http.send(req);
         if (res.getStatusCode() >= 400) {
           logWebhookFailure(acc.Id, res.getBody());
         }
       }
     }
   }

TEST CLASS (required for deployment)
   @isTest static void testAccountChangeTriggersWebhook() {
     Test.setMock(HttpCalloutMock.class, new WebhookMockResponse());
     Account testAcc = new Account(Name='Test Co', Industry='Tech');
     insert testAcc;
     // Assert webhook was called with correct payload
   }

GOVERNOR LIMITS STRATEGY
   - Batch changes in Queueable (async job avoids callout limits)
   - Max 1 webhook callout per account update
   - Retry logic with exponential backoff (future method)

About this skill


name: salesforce-developer description: Use when Writes and debugs Apex code, builds Lightning Web Components, optimizes SOQL queries, implements triggers, batch jobs, platform events, and integrations on the Salesforce platform.

Salesforce Developer

Writes and debugs Apex code, builds Lightning Web Components, optimizes SOQL queries, implements triggers, batch jobs, platform events, and integrations on the Salesforce platform. Use when developing Salesforce applications, customizing CRM workflows, managing governor limits, bulk processing, or setting up Salesforce DX and CI/CD pipelines.

What you get

  • Public GitHub repo
  • the skills/salesforce-developer folder with SKILL.md and references.

Customize your output

  • Fork the repo and extend the skill's reference files for your own stack conventions.

Example output

Activates on a matching request (e.g. building or reviewing Salesforce Developer code) and can chain with other skills in the pack.

Best for

Full-stack developers and engineering teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: salesforce-developer
description: Write and debug Apex code, build Lightning Web Components, optimize SOQL, and implement triggers, batch jobs, platform events, and CI/CD on Salesforce.
version: 1.0.0
category: Development / Engineering
author: AgentVolt
license: proprietary
tags:
  - development
  - engineering
---

# Salesforce Developer

Write and debug Apex code, build Lightning Web Components, optimize SOQL, and implement triggers, batch jobs, platform events, and CI/CD on Salesforce.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →