agentforce-test

Automate creation and execution of Agentforce agent test suites via sf CLI.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill agentforce-test-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentforce-test
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/agentforce-test
Command: npx skills add https://github.com/padjei/SF_Agents --skill agentforce-test-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sf, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and analyzing test suites for Agentforce agents, enabling efficient development and quality assurance.

Core Features & Use Cases

  • Test Suite Creation: Automates the generation of test cases from agent structures and configurations.
  • Test Execution: Supports both ad-hoc preview testing and batch testing with Testing Center.
  • Action Execution: Allows direct invocation of Flow and Apex actions for isolated testing.
  • Testing Workflow: Offers a structured approach to testing, including trace analysis and iterative fixes.
  • Use Case: When developing an Agentforce agent for customer service, use this Skill to create and execute test cases that cover various scenarios and ensure the agent's reliability.

Quick Start

Use the agentforce-test skill to create a test suite for the 'MyAgent' agent.

Frequently Asked Questions about agentforce-test

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

FAQPage Schema
How do I automate test suite creation for Agentforce agents?

You can automate Agentforce test suite creation by using this Skill to generate test cases directly from agent structures and configurations. It streamlines the process of building comprehensive test coverage.

Do I need the sf CLI to run Agentforce preview tests and batch tests?

Yes, you need the 'sf' CLI installed because this Skill relies on it to execute 'sf agent preview' for ad-hoc testing and 'sf agent test' for batch execution with Testing Center. The CLI provides the core command execution interface.

Can I directly invoke Flow and Apex actions to test Agentforce agents in isolation?

Yes, you can directly invoke Flow and Apex actions for isolated testing of Agentforce agents. This Skill supports direct action execution, allowing you to verify individual components independently of the full conversational flow.

What is the best way to handle iterative fixes during Agentforce agent testing?

The best way to handle iterative fixes is using this Skill's structured testing workflow, which includes trace analysis and iterative fix loops. It automates the cycle of executing tests, analyzing traces, and applying corrections.

Does this Skill support CI/CD integration for Agentforce test suites?

Yes, this Skill supports CI/CD integration for Agentforce test suites, enabling automated batch execution and smoke testing within deployment pipelines. This ensures agent reliability during continuous development and deployment.