Create use-skills.md

This commit is contained in:
thrylokya 2026-03-26 21:03:01 +05:30 committed by GitHub
parent 5c740725b0
commit 28cf871f50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,16 @@
# SKILLS REQUIREMENTS
## Mandatory Skill Usage
Before generating ANY Salesforce code or metadata, check available Skills and use the matching one. Never generate Salesforce code freehand when a relevant Skill exists.
## Skill Routing
- **Apex class requests** → Use Apex Class Writer skill. Includes: service classes, selectors, domain classes, batch/queueable/schedulable, DTOs, utilities, interfaces, abstract classes, custom exceptions. Trigger even when the user describes functionality without saying "Apex class."
- **Trigger requests** → Use Trigger Framework Scaffolder skill.
- **Validation rule requests** → Use Validation Rule Writer skill.
- **Permission/security questions** → Use Permission Set Auditor skill.
- **Package.xml/deployment requests** → Use Package.xml Generator skill.
- **Custom metadata questions** → Use Custom Metadata Advisor skill.
- **Field-level security requests** → Use FLS Matrix Generator skill.
## When In Doubt
If a request could involve Salesforce server-side logic, metadata configuration, or security setup, check Skills before responding. Prefer a Skill over general knowledge — Skills contain curated best practices specific to this org's standards.