testing-agentforce

Automate end-to-end Agentforce agent testing with YAML test suites.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill testing-agentforce
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-agentforce
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/testing-agentforce
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill testing-agentforce

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Provides automated, end-to-end testing for Agentforce agents by planning, executing, and analyzing structured test suites to validate routing, actions, and outcomes across multi-turn conversations and guardrails.

Core Features & Use Cases

  • Test planning from agent definitions (topics, actions, transitions) with auto-derivation and safety probes
  • Mode A/B testing support (ad-hoc previews and Testing Center batch testing) plus results parsing and reporting
  • CI/CD ready workflows for deploying, running, and iterating tests with clear failure diagnostics and fix loops

Quick Start

Create a basic test spec file in assets/basic-test-spec.yaml and run it against your Salesforce org.

Frequently Asked Questions about testing-agentforce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Agentforce test suites for CI/CD workflows?

Automate Agentforce test suites by using YAML test specs to plan, execute, and analyze end-to-end agent tests within CI/CD pipelines. You can deploy, run batch tests, and iterate using parsed pass/fail results and failure diagnostics.

What is end-to-end testing for Agentforce agents and how does it work?

End-to-end testing for Agentforce agents validates routing, actions, and outcomes across multi-turn conversations and guardrails. It works by auto-deriving test plans from agent definitions and executing structured YAML test suites to parse pass/fail results.

Can I run batch tests in Salesforce Testing Center using YAML specs?

Yes, you can run batch tests in Testing Center using YAML specs. The skill supports Mode A/B testing, allowing you to execute ad-hoc previews or batch tests and parse the results for clear failure diagnostics and reporting.

How do I validate Agentforce guardrails and safety guidelines automatically?

Validate Agentforce guardrails and safety guidelines by incorporating safety probes into your auto-derived test plans. The skill executes structured YAML test suites and parses results to ensure agents adhere to defined safety guardrails during conversations.

Do I need YAML files to author and validate AiEvaluationDefinition-like test specs?

Yes, you need YAML files to author and validate AiEvaluationDefinition-like test specs. The skill applies to workflows where test specs are structured in YAML, enabling you to plan, execute, and analyze structured test suites for your agents.

Why are my Agentforce sf agent test commands failing in CI/CD pipelines?

Agentforce sf agent test commands may fail due to routing, action, or guardrail violations detected during multi-turn conversations. The skill parses test results to provide clear failure diagnostics, enabling you to iterate and fix issues within your CI/CD workflows.