Skip to content
forcedotcom avatar

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
View on GitHub

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 test commands
  • 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 -y

Installs 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

Similar to Agentforce Test

More Testing & QA