Manage who can see your Salesforce records.
Creates and maintains Salesforce record-sharing metadata, with retrieval of existing rules and destructive deployment for rule deletion.
When to use it
Use for retrieving, creating, editing, or deleting Salesforce record-level sharing rules, not permission sets or object-level security.
Give it a sharing-rule request for an object in a Salesforce project; it retrieves or updates the object's metadata file and summarizes retrieved rules.
What you provide
Requires the sf CLI version 2.0.0 or newer.
Requires access to a target Salesforce org because every operation first retrieves its latest sharing-rule metadata.
Requires xmllint on PATH for the rule-counting script used during deletion.
This skill
Salesforce
Deletes Salesforce sharing rules (irreversible)