What problem does it solve?
Manually creating and managing Salesforce metadata (objects, fields, profiles, permission sets, validation rules) is repetitive, error-prone, and time-consuming. This Skill automates metadata generation and querying, ensuring best practices and Field-Level Security (FLS) compliance.
Core Features & Use Cases
- Metadata Generation: Create custom objects, fields, permission sets, validation rules, record types, and page layouts with built-in best practices.
- Org Querying: Describe objects, list fields, and query metadata directly from your Salesforce org using
sf CLI v2.
- FLS Auto-Generation: Automatically generate Permission Sets for new custom fields, preventing visibility issues and streamlining security configuration.
- Use Case: Generate a new custom object called 'Project' with auto-numbering, add several custom fields (e.g., 'Status', 'Budget'), and automatically create a Permission Set to grant access to these new fields.
Quick Start
Use the sf-metadata skill to create a custom object called 'Invoice' with an auto-number name field and a currency field 'Total Amount'.