generating-custom-object

Generate Salesforce CustomObject metadata XML with syntactic constraints.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the challenge of creating, generating, and validating Salesforce Custom Object metadata XML, ensuring accurate deployment and efficient management of object configurations.

Core Features & Use Cases

  • Create Custom Objects: Automate the creation of custom objects with predefined field sets and configurations.
  • Generate Metadata XML: Produce .object-meta.xml files for Salesforce Custom Objects with proper syntactic constraints.
  • Configure Object Features: Set up object sharing, security settings, and enable specific features like search, reports, and history tracking.
  • Troubleshoot Metadata Errors: Identify and resolve common deployment errors related to sharing models and Master-Detail relationships.

Quick Start

Use the generating-custom-object skill to generate metadata XML for a new custom object 'Vehicle__c' with the default configuration.

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 Custom Object metadata XML for deployment?

To generate Salesforce Custom Object metadata XML, use a skill that automates creating `.object-meta.xml` files. It configures predefined field sets, security settings, and object features while strictly adhering to Salesforce syntactic constraints.

What is the best way to troubleshoot Salesforce metadata deployment errors for custom objects?

Troubleshooting Salesforce custom object metadata errors involves validating your XML structure and resolving configuration conflicts. This skill identifies and helps resolve common deployment failures related to sharing models and Master-Detail relationships.

Do I need to know XML structure to configure Salesforce custom objects?

Yes, configuring Salesforce custom objects requires knowledge of XML structure and Salesforce metadata requirements. This background is necessary to effectively set up object sharing, enable features like reports, and manage security settings.

Can I automate creating Salesforce custom objects with predefined field sets?

You can automate creating Salesforce custom objects with predefined field sets by generating compliant metadata XML. This process produces the required `.object-meta.xml` configuration files for rapid deployment and management.

Why does my Salesforce custom object metadata deployment fail due to sharing model errors?

Salesforce custom object metadata deployments often fail due to incorrect sharing model configurations or invalid Master-Detail relationships. Validating your generated `.object-meta.xml` syntax ensures these settings are properly structured for deployment.