# salesforce-development

A skill that hands your agent working patterns for Salesforce development: LWC, Apex, REST and Bulk APIs, Salesforce DX. Useful when the agent writes Salesforce code.

- skill · `type=skill` · Claude Code · 90 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/salesforce-development
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/salesforce-development

## What it does

The skill covers the patterns an agent keeps getting wrong on Salesforce: Lightning Web Components with the `@wire` decorator for reactive data binding, Apex triggers with logic moved into a handler class, and Queueable Apex for async work. It also lists anti-patterns — SOQL and DML inside loops, hardcoded IDs.

Apex triggers have to survive bulk loads of 200+ records per transaction, so the handler pattern is not a style preference. It is how you avoid recursion and governor limits when data arrives in batches. For Queueable Apex the skill names the limits: 50 jobs per transaction and one child job when chaining. Worth checking against your own queues if async logic is already spread across jobs.

Install is a single `npx` command, and the file lands at `~/.claude/skills/salesforce-development/SKILL.md`. The skill itself needs no API keys or environment setup.

## Requirements
- Works with: Salesforce

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/salesforce-development
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill salesforce-development -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/salesforce-development/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/salesforce-development/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/salesforce-development/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/salesforce-development/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates salesforce-development
```

2. **Manually: put the files in place**
- File: `.github/skills/salesforce-development/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/salesforce-development
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/salesforce-development/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/salesforce-development

## When to use it
- write an LWC that binds data with `@wire`
- build an Apex trigger that survives bulk loads
- move trigger logic into a handler class and stop recursion
- push heavy processing into Queueable Apex
- find SOQL and DML inside loops in existing code

## Example prompts
- write an LWC component that pulls records through `@wire`
- rewrite this trigger with the handler pattern so it handles 200+ records
- check this class for SOQL and DML inside loops

## Similar
- [Salesforce Visualforce Development](https://affpapa.org/en/nevibecode/agents/salesforce-visualforce-development.md) — subagent · ★ 40418
- [experience-lds-data-requirements-generate](https://affpapa.org/en/nevibecode/skills/experience-lds-data-requirements-generate.md) — skill · 2600 installs
- [dx-code-analyzer-run](https://affpapa.org/en/nevibecode/skills/dx-code-analyzer-run.md) — skill · 6400 installs
- [apex](https://affpapa.org/en/nevibecode/rules/apex.md) — rule · ★ 40418
- [odoo-development](https://affpapa.org/en/nevibecode/skills/odoo-development.md) — skill · 2300 installs
- [tauri-development](https://affpapa.org/en/nevibecode/skills/tauri-development.md) — skill · 1300 installs

## Other versions with the same name
- [salesforce-development · mindrally](https://affpapa.org/en/nevibecode/skills/mindrally-salesforce-development.md) — 659 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 224 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
