From jaganpro-sf-skills-7
Tests Salesforce Agentforce agents using sf agent test CLI, multi-turn Runtime API, Testing Center specs; validates topic routing, coverage, and generates test plans.
npx claudepluginhub jaganpro/sf-skillsThis skill uses the workspace's default tool permissions.
Use this skill when the user needs **formal Agentforce testing**: multi-turn conversation validation, CLI Testing Center specs, topic/action coverage analysis, preview checks, or a structured test-fix loop after publish.
CREDITS.mdLICENSEREADME.mdassets/agentscript-test-spec.yamlassets/basic-test-spec.yamlassets/cli-auth-guardrail-tests.yamlassets/cli-deep-history-tests.yamlassets/comprehensive-test-spec.yamlassets/context-vars-test-spec.yamlassets/custom-eval-test-spec.yamlassets/escalation-tests.yamlassets/guardrail-tests.yamlassets/multi-turn-agentscript-comprehensive.yamlassets/multi-turn-comprehensive.yamlassets/multi-turn-context-preservation.yamlassets/multi-turn-escalation-flows.yamlassets/multi-turn-topic-routing.yamlassets/standard-test-spec.yamlassets/test-plan-template.yamlhooks/scripts/agent_api_client.pyWrites, runs, and analyzes structured test suites for Salesforce Agentforce agents using sf agent test and preview CLI commands for smoke tests, batch execution, result diagnosis, and CI/CD integration.
Writes, runs, and analyzes structured test suites for Agentforce agents using sf agent test CLI for smoke tests, batch execution, result interpretation, and CI/CD integration.
Authors .agent files for deterministic Agentforce agents using FSM flows, topic routing, slot filling, and CLI workflows like sf agent generate/validate/publish/activate.
Share bugs, ideas, or general feedback.
Use this skill when the user needs formal Agentforce testing: multi-turn conversation validation, CLI Testing Center specs, topic/action coverage analysis, preview checks, or a structured test-fix loop after publish.
Use sf-ai-agentforce-testing when the work involves:
sf agent test workflowsDelegate elsewhere when the user is:
sf org login web authentication; ECA is only required for Agent Runtime API testing, not for live preview.curl for OAuth token validation in the ECA flow; use the provided credential tooling.Use the existing scripts under:
~/.claude/skills/sf-ai-agentforce-testing/hooks/scripts/These scripts are pre-approved. Do not recreate them.
Ask for or infer:
Preflight checks:
Use when you need:
Requires:
Use when you need:
sf agent test workflowsFor manual validation without full formal testing, use preview workflows first, then escalate to Track A or B as needed.
Cover at least:
sf agent test commandsTypical failure buckets:
When failures imply agent-authoring issues:
Never skip these:
Avoid these anti-patterns:
curl commandsWhen finishing a run, report in this order:
Suggested shape:
Agent: <name>
Track: Multi-turn API | CLI Testing Center | Preview
Executed: <specs / scenarios / turns>
Result: <passed / partial / failed>
Coverage: <topics, actions, guardrails, context>
Issues: <highest-signal failures>
Next step: <fix, republish, rerun, or expand coverage>
| Need | Delegate to | Reason |
|---|---|---|
| fix Agent Script logic | sf-ai-agentscript | authoring and deterministic fix loops |
| create test data | sf-data | action-ready data setup |
| fix Flow-backed actions | sf-flow | Flow repair |
| fix Apex-backed actions | sf-apex | Apex repair |
| set up ECA / OAuth for Agent Runtime API | sf-connected-apps | auth and app configuration |
| analyze session telemetry | sf-ai-agentforce-observability | STDM / trace analysis |
| Score | Meaning |
|---|---|
| 90+ | production-ready test confidence |
| 80–89 | strong coverage with minor gaps |
| 70–79 | acceptable but coverage expansion recommended |
| 60–69 | partial validation only |
| < 60 | insufficient confidence; block release |