Platform Custom Field Generate
Salesforce custom field generator and validator for picklists, relationships, roll-up summaries, and formula fields.
- CCM score
- 79 of 100
- skills.sh installs
- 7.1K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Custom Field metadata XML for Roll-Up Summary, Master-Detail, Lookup, formula, and picklist types
- Enforces precision, scale, and TextArea length rules, plus required description and inline help text
- Handles dependent picklists, value-set references, and restricted picklist defaults, with a reference file for advanced cases
- Designed for developers generating or troubleshooting Salesforce field deployments; value set creation is handled by a separate skill
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-custom-field-generate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Salesforce Custom Field Generator and Validator
Overview
Generates and validates Salesforce CustomField metadata XML, with special handling for the highest-failure-rate types — Roll-Up Summary and Master-Detail. The agent must verify the constraints below before outputting XML to prevent Metadata API deployment errors.
1. Universal Mandatory Attributes
Every generated field must include these tags:
Details
- Repository
- github.com/forcedotcom/sf-skills
- Category
- Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the platform-custom-field-generate skill do?
It generates and validates Salesforce Custom Field metadata XML, with special handling for Roll-Up Summary and Master-Detail fields. It checks constraints such as precision, scale, and picklist rules before output to prevent Metadata API deployment errors.
How do I install the platform-custom-field-generate skill?
Run npx -y skills add forcedotcom/sf-skills --skill platform-custom-field-generate -y in a project. Once installed, the agent can create and troubleshoot custom field metadata for Salesforce.
Where does this skill stand in the Backend & APIs category on Claude Marketplaces?
It is listed in the Backend & APIs category alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. Its focus on Salesforce field metadata sets it apart from those general backend skills.
When should I use this skill instead of platform-value-set-generate?
Use this skill for the field that references a value set, including picklists and dependent picklists. Use platform-value-set-generate when you need to create or change the value set itself, such as a new GlobalValueSet.
More from forcedotcom/sf-skills
All 78- Platform Docs Get7K
- Platform Permission Set Generate7K
- Dx Code Analyzer Run6.9K
- Platform Custom Object Generate6.9K
- Automation Flow Generate6.8K
- Experience Lwc Generate6.7K
- Platform Validation Rule Generate6.5K
- Platform Flexipage Generate6.5K
- Dx Org Manage6.4K
- Platform Data Manage6.4K
- Platform Sharing Rules Generate6.4K
- Platform Metadata Api Context Get6.3K
- Design Systems Slds Apply6.3K
- Design Systems Slds Validate6.1K
- Platform Custom Tab Generate6.1K
- Agentforce Generate6.1K
- Dx Code Analyzer Configure6K
- Platform Custom Application Generate6K
- Platform List View Generate6K
- Agentforce Architecture Analyze5.9K
- Dx Org Switch5.9K
- Dx Org Permission Set Assign5.9K
- Platform Custom Lightning Type Generate5.9K
- Agentforce Test5.8K
Similar to Platform Custom Field Generate
More Backend & APIsplatform-value-set-generateforcedotcom/sf-skills5.3K installsCustomize Salesforce standard and global value sets, with guardrails for deploy-safe picklist metadata changes.
sf-datajaganpro/sf-skills1.5K installsSalesforce data operations skill for CRUD, bulk import/export, and Apex test data, with describe-first validation.
form-crocoreyhaines31/marketingskills52.6K installsOptimization guide for non-signup forms that cuts friction and keeps only the fields that matter.
sf-metadatajaganpro/sf-skills1.5K installsSalesforce metadata generation and org querying scored across six categories out of 120 points.