forcedotcom avatar

Generating Custom Object

This handles the tedious parts of Salesforce Custom Object metadata generation so you don't deploy something that immediately fails validation. It enforces the critical sharingModel constraint (ReadWrite by default, but ControlledByParent if you have a Master-Detail relationship), catches reserved word collisions, and gets the nameField configuration right whether you need Text or AutoNumber. The validation rule naming alone will save you a deployment error because they can't end with __c like fields do. It also makes smart decisions about when to enable search, reports, and activities based on whether your object is user-facing or just a junction table. Honestly most valuable for teams who keep hitting the same metadata API errors.

skills.sh installs
4K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill generating-custom-object --agent claude-code

Installs into .claude/skills of the current project.

Files

This handles the tedious parts of Salesforce Custom Object metadata generation so you don't deploy something that immediately fails validation. It enforces the critical sharingModel constraint (ReadWrite by default, but ControlledByParent if you have a Master-Detail relationship), catches reserved word collisions, and gets the nameField configuration right whether you need Text or AutoNumber. The validation rule naming alone will save you a deployment error because they can't end with __c like fields do. It also makes smart decisions about when to enable search, reports, and activities based on whether your object is user-facing or just a junction table. Honestly most valuable for teams who keep hitting the same metadata API errors.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Debugging, Sales & Marketing
First seen
Jun 3, 2026

More from forcedotcom/sf-skills

All 158

Recommended

More Debugging
1wordpress avatarblueprintwordpress/agent-skillsUse when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing 4Kskills.sh installs
2cursor avatartddcursor/pluginsUse only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test3.9Kskills.sh installs
3forcedotcom avatargenerating-list-viewforcedotcom/sf-skillsUse this skill when users need to create, generate, or validate Salesforce List View metadata. Trigger when users mention list views, filtered record lists, cre3.9Kskills.sh installs
4forcedotcom avatargenerating-validation-ruleforcedotcom/sf-skillsUse this skill when users need to create, modify, or validate Salesforce Validation Rules. Trigger when users mention validation rules, field validation, data q3.9Kskills.sh installs
5forcedotcom avatardeveloping-agentforceforcedotcom/sf-skillsBuild, modify, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, modifies, or asks about .agent files or aiAuthoringBundle meta3.8Kskills.sh installs
6dotnet avataruse-js-interopdotnet/skillsAdd, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules3.7Kskills.sh installs