mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-07 00:02:34 +08:00
Create use-skills.md
This commit is contained in:
parent
5c740725b0
commit
28cf871f50
16
rules/vibe-coding/use-skills.md
Normal file
16
rules/vibe-coding/use-skills.md
Normal 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.
|
||||
Loading…
Reference in New Issue
Block a user