salesforce-validation-rule

Official

Enforce Salesforce data quality via validation

Authorforcedotcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Validation Rules enforce data quality and business logic in Salesforce by preventing invalid records from being saved and guiding users with clear error messages.

Core Features & Use Cases

  • Core Rule Properties: fullName, active, errorConditionFormula, errorMessage, plus guidelines for creating robust rules.
  • Formula Guidance: best practices and common function usage to craft reliable validation logic.
  • Use Case: ensure data integrity during object creation, updates, and deployment, with clear user feedback on validation failures.

Quick Start

Provide the target Salesforce object, the validation rule condition, and the error message to generate a new validation rule.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: salesforce-validation-rule
Download link: https://github.com/forcedotcom/afv-library/archive/main.zip#salesforce-validation-rule

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.