sf-ai-agentforce-testing by jaganpro/sf-skills
npx skills add https://github.com/jaganpro/sf-skills --skill sf-ai-agentforce-testing当用户需要正式的 Agentforce 测试时使用此技能:多轮对话验证、CLI 测试中心规范、主题/操作覆盖率分析、预览检查,或发布后的结构化测试-修复循环。
当工作涉及以下内容时,使用 sf-ai-agentforce-testing:
sf agent test 工作流当用户进行以下操作时,请委托给其他技能:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
curl 进行 OAuth 令牌验证;请使用提供的凭据工具。使用以下路径下的现有脚本:
~/.claude/skills/sf-ai-agentforce-testing/hooks/scripts/这些脚本是预先批准的。请勿重新创建它们。
询问或推断:
预检检查:
在以下情况下使用:
要求:
在以下情况下使用:
sf agent test 工作流对于无需完整正式测试的手动验证,请先使用预览工作流,然后根据需要升级到路径 A 或 B。
至少覆盖:
sf agent test 命令典型的失败类别:
当失败暗示智能体编写问题时:
切勿跳过这些:
避免以下反模式:
curl 命令调试身份验证运行结束时,按此顺序报告:
建议格式:
Agent: <名称>
Track: Multi-turn API | CLI Testing Center | Preview
Executed: <规范 / 场景 / 轮次>
Result: <通过 / 部分 / 失败>
Coverage: <主题, 操作, 防护栏, 上下文>
Issues: <最高信号失败>
Next step: <修复, 重新发布, 重新运行, 或扩展覆盖率>
| 需求 | 委托给 | 原因 |
|---|---|---|
| 修复 Agent Script 逻辑 | sf-ai-agentscript | 编写和确定性修复循环 |
| 创建测试数据 | sf-data | 操作就绪的数据设置 |
| 修复 Flow 支持的操作 | sf-flow | Flow 修复 |
| 修复 Apex 支持的操作 | sf-apex | Apex 修复 |
| 设置 ECA / OAuth | sf-connected-apps | 身份验证和应用配置 |
| 分析会话遥测 | sf-ai-agentforce-observability | STDM / 跟踪分析 |
| 分数 | 含义 |
|---|---|
| 90+ | 具备生产就绪的测试信心 |
| 80–89 | 覆盖率强,存在微小差距 |
| 70–79 | 可接受,但建议扩展覆盖率 |
| 60–69 | 仅部分验证 |
| < 60 | 信心不足;阻止发布 |
每周安装次数
240
仓库
GitHub 星标数
223
首次出现
2026年1月22日
安全审计
安装于
cursor232
codex232
gemini-cli230
opencode230
github-copilot227
amp224
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:
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 | sf-connected-apps | auth and app configuration |
| analyze session telemetry |
| 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 |
Weekly Installs
240
Repository
GitHub Stars
223
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
cursor232
codex232
gemini-cli230
opencode230
github-copilot227
amp224
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
56,200 周安装
| STDM / trace analysis |