agentforce-architectur…
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill when users need to create, modify, or validate Salesforce Validation Rules. Trigger when users mention validation rules, field validation, data quality rules, formula validation, error messages, or validation logic. Also use when users encounter validation errors,
Claude Code
$ npx -y skills add forcedotcom/sf-skills --skill platform-validation-rule-generate --agent claude-code
Codex
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a codex -y
Cursor
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a cursor -y
Gemini CLI
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a gemini-cli -y
GitHub Copilot
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a github-copilot -y
OpenCode
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a opencode -y
Windsurf
$ npx skills add forcedotcom/sf-skills --skill platform-validation-rule-generate -a windsurf -y
name: platform-validation-rule-generate description: "Use this skill when users need to create, modify, or validate Salesforce Validation Rules. Trigger when users mention validation rules, field validation, data quality rules, formula validation, error messages, or validation logic. Also use when users encounter validation errors, need to update formulas, or want to enforce business rules at the data layer. Always use this skill for any validation rule work." metadata: version: "1.0" domains: ["Platform"] minApiVersion: "60.0"
Use this skill when you need to:
Validation Rules are declarative metadata components used to enforce data quality and business logic in Salesforce. They evaluate a formula expression when a record is saved and prevent the save operation if the expression returns TRUE.
-Enforce business rules at the data layer -Prevent invalid or incomplete records from being saved -Display meaningful error messages to guide users
-Indicates whether the validation rule is enabled true → Rule is enforced false → Rule is inactive
1. Formula XML Handling(MOST COMMON ERROR)
2. Interpretation of "Update" Instructions. When receiving instructions to modify a formula, distinguish between a replacement and an addition:
3. File Format Requirement
This repository provides Salesforce agent skills, plugins, and sample apps for building applications.
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA…
Use this skill to Upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec…
Data Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific…
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates,…
Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM)…
Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.