AI-powered Salesforce skills for agentic coding tools. Enables Apex, Flow, LWC, SOQL, and Agentforce for Claude Code. 14 skills, 420+ validation points, LSP integration. Ideal for Salesforce developers and operations teams.
git clone https://github.com/Jaganpro/sf-skills.gitAI-powered Salesforce skills for agentic coding tools. Enables Apex, Flow, LWC, SOQL, and Agentforce for Claude Code. 14 skills, 420+ validation points, LSP integration. Ideal for Salesforce developers and operations teams.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Jaganpro/sf-skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need help with a Salesforce project for [COMPANY], which operates in the [INDUSTRY] sector. Specifically, I need to [describe the task, e.g., 'create a custom Apex trigger to update related records when an opportunity stage changes']. The data model includes [briefly describe relevant objects and fields]. Can you generate the code and explain how it works?
# Salesforce Apex Trigger for Opportunity Stage Update
```java
trigger OpportunityStageTrigger on Opportunity (after update) {
List<Opportunity> opportunitiesToUpdate = new List<Opportunity>();
for (Opportunity opp : Trigger.new) {
if (opp.StageName != Trigger.oldMap.get(opp.Id).StageName) {
// Update related records based on new stage
if (opp.StageName == 'Negotiation/Review') {
opp.Description = 'Negotiation started: ' + System.today();
opportunitiesToUpdate.add(opp);
}
// Add more stage-specific logic as needed
}
}
if (!opportunitiesToUpdate.isEmpty()) {
update opportunitiesToUpdate;
}
}
```
## Explanation
This Apex trigger monitors changes to the Opportunity Stage field. When an opportunity moves to the 'Negotiation/Review' stage:
- It updates the Description field to note the negotiation start date
- The trigger only fires when the stage actually changes (not on initial creation)
- It processes updates in bulk to optimize performance
## Next Steps
1. Test this trigger in a sandbox environment
2. Consider adding error handling for specific business rules
3. Review governor limits to ensure compliance with Salesforce's execution limitsEnterprise CRM with AI-powered sales and service
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan