generating-custom-object

Generate and validate Salesforce CustomObject metadata XML for deployment.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-object
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-custom-object
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/generating-custom-object
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill generating-custom-object

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate the Salesforce CustomObject metadata XML in a structured way to prevent deployment errors and ensure metadata correctness.

Core Features & Use Cases

  • Automates creation and validation of CustomObject metadata XML (.object-meta.xml) for Salesforce deployments.
  • Enforces essential fields and constraints to meet Salesforce Metadata API requirements.
  • Supports scenarios like defining labels, plural labels, sharing models, deployment status, visibility, and name fields for new or updated objects.

Quick Start

Provide the object details (label, pluralLabel, nameField type, and sharing model) to generate a valid .object-meta.xml.

Frequently Asked Questions about generating-custom-object

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

FAQPage Schema
How do I generate Salesforce CustomObject metadata XML without deployment errors?

To generate valid Salesforce CustomObject metadata XML, provide object details like label, pluralLabel, nameField, and sharing model to automatically validate required fields and output a ready-to-deploy .object-meta.xml file.

What fields are required when creating a Salesforce custom object metadata file?

Required fields for creating Salesforce custom object metadata include label, pluralLabel, deploymentStatus, visibility, nameField, and a sharingModel to meet Metadata API constraints and prevent deployment failures.

How do I configure the sharing model and name field for a Salesforce custom object?

Configure the sharing model and name field for a Salesforce custom object by specifying your desired sharing rules and nameField type during generation, ensuring the output XML enforces these constraints correctly for deployment.

Why does my Salesforce CustomObject metadata XML fail validation during deployment?

Salesforce CustomObject metadata XML validation fails during deployment if essential fields like label, deploymentStatus, or nameField are missing, or if sharingModel rules and naming conventions do not meet Metadata API requirements.

Can I automate the creation of .object-meta.xml files for new Salesforce objects?

You can automate the creation of .object-meta.xml files for new Salesforce objects by providing design parameters like labels and visibility, which generates a structured XML file that enforces validation and naming conventions.