SKILL6.0K installs1.1K

Platform Sharing Rules Generate

Use this skill when users need to create, edit, delete, or manage Salesforce Sharing Rules metadata. TRIGGER when: users mention sharing rules, record sharing, criteria-based sharing, role-based sharing, guest user sharing, sharingRules, sharingCriteriaRules, sharingGuestRules, sharingOwnerRules, .sharingRules-meta.xml files, or ask to share records with specific roles or groups. Also trigger when users want to modify or remove existing sharing rules, or update sharing rule criteria or access levels. DO NOT TRIGGER when user needs permission sets or profiles (use platform-permission-set-generate), or needs object-level security rather than record-level sharing (use platform-permission-set-generate).

Type
Skill
Author
forcedotcom
GitHub stars
1.1K
Installs
6.0K
Last updated
October 30, 2026

Install

npx skills add https://github.com/forcedotcom/sf-skills --skill platform-sharing-rules-generate

About this skill

Creates, edits, and deletes Salesforce Sharing Rules metadata, including criteria-based, role-based, guest user, and owner-based rules. Handles .sharingRules-meta.xml files and updates to rule criteria or access levels. It does not cover permission sets, profiles, or object-level security.

Summary written with AI assistance from the project's public description.


Categories


More from forcedotcom


Similar Skills