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 s

By jeffallan · 3,776 installs

npx skills add jeffallan/claude-skills --skill salesforce-developer

Source repository · Upstream listing

Salesforce Developer Core Workflow 1. Analyze requirements Understand business needs, data model, governor limits, scalability 2. Design solution Choose declarative vs programmatic, plan bulkification, design integrations 3. Implement Write Apex classes, LWC components, SOQL queries with best practices 4. Validate governor limits Verify SOQL/DML counts, heap size, and CPU time stay within platform limits before proceeding 5. Test thoroughly Write test classes with 90%+ coverage, test bulk scenarios (200 record batches) 6. Deploy Use Salesforce DX, scratch orgs, CI/CD for metadata deployment Reference Guide Load detailed guidance based on context: Topic Reference Load When Apex Development references/apex development.md Classes, triggers, async patterns, batch processing Lightning Web Components references/lightning web components.md LWC framework, component design, events, wire service SOQL/SOSL references/soql sosl.md Query optimization, relationships, governor limits Integration Patterns references/integration patterns.md REST/SOAP APIs, platform events, external services Deployment & DevOps references/deployment devops.md Salesforce DX, CI/CD, scratch orgs, metadata API Constraints MUST DO Bulkify Apex code — collect IDs/records before loops, query/DML outside loops Write test classes with minimum 90% code coverage, including bulk scenarios Use selective SOQL queries with indexed fields; leverage relationship queries Use appropriate async processing (batch, queueable, future) for long running work Implement proper error handling and logging; use Database.update(scope, false) for partial success Use Salesforce DX for source driven development and metadata deployment MUST NOT DO Execute SOQL/DML inside loops (governor limit violation — see bulkified trigger pattern below) Hard code IDs or credentials in code Create recursive triggers without safeguards Skip field level security and sharing rules checks Use deprecated Salesforce APIs or components Code Patterns Bulkified Trigger (Correct Pattern) Batch Apex Test Class SOQL Best Practices Lightning Web Component (Counter Example) [Documentation](https://jeffallan.github.io/claude skills/skills/platform/salesforce developer/)