
platform-policy-rule-generate
Authoring PolicyRuleDefinition and PolicyRuleDefinitionSet metadata XML
by forcedotcomFree
Description
Platform Policy Rule Generate is an agent skill for authoring Data Cloud and Data Governance access policies as Salesforce metadata. It writes the PolicyRuleDefinitionSet and PolicyRuleDefinition XML pairs for a policy that covers create, read, update or delete access. The skill is the single entry point for creating a Data Cloud policy. That covers object-level security, field-level security, row-level security, transform and masking rules, and tag- or classification-based object access, when the target is a Data Cloud object. The skill is explicit about its scope. It covers Data Cloud and Data Governance access policies only. It does not yet cover core administrative policies, CMDB policies or other non-Data-Cloud policy types, and it does not handle Security Center security policies, DSAR policies or User Access Policies. It also draws a line with the Data Governance tags and classifications surface, which owns tags and classifications rather than policy authoring. If a policy request does not name Data Cloud, the agent is told to ask which object it targets before routing the request here. The skill notes that the DATACLOUD consumer needs the Data Governance Policy Builder contract, while the ALL consumer uses the general metadata contract. It is for Salesforce admins and developers who need a Data Cloud access policy deployed as metadata.…
Highlights
- Creates PolicyRuleDefinitionSet and PolicyRuleDefinition metadata
- Object, field, row-level and masking policy shapes
- Clear routing to the right Data Governance surface
- Covers the DATACLOUD and ALL consumer contracts
Ratings & Reviews
No ratings yet
Be the first to rate platform-policy-rule-generate.
People also visit

platform-dataspace-access-configure
Configure or inspect Salesforce Data Cloud DataSpace access for permission sets
platform-policy-rule-generate FAQ
What does the skill create?
A PolicyRuleDefinitionSet and PolicyRuleDefinition pair, which together form a Data Cloud or Data Governance access policy.
What is out of scope?
Core administrative policies, CMDB policies, Security Center security policies, DSAR policies and User Access Policies, according to the skill.
How do I install it?
Run npx skills add https://github.com/forcedotcom/sf-skills --skill platform-policy-rule-generate in your project.
Is it free and open source?
Yes. It is published in the public forcedotcom/sf-skills repository on GitHub.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.
What are the best platform-policy-rule-generate alternatives?
Popular alternatives to platform-policy-rule-generate include platform-dataspace-access-configure, revenue-data-governance-strategy and preparing-datacloud. See all platform-policy-rule-generate alternatives


