platform-custom-field-generate

Generate and validate Salesforce Custom Field metadata XML for Roll-up Summary and Master-Detail fields.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill platform-custom-field-generate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-custom-field-generate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/platform-custom-field-generate
Command: npx skills add https://github.com/padjei/SF_Agents --skill platform-custom-field-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexities of Salesforce Custom Field creation, metadata generation, and troubleshooting, ensuring accurate field setup and deployment.

Core Features & Use Cases

  • Custom Field Creation: Guided creation of custom fields with mandatory constraints to prevent deployment errors.
  • Field Metadata Generation: Automated generation of XML metadata for Salesforce Custom Fields, focusing on high-failure-rate field types.
  • Troubleshooting: Provides troubleshooting guidance for common deployment errors related to custom fields.
  • Use Case: When a Salesforce administrator needs to create a new custom field, this Skill generates the necessary metadata and provides best practices to avoid common deployment issues.

Quick Start

Use the platform-custom-field-generate skill to generate metadata for a new text field on the 'Account' object with the label 'Total Contracts' and a description 'Count of active contracts'.

Frequently Asked Questions about platform-custom-field-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate XML metadata for Salesforce custom fields?

To generate Salesforce custom field metadata, you define the field parameters and the tool outputs the formatted XML structure required for deployment. It guides creation with mandatory constraints to ensure valid XML generation.

What is the best way to create a Roll-up Summary field in Salesforce metadata XML?

Creating a Roll-up Summary field in Salesforce metadata XML requires specific data type constraints and formatting. This tool focuses on high-failure-rate fields like Roll-up Summary, automating the XML generation to prevent deployment errors.

Why does my Salesforce Master-Detail custom field deployment fail?

Master-Detail custom field deployments often fail due to XML formatting issues or missing mandatory constraints. The tool provides troubleshooting guidance for these common deployment errors and enforces best practices.

Do I need to understand the Salesforce metadata API to use this custom field generator?

Yes, understanding the Salesforce metadata API is required. The generator relies on metadata API best practices and data type constraints to ensure the custom field XML is properly formatted for successful deployment.

Can I validate Salesforce custom field XML before deployment?

Validating Salesforce custom field XML before deployment is a core feature. The tool checks XML formatting, enforces mandatory constraints, and highlights potential data type conflicts to resolve issues before attempting deployment.

What are common limitations when generating Salesforce Roll-up Summary XML?

Limitations when generating Salesforce Roll-up Summary XML include strict data type constraints and specific relationship requirements. The tool mitigates these by focusing on high-failure-rate field types and providing targeted troubleshooting for deployment errors.