What problem does it solve? Creating Salesforce metadata by hand is error-prone: wrong field types, missing field-level security, inconsistent naming, and invalid XML structure cause failed deployments and invisible fields. This Skill generates production-quality metadata XML and queries org schema via the sf CLI, with a 120-point scoring rubric to validate structure, naming, security, and best practices. ## Core Features & Use Cases - Metadata Generation: Create custom objects, fields, validation rules, record types, page layouts, profiles, and permission sets from templates with correct XML structure and naming conventions. - Org Querying: Describe objects and list metadata types in a target org using sf CLI commands like sf sobject describe and sf org list metadata. - Automatic FLS Follow-Up: Generates or updates Permission Sets with fieldPermissions for new custom objects and fields by default, since object CRUD alone does not make fields visible. - Use Case: Ask for a custom Invoice__c object with amount and due date fields, and receive complete object, field, and validation rule XML plus a Permission Set granting access, ready for deployment via sf-deploy. ## Quick Start Ask the agent to create a custom object Invoice__c with amount and due date fields, including a permission set for the new fields.