Agentforce Test
Write, run, and analyze structured test suites for Agentforce agents — functional AND security. TRIGGER when: user writes or modifies test spec YAML (AiEvaluationDefinition); runs sf agent test create, run, run-eval, or results commands; asks about test coverage strategy, metric selection, or custom evaluations; interprets test results or diagnoses test failures; asks about batch testing, regression suites, or CI/CD test integration; requests security testing, OWASP LLM Top 10, red-teaming, penetration testing, prompt-injection tests, a security grade, or a vulnerability assessment of an agent. DO NOT TRIGGER when: user creates, modifies, previews, or debugs .agent files (use agentforce-generate); deploys or publishes agents; writes Agent Script code; uses sf agent preview for development iteration; analyzes production session traces (use agentforce-observe); performs a static safety review of .agent file content (use agentforce-generate Section 15).
- Type
- Skill
- Author
- forcedotcom
- GitHub stars
- 1.1K
- Installs
- 5.7K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/forcedotcom/sf-skills --skill agentforce-testAbout this skill
Writes, runs, and analyzes structured test suites for Agentforce agents, covering both functional and security testing. Triggered by test spec YAML (AiEvaluationDefinition), sf agent test commands, coverage strategy, metric selection, custom evaluations, batch and regression suites, CI/CD integration, and security testing like OWASP LLM Top 10, red-teaming, and prompt-injection tests. It's for testing, not for creating or debugging .agent files during development.
Summary written with AI assistance from the project's public description.
Categories
More from forcedotcom
Platform Apex Generate
Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to...
by forcedotcom
Platform Apex Test Generate
Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, a...
by forcedotcom
Platform Apex Test Run
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage,...
by forcedotcom
Platform Apex Logs Debug
Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack...
by forcedotcom
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh