
Generating Validation Rule
This handles the tedious parts of writing Salesforce validation rules so you don't have to memorize formula syntax quirks. It knows the common gotchas like wrapping XML tags in CDATA sections, not using TEXT() on text fields, and the fact that CASE() always needs an even number of parameters. When you say "update the formula to also check X" it appends logic instead of replacing everything, which is surprisingly helpful. Good for generating the boilerplate metadata files with proper error messages and formulas, troubleshooting deployment errors, and avoiding the trial and error of getting picklist checks and date conversions right. Saves you from constantly checking the formula reference docs.
- skills.sh installs
- 3.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill generating-validation-rule --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles the tedious parts of writing Salesforce validation rules so you don't have to memorize formula syntax quirks. It knows the common gotchas like wrapping XML tags in CDATA sections, not using TEXT() on text fields, and the fact that CASE() always needs an even number of parameters. When you say "update the formula to also check X" it appends logic instead of replacing everything, which is surprisingly helpful. Good for generating the boilerplate metadata files with proper error messages and formulas, troubleshooting deployment errors, and avoiding the trial and error of getting picklist checks and date conversions right. Saves you from constantly checking the formula reference docs.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Code Review & Quality, Debugging, Sales & Marketing
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Data360 Query3.8K
- Data360 Connect3.8K
- Data360 Activate3.8K
- Data360 Prepare3.8K
- Data360 Harmonize3.8K
- Data360 Orchestrate3.8K
- Data360 Segment3.8K
- Developing Agentforce3.8K
- Switching Org3.7K
- Generating Ui Bundle Metadata3.7K
- Building Ui Bundle App3.7K
- Building Ui Bundle Frontend3.7K
- Generating Ui Bundle Features3.7K
- Deploying Ui Bundle3.6K
- Generating Ui Bundle Site3.6K
- Testing Agentforce3.6K
- Observing Agentforce3.6K
- Uplifting Components To Slds23.6K
- Searching Media3.6K
- Using Ui Bundle Salesforce Data3.6K
- Implementing Ui Bundle File Upload3.5K
- Implementing Ui Bundle Agentforce Conversation Client3.5K
- Creating B2b Commerce Store3.3K
- Generating Lwc Components3.1K