platform-apex-anonymous-run Run anonymous Apex against the connected Salesforce org via sf apex run --file , capture the debug log, and narrate compile-time and runtime outcomes back to the developer. This is the agent-side equivalent of VS Code's Execute Anonymous Apex (document and selection) commands. This skill is runtime, not generation — for authoring .cls / .trigger files use platform-apex-generate ; for running Apex unit tests use platform-apex-test-run ; for deep debug-log analysis (governor breakdowns, SOQL-in-loop detection) hand off to platform-apex-logs-debug . Tool Restrictions Use ONLY the Bash tool to execute sf apex run , and the Write tool to stage snippet temp files. Do NOT use MCP tools for execution. Anonymous Apex is NOT read-only Anonymous Apex executes with the running user's permissions and can perform DML, callouts, and platform events . Treat every invocation as a write unless the developer has stated otherwise. Show more Installs 882 Repository forcedotcom/sf-skills GitHub Stars 835 First Seen 14 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Fail
platform-apex-anonymous-run
安装
npx skills add https://github.com/forcedotcom/sf-skills --skill platform-apex-anonymous-run