- Home
- Skills
- Jeffallan
- Claude Skills
- Salesforce Developer
salesforce-developer_skill
- HTML
110
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill jeffallan/claude-skills --skill salesforce-developer- SKILL.md4.4 KB
Overview
This skill provides expert guidance for developing enterprise-grade solutions on the Salesforce platform. It targets Apex development, Lightning Web Components, SOQL optimization, integrations, and CI/CD using Salesforce DX. Use it to design scalable, bulkified code and to stay within platform governor limits while meeting business requirements.
How this skill works
I analyze requirements, recommend a declarative vs programmatic approach, and produce concrete artifacts: Apex classes, trigger handlers, LWC files, optimized SOQL, and test classes. I enforce platform constraints—bulkification, governor limits, field-level security, and >=90% test coverage—and propose async patterns (Batch, Queueable) and integration designs. I also outline deployment steps using Salesforce DX and CI/CD best practices.
When to use it
- Building custom Apex classes, triggers, or async jobs for bulk data processing
- Developing Lightning Web Components with proper encapsulation and events
- Optimizing SOQL/SOSL queries and relationships to avoid limits and improve performance
- Designing integrations via REST/SOAP, platform events, or external services
- Setting up Salesforce DX, scratch org workflows, and CI/CD pipelines
Best practices
- Always bulkify Apex and avoid SOQL/DML inside loops
- Write comprehensive test classes covering positive, negative, and bulk scenarios (>=90% coverage)
- Use selective SOQL filters, indexed fields, and relationship queries to reduce cost
- Respect sharing, field-level security, and avoid hard-coded IDs/credentials
- Choose async processing for long-running or large-volume operations (Batch, Queueable, Platform Events)
- Use Salesforce DX and source-driven deployments with automated tests and code review
Example use cases
- Implement a trigger handler that bulk processes related records and enqueues a Queueable job for heavy work
- Create a Lightning Web Component that displays related lists using wire adapters and custom events
- Optimize a slow report query by replacing non-selective WHERE clauses with indexed filters and selective parent-to-child queries
- Design a platform event flow to decouple an external system from internal processing and guarantee retries
- Set up a CI pipeline that validates metadata deployments to scratch orgs and runs Apex tests before production deploys
FAQ
Bulkify logic, perform SOQL outside loops, batch DML into collections, and use async Apex for large workloads.
What level of test coverage is required for deployment?
Maintain at least 90% coverage for classes and triggers in enterprise contexts and ensure tests cover bulk and error scenarios.