platform-custom-field-generate

Generate and validate Salesforce custom field XML metadata for DX projects.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill platform-custom-field-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-custom-field-generate
Source: https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG/tree/main/.agents/skills/platform-custom-field-generate
Command: npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill platform-custom-field-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork and deployment risk from Salesforce custom field creation by turning field requirements into valid metadata.

Core Features & Use Cases

  • Field Generation: Create correct XML metadata for text, number, picklist, lookup, master-detail, formula, roll-up summary, and geolocation fields.
  • Validation Guardrails: Catch common deployment blockers such as forbidden Master-Detail attributes, malformed roll-up summary references, and invalid numeric settings.
  • Use Case: A Salesforce admin needs a new lookup field with a valid relationship name, help text, and deployment-safe constraints; this Skill produces the field metadata and checks it before release.

Quick Start

Ask the skill to generate Salesforce custom field metadata for your object and verify every required attribute before deployment.

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 Salesforce custom field metadata without deployment errors?

To generate Salesforce custom field metadata without deployment errors, define the field type, enforce mandatory descriptions, apply precision and scale limits, and wrap formulas in CDATA tags before validating the XML structure for your object.

What causes deployment failures when creating Salesforce master-detail and roll-up summary fields?

Salesforce master-detail and roll-up summary field deployments fail due to forbidden Master-Detail attributes, malformed roll-up summary references, and invalid numeric settings. Validating relationship constraints and correct summary formats prevents these blockers.

How do I add inline help text and descriptions when creating Salesforce picklist and lookup fields?

Adding inline help text and descriptions when creating Salesforce picklist and lookup fields requires defining mandatory description attributes, valid relationship names, and help text within the custom field metadata XML before deployment.

Does Salesforce DX support CDATA-wrapped formulas for geolocation and formula fields?

Salesforce DX supports CDATA-wrapped formulas for geolocation and formula fields by enforcing correct metadata formats. Generating valid XML with proper CDATA wrapping prevents deployment errors in object metadata workflows.

What are the precision and scale limits for number fields in Salesforce custom field metadata?

Precision and scale limits for number fields in Salesforce custom field metadata restrict numeric values to valid ranges. Enforcing these constraints during field generation prevents invalid numeric settings from blocking deployments.

When do I need to validate relationship constraints for Salesforce lookup fields?

You need to validate relationship constraints for Salesforce lookup fields when generating custom field metadata to ensure valid relationship names and deployment-safe constraints are applied before releasing the object metadata.