What problem does it solve? Salesforce CustomField metadata deployments frequently fail due to subtle XML constraint violations, especially with Roll-Up Summary fields, Master-Detail relationships, and formula fields. This Skill encodes the mandatory Metadata API rules so generated field XML deploys successfully on the first attempt. ## Core Features & Use Cases - Field Metadata Generation: Produces valid CustomField XML for all field types including Text, Number, Picklist, Lookup, Master-Detail, Formula, and Roll-Up Summary. - Constraint Validation: Enforces critical rules such as forbidden attributes on Master-Detail fields, fully qualified summaryForeignKey formats, and CDATA-wrapped formulas. - Deployment Error Troubleshooting: Maps common Metadata API error messages to their root causes and fixes. - Use Case: When asked to create a Roll-Up Summary field summing line item amounts on an Order, the Skill outputs XML with the correct Summary type, fully qualified field references, and no forbidden precision or scale attributes. ## Quick Start Ask the AI to create a Salesforce custom field, for example: generate a Roll-Up Summary field on Order that sums the Amount field from Order Line Items.