agentforce-test
A Salesforce skill for testing Agentforce agents. The agent writes AiEvaluationDefinition test specs in YAML, deploys and runs them with sf agent test commands, reads the results and explains why cases failed.
What the skill teaches
A Salesforce skill for testing Agentforce agents. The agent writes AiEvaluationDefinition test specs in YAML, deploys and runs them with sf agent test commands, reads the results and explains why cases failed. It also advises on coverage, metric choice and custom evaluations, and on running suites in batches or in CI. A security mode has the agent design adversarial cases, such as prompt injection and other categories from the OWASP list of LLM risks, run them live and give the agent a security grade. Writing or deploying the agent itself is left to other skills in the set.
Capabilities
- Write Agentforce test specs in YAML
- Run agent test suites with the sf CLI
- Diagnose failing agent test cases
- Run security and prompt-injection tests against an agent
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- assets/basic-test-spec.yaml
- assets/guardrail-test-spec.yaml
- assets/payloads/excessive-agency.yaml
- assets/payloads/misinformation.yaml
- assets/payloads/output-handling.yaml
- assets/payloads/prompt-injection.yaml
- assets/payloads/sensitive-info-disclosure.yaml
- assets/payloads/system-prompt-leakage.yaml
- assets/payloads/unbounded-consumption.yaml
- assets/standard-test-spec.yaml
- references/action-execution.md
- references/batch-testing.md
- references/owasp-categories.md
- references/preview-testing.md
- references/remediation-guide.md
- references/security-scoring-methodology.md
- references/security-test-design.md
- references/security-troubleshooting.md
- references/test-report-format.md
- references/troubleshooting.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- Folder in the repository (agentforce-test)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026