Agentforce Test
Structured test suites for Agentforce agents covering functional behavior and OWASP LLM security red-teaming.
- CCM score
- 79 of 100
- skills.sh installs
- 5.8K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers functional test specs, batch Testing Center runs, preview smoke tests, and result diagnosis via
sf agent testcommands - Includes a security mode that authors OWASP LLM Top 10 adversarial cases, deploys them as a suite, and grades live probes A–F
- Enforces explicit user confirmation before generating any security test cases, and defaults live probes to
--simulate-actions - Designed for Agentforce developers building regression suites, CI/CD test gates, or pre-release security assessments
Install
$ npx -y skills add forcedotcom/sf-skills --skill agentforce-test -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
ADLC Test
Automated testing for Agentforce agents with smoke tests, batch execution, and iterative fix loops.
Overview
This skill provides comprehensive testing capabilities for Agentforce agents, including automated utterance derivation from agent subagents, preview-based smoke testing, trace analysis, an iterative fix loop for identified issues, and security testing (OWASP LLM Top 10). It bridges the gap between initial development and production deployment.
Security testing is part of the ADLC, not a separate skill. Functional correctness (right topic, right action) and security posture (resists attacks) are two dimensions of the same test suite. Treat adversarial coverage as part of the test flow and the Agent Spec — when you plan tests for an agent, plan its security tests too. Security test-case generation is gated on explicit user confirmation (see Mode C).
Platform Notes
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Testing & QA, Security, AI Agents & LLM Apps
- First seen
- Jul 14, 2026
Questions
What does the agentforce-test skill do?
The agentforce-test skill writes, runs, and analyzes structured test suites for Agentforce agents, covering both functional tests and security tests. It handles test spec YAML files, the sf agent test create, run, run-eval and results commands, and diagnosing test failures. It also covers OWASP LLM Top 10 security testing and prompt-injection tests.
How do I install the agentforce-test skill?
Run npx -y skills add forcedotcom/sf-skills --skill agentforce-test -y inside a project. Once installed, the agent can write and run Agentforce test suites and security tests against your agents.
Where does agentforce-test rank in its category?
It sits in the Testing & QA category, where it ranks in the top 100. The other skills that lead that category include tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. What sets agentforce-test apart is its focus on Agentforce agents, including security red-teaming and grading.
What does agentforce-test not cover?
It does not create, modify or debug .agent files, which is handled by agentforce-generate. It also does not deploy agents or analyze production session traces, which falls to agentforce-observe.
More from forcedotcom/sf-skills
All 78- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.8K
- Design Systems Slds2 Migrate5.8K
- External Diagram Mermaid Generate5.6K
- Integration Connectivity Connected App Configure5.6K
- Integration Connectivity Generate5.6K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.4K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.2K
- Platform Trust Archive Manage5.2K
- Integration Eventing Subscription Configure5.2K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.2K
- Dx Devops Test Failures Analyze5.2K
- Dx Devops Test Pipeline Configure5.1K
Similar to Agentforce Test
More Testing & QAsf-ai-agentforce-testingjaganpro/sf-skills1.3K installsStructured testing skill for Agentforce agents with dual-track workflows and 100-point scoring.
agentforce-observeforcedotcom/sf-skills5.8K installsObserve production Agentforce sessions in Data Cloud, reproduce failures in preview, and manage AHM alerts.
owasp-ai-testingmastepanoski/claude-skills252 installsSystematic trustworthiness testing of AI systems across 32 OWASP AI Testing Guide cases in four layers.
agent-evaluationdavila7/claude-code-templates637 installsStructured test suites that measure LLM agent behavior, capability, and reliability across repeated runs and production traffic.