Effect Best Practices
Ensures Salesforce configurations align with best practices, maximizing efficiency and minimizing future maintenance headaches.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add forcedotcom-effect-best-practices npx -- -y @trustedskills/forcedotcom-effect-best-practices
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"forcedotcom-effect-best-practices": {
"command": "npx",
"args": [
"-y",
"@trustedskills/forcedotcom-effect-best-practices"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides best practices for using Salesforce DX effects. It helps ensure that your Salesforce DX projects are maintainable and reliable by guiding you through the proper implementation of effects, which are used to manage asynchronous operations within a Salesforce project. The skill focuses on creating robust and predictable workflows when interacting with Salesforce data.
When to use it
- When developing complex Salesforce DX projects involving asynchronous processing.
- To ensure consistent and maintainable code for managing Salesforce data updates.
- During code reviews to identify potential issues related to effect usage.
- When refactoring existing Salesforce DX projects to improve reliability.
Key capabilities
- Provides guidance on implementing effects correctly.
- Offers best practices for managing asynchronous operations in Salesforce DX.
- Helps ensure maintainability of Salesforce DX projects.
Example prompts
- "How should I structure an effect in my Salesforce DX project?"
- "What are common pitfalls to avoid when using effects?"
- "Can you give me an example of a well-written effect for updating a record asynchronously?"
Tips & gotchas
This skill assumes familiarity with Salesforce DX and the concept of effects. Incorrectly implemented effects can lead to unpredictable behavior, so carefully review any suggestions provided by this skill against official Salesforce documentation.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.