
Generating Custom Object
This handles Salesforce Custom Object metadata generation with a focus on getting the sharing model right. It'll stop you from the classic mistake of setting ReadWrite on an object with a Master-Detail relationship, which breaks deployments. The spec walks through name field decisions (Text vs AutoNumber), validation rule naming conventions (no __c suffix, unlike fields), and feature enablement logic based on whether you're building user-facing objects or system junctions. Worth using if you're tired of deployment errors around ControlledByParent or hitting the two Master-Detail relationship cap.
- skills.sh installs
- 1.6K
- GitHub stars
- 705
- last updated
- Jul 14, 2026
Install
$ npx -y skills add forcedotcom/afv-library --skill generating-custom-object --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles Salesforce Custom Object metadata generation with a focus on getting the sharing model right. It'll stop you from the classic mistake of setting ReadWrite on an object with a Master-Detail relationship, which breaks deployments. The spec walks through name field decisions (Text vs AutoNumber), validation rule naming conventions (no __c suffix, unlike fields), and feature enablement logic based on whether you're building user-facing objects or system junctions. Worth using if you're tired of deployment errors around ControlledByParent or hitting the two Master-Detail relationship cap.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/afv-library
- First seen
- May 16, 2026
More from forcedotcom/afv-library
All 58- Generating Flow1.6K
- Generating Permission Set1.6K
- Building Ui Bundle App1.5K
- Building Ui Bundle Frontend1.5K
- Deploying Ui Bundle1.5K
- Developing Agentforce1.5K
- Generating Custom Application1.5K
- Generating Custom Lightning Type1.5K
- Generating Custom Tab1.5K
- Generating Flexipage1.5K
- Generating Lightning App1.5K
- Generating List View1.5K
- Generating Ui Bundle Features1.5K
- Generating Ui Bundle Metadata1.5K
- Generating Ui Bundle Site1.5K
- Generating Validation Rule1.5K
- Implementing Ui Bundle Agentforce Conversation Client1.5K
- Implementing Ui Bundle File Upload1.5K
- Observing Agentforce1.5K
- Searching Media1.5K
- Switching Org1.5K
- Testing Agentforce1.5K
- Uplifting Components To Slds21.5K
- Using Ui Bundle Salesforce Data1.5K