salesforce-development
Provides best-practice patterns for Salesforce development, including Apex triggers, LWC wire services, and asynchronous processing.
Install
mkdir -p .claude/skills/salesforce-development && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1920" && unzip -o skill.zip -d .claude/skills/salesforce-development && rm skill.zipInstalls to .claude/skills/salesforce-development
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Expert patterns for Salesforce platform development including Lightning Web Components (LWC), Apex triggers and classes, REST/Bulk APIs, Connected Apps, and Salesforce DX with scratch orgs and 2nd generation packages (2GP). Use when: salesforce, sfdc, apex, lwc, lightning web components.Key capabilities
- →Implement Lightning Web Components with Wire Service
- →Develop bulkified Apex triggers with handler patterns
- →Utilize Queueable Apex for asynchronous processing
- →Identify and avoid SOQL inside loops
- →Identify and avoid DML inside loops
- →Identify and avoid hardcoding IDs
How it works
The skill provides expert patterns for Salesforce development, such as using the @wire decorator for LWC, implementing bulkified Apex triggers with handler patterns, and employing Queueable Apex for asynchronous processing.
Inputs & outputs
When to use salesforce-development
- →Implement a bulkified Apex trigger handler
- →Refactor code to remove SOQL loops
- →Create a reactive component using @wire
- →Configure Queueable Apex for async processing
About this skill
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 |
How it compares
This skill promotes specific architectural patterns and best practices for Salesforce development, contrasting with ad-hoc coding that may lead to performance issues or maintainability challenges.
Compared to similar skills
salesforce-development side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| salesforce-development (this skill) | 14 | 6mo | No flags | Advanced |
| woocommerce-backend-dev | 7 | 3mo | No flags | Intermediate |
| convex-best-practices | 3 | 6mo | Review | Intermediate |
| sync-data-relational | 1 | 8mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by davila7
View all by davila7 →You might also like
woocommerce-backend-dev
woocommerce
Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code. **MUST be invoked before writing any PHP unit tests.**
convex-best-practices
waynesutton
Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript usage, error handling, and the Zen of Convex design philosophy
sync-data-relational
naver
Analyze spring-data-relational version changes and identify required updates for the current project. Use when upgrading spring-data-relational versions or syncing with upstream changes.
curd
JaguarJack
Generates complete CRUD module from database table definition. Orchestrates 9 sub-skills. Use when user says "create CRUD", "generate module from table", or provides a table structure.
enferno-dev
level09
Development skill for Enferno Flask framework. Use when implementing features, fixing bugs, or writing code for Enferno-based applications. This includes creating models, API endpoints, Vue.js frontend components, database operations, or any development task within the Enferno ecosystem. Triggers: creating blueprints, adding models, building APIs, Vue/Vuetify components, Celery tasks, database migrations.
skill-rails-upgrade
sickn33
Analyze Rails apps and provide upgrade assessments