Salesforce Code Pitfall Detector
Identifies and remediates common Salesforce anti-patterns, governor limit violations, and security vulnerabilities during code reviews.
This skill empowers Claude to act as a senior Salesforce architect by scanning codebases for the most common and costly integration mistakes. It helps developers avoid SOQL N+1 patterns, prevent governor limit exhaustion, secure code against SOQL injection, and implement robust error handling for record locking issues like UNABLE_TO_LOCK_ROW. By providing both the detected anti-pattern and the production-ready corrected implementation, it streamlines Salesforce development, improves system performance, and ensures enterprise-grade reliability in CRM integrations.
주요 기능
012,028 GitHub stars
02Detects SOQL N+1 query patterns that cause performance degradation
03Identifies API limit risks and suggests sObject Collections or Bulk API 2.0
04Highlights hardcoded Record IDs and recommends dynamic metadata lookups
05Flags SOQL injection vulnerabilities and provides secure escaping logic
06Provides retry patterns for handling Salesforce record locking errors
사용 사례
01Onboarding developers to Salesforce-specific best practices and governor limits
02Automating code reviews for Salesforce Apex or Node.js integrations
03Auditing legacy Salesforce integrations to improve API efficiency and reliability