forcedotcom avatar

Agentforce Test

This handles the full testing lifecycle for Agentforce agents, from quick smoke tests during development to batch regression suites for CI/CD. It auto-derives test cases from your agent definitions, runs them through preview or the Testing Center, then digs into trace files to diagnose failures like missed topic routing or ungrounded responses. The iterative fix loop is solid: it tells you exactly where to edit (which subagent description, which action guard) based on trace analysis. Always runs safety probes and gives you an explicit SAFE/UNSAFE/NEEDS_REVIEW verdict before you ship. Use Mode A for quick iteration, Mode B when you need persistent test suites.

skills.sh installs
5.8K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill agentforce-test --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Testing & QA, Security, DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Automation & Workflows
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1affaan-m avatardjango-tddaffaan-m/eccDjango testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.5.8Kskills.sh installs
2affaan-m avatarkotlin-testingaffaan-m/eccKotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practic5.7Kskills.sh installs
3jeffallan avatartest-masterjeffallan/claude-skillsGenerates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across function5.7Kskills.sh installs
4jeffallan avatarplaywright-expertjeffallan/claude-skillsUse when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects,5.6Kskills.sh installs
5callstack avatarreact-native-testingcallstack/react-native-testing-libraryWrite tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native compone5.5Kskills.sh installs
6affaan-m avatarquarkus-tddaffaan-m/eccTest-driven development for Quarkus 3.x LTS using JUnit 5, Mockito, REST Assured, Camel testing, and JaCoCo. Use when adding features, fixing bugs, or refactori5.4Kskills.sh installs