platform-apex-anonymous-run
A Salesforce skill for running anonymous Apex against a connected org, from an .apex file or a pasted snippet.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- Salesforce
- Ferramenta
- Salesforce
Instalação
- Execute este comando para adicionar ao Qualquer cliente:
npx skills add forcedotcom/sf-skills
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Salesforce | |
| Publicador | Salesforce | fonte |
| Status oficial | OficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 6 de nov. de 20261.156 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório |
Fontes
- Arquivo da skill (SKILL.md)github.com/forcedotcom/sf-skills10 de nov. de 2026
- README (README.md)github.com/forcedotcom/sf-skills13 de nov. de 2026
- Arquivo de licença (LICENSE.txt)github.com/forcedotcom/sf-skills · Comprova: Licença, Publicador13 de nov. de 2026
- Página webdeveloper.salesforce.com · Comprova: Status oficial13 de nov. de 2026
- Pasta no repositório (platform-apex-anonymous-run)github.com/forcedotcom/sf-skills · Comprova: Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/forcedotcom/sf-skills · Comprova: Atividade, Licença11 de nov. de 2026