platform-custom-setting-generate
Installation
SKILL.md
Salesforce Custom Setting Generator and Validator
When to Use This Skill
Use this skill when you need to:
- Create a Hierarchy or List custom setting
- Generate custom setting metadata XML
- Add or validate fields on an existing custom setting
- Populate custom setting values (these are data, not metadata — see Section 6)
- Troubleshoot custom setting deployment errors
A trigger bypass / kill switch is a Custom Setting — not Apex and not a
__mdt. When the user wants a switch admins can flip to turn behavior on or off — "disable my Account triggers during a data load", a feature toggle, a maintenance-mode flag — generate only a hierarchy custom setting with aCheckboxfield (e.g.Disable_Triggers__c/Bypass__c). Do not author the Apex trigger, handler, or test that reads it, and do not model it as a Custom Metadata Type: the per-profile/per-user override a bypass flag needs is exactly what a hierarchy custom setting gives you and a__mdtdoes not. The Apex that checks the flag is the developer's to write — this skill generates the setting only.