platform-apex-anonymous-run
A Salesforce skill for running anonymous Apex against a connected org, from an .apex file or a pasted snippet.
Was der Skill vermittelt
A Salesforce skill for running anonymous Apex against a connected org, from an .apex file or a pasted snippet. The agent identifies the target org, sets up trace flags so useful logs are captured, writes snippets to a temporary file, wraps the code in a savepoint and rollback, runs it with the sf CLI, parses the JSON response and shows the debug log and any errors. The skill points out that anonymous Apex can change data and warns before running in a production org. Writing Apex classes, running unit tests and analysing logs are left to other skills.
Funktionen
- Run anonymous Apex from a file or snippet
- Capture and show the debug log
- Wrap scripts in a savepoint and rollback
- Warn before running against production
Überblick
- Herausgeber
- Salesforce
- Tool
- Salesforce
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add forcedotcom/sf-skills
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-anonymous-run)github.com/forcedotcom/sf-skills · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/forcedotcom/sf-skills · Belegt: Aktivität, Lizenz11. Nov. 2026