platform-apex-generate
A Salesforce skill for writing, refactoring and reviewing Apex classes and triggers.
Was der Skill vermittelt
A Salesforce skill for writing, refactoring and reviewing Apex classes and triggers. It covers service, selector and domain classes, batch, queueable and schedulable jobs, invocable methods, DTOs, utilities, interfaces, exceptions and REST resources, with a bundled template for each. The agent authors the code, validates it before reporting, and follows the skill's rules on bulkification and governor limits, SOQL efficiency, caching, security checks and error handling, including hard-stop constraints it must enforce. It also covers trigger design, @AuraEnabled controllers and custom REST APIs. It uses the sf CLI.
Funktionen
- Generate Apex classes from bundled templates
- Refactor or review existing Apex
- Design triggers and @AuraEnabled controllers
- Write custom REST resources in Apex
Überblick
- Herausgeber
- Salesforce
- Tool
- Salesforce
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add forcedotcom/sf-skills
Was enthalten ist
- assets/abstract.cls
- assets/batch.cls
- assets/domain.cls
- assets/dto.cls
- assets/exception.cls
- assets/interface.cls
- assets/invocable.cls
- assets/queueable.cls
- assets/rest-resource.cls
- assets/schedulable.cls
- assets/selector.cls
- assets/service.cls
- assets/trigger.cls
- assets/utility.cls
- references/AccountDeduplicationBatch.cls
- references/AccountSelector.cls
- references/AccountService.cls
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Salesforce | |
| Herausgeber | Salesforce | Quelle |
| Offizieller Status | OffiziellSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 6. Nov. 20261.156 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository |
Quellen
- Skill-Datei (SKILL.md)github.com/forcedotcom/sf-skills10. Nov. 2026
- README (README.md)github.com/forcedotcom/sf-skills13. Nov. 2026
- Lizenzdatei (LICENSE.txt)github.com/forcedotcom/sf-skills · Belegt: Lizenz, Herausgeber13. Nov. 2026
- Webseitedeveloper.salesforce.com · Belegt: Offizieller Status13. Nov. 2026
- Ordner im Repository (platform-apex-generate)github.com/forcedotcom/sf-skills · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/forcedotcom/sf-skills · Belegt: Aktivität, Lizenz11. Nov. 2026