@salesforce/afv-skills 1.67.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +55 -5
  2. package/package.json +1 -1
  3. package/skills/afcc-setup-coordinate/SKILL.md +348 -0
  4. package/skills/afcc-setup-coordinate/assets/console-app/AFCC_Service_Console.app-meta.xml +19 -0
  5. package/skills/afcc-setup-coordinate/assets/console-app/Admin.profile-meta.xml +8 -0
  6. package/skills/afcc-setup-coordinate/assets/console-app/Standard.profile-meta.xml +8 -0
  7. package/skills/afcc-setup-coordinate/assets/gap_report_template.md +35 -0
  8. package/skills/afcc-setup-coordinate/assets/org_profile_template.json +16 -0
  9. package/skills/afcc-setup-coordinate/references/gotchas.md +22 -0
  10. package/skills/afcc-setup-coordinate/scripts/audit_org.sh +159 -0
  11. package/skills/agentforce-bot-upgrade/SKILL.md +117 -66
  12. package/skills/agentforce-bot-upgrade/assets/_vendored/agent-spec-template.md +139 -0
  13. package/skills/agentforce-bot-upgrade/references/_vendored/agent-design-and-spec-creation.md +1211 -0
  14. package/skills/agentforce-bot-upgrade/references/_vendored/agent-script-core-language.md +1390 -0
  15. package/skills/agentforce-bot-upgrade/references/_vendored/agent-subagent-map-diagrams.md +341 -0
  16. package/skills/agentforce-bot-upgrade/references/_vendored/agent-user-setup.md +672 -0
  17. package/skills/agentforce-bot-upgrade/references/_vendored/agent-validation-and-debugging.md +904 -0
  18. package/skills/agentforce-bot-upgrade/references/_vendored/agentscript-toolchain.md +112 -0
  19. package/skills/agentforce-bot-upgrade/references/_vendored/architecture-patterns.md +277 -0
  20. package/skills/agentforce-bot-upgrade/references/_vendored/common-control-flow-pitfalls.md +255 -0
  21. package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-actions-sequencing.md +198 -0
  22. package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-lifecycle-side-effects.md +87 -0
  23. package/skills/agentforce-bot-upgrade/references/_vendored/data-library-reference.md +891 -0
  24. package/skills/agentforce-bot-upgrade/references/_vendored/instruction-resolution.md +658 -0
  25. package/skills/agentforce-bot-upgrade/references/_vendored/org-setup-for-adl.md +551 -0
  26. package/skills/agentforce-bot-upgrade/references/_vendored/patterns-by-requirement.md +88 -0
  27. package/skills/agentforce-bot-upgrade/references/_vendored/posture-and-determinism.md +215 -0
  28. package/skills/agentforce-bot-upgrade/references/extraction-blueprint.md +11 -4
  29. package/skills/agentforce-bot-upgrade/references/generate-agent-spec.md +19 -3
  30. package/skills/agentforce-bot-upgrade/references/handoff-output-format.md +82 -52
  31. package/skills/agentforce-bot-upgrade/references/input-contract.md +8 -8
  32. package/skills/agentforce-bot-upgrade/references/mapping-rules.md +19 -6
  33. package/skills/agentforce-bot-upgrade/references/post-conversion-enhancements-reference.md +65 -6
  34. package/skills/agentforce-bot-upgrade/references/quality-checklist.md +4 -4
  35. package/skills/agentforce-bot-upgrade/references/sf-cli-bot-reference.md +17 -3
  36. package/skills/agentforce-hyperclassifier-configure/README.md +24 -0
  37. package/skills/agentforce-hyperclassifier-configure/SKILL.md +111 -0
  38. package/skills/agentforce-hyperclassifier-configure/assets/customer-org.env.example +4 -0
  39. package/skills/agentforce-hyperclassifier-configure/assets/sample_descriptions.json +8 -0
  40. package/skills/agentforce-hyperclassifier-configure/assets/sample_evals.csv +17 -0
  41. package/skills/agentforce-hyperclassifier-configure/references/api-contract.md +41 -0
  42. package/skills/agentforce-hyperclassifier-configure/references/authentication.md +35 -0
  43. package/skills/agentforce-hyperclassifier-configure/references/evaluation.md +46 -0
  44. package/skills/agentforce-hyperclassifier-configure/references/installation.md +35 -0
  45. package/skills/agentforce-hyperclassifier-configure/references/onboarding.md +93 -0
  46. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/__init__.py +1 -0
  47. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/client.py +219 -0
  48. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/eca.py +178 -0
  49. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/evaluation.py +207 -0
  50. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/onboarding.py +191 -0
  51. package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/optimizer.py +187 -0
  52. package/skills/agentforce-hyperclassifier-configure/scripts/hyperclassifier.py +111 -0
  53. package/skills/agentforce-hyperclassifier-configure/scripts/report_hyperclassifier.py +149 -0
  54. package/skills/agentforce-hyperclassifier-configure/scripts/setup_hyperclassifier.py +74 -0
  55. package/skills/agentforce-hyperclassifier-configure/scripts/tests/test_hyperclassifier_skill.py +887 -0
  56. package/skills/agentforce-offline-experimentation-run/SKILL.md +14 -22
  57. package/skills/agentforce-offline-experimentation-run/scripts/bt_compare.py +81 -0
  58. package/skills/agentforce-offline-experimentation-run/scripts/bt_fetch.py +358 -0
  59. package/skills/agentforce-offline-experimentation-run/scripts/bt_patch_agent.py +110 -0
  60. package/skills/agentforce-offline-experimentation-run/scripts/btlib/__init__.py +34 -0
  61. package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentpatch.py +483 -0
  62. package/skills/agentforce-offline-experimentation-run/scripts/btlib/agentsrc.py +565 -0
  63. package/skills/agentforce-offline-experimentation-run/scripts/btlib/cache.py +95 -0
  64. package/skills/agentforce-offline-experimentation-run/scripts/btlib/compare.py +617 -0
  65. package/skills/agentforce-offline-experimentation-run/scripts/btlib/fetch.py +1012 -0
  66. package/skills/agentforce-offline-experimentation-run/scripts/btlib/judge.py +140 -0
  67. package/skills/agentforce-offline-experimentation-run/scripts/btlib/messages.py +93 -0
  68. package/skills/agentforce-offline-experimentation-run/scripts/btlib/patch.py +327 -0
  69. package/skills/agentforce-offline-experimentation-run/scripts/btlib/redact.py +40 -0
  70. package/skills/agentforce-offline-experimentation-run/scripts/btlib/results.py +288 -0
  71. package/skills/agentforce-offline-experimentation-run/scripts/btlib/scoring.py +340 -0
  72. package/skills/agentforce-offline-experimentation-run/scripts/btlib/sfap.py +354 -0
  73. package/skills/agentforce-offline-experimentation-run/scripts/btlib/splits.py +136 -0
  74. package/skills/agentforce-offline-experimentation-run/scripts/btlib/stdm.py +98 -0
  75. package/skills/agentforce-offline-experimentation-run/scripts/btlib/tokens.py +173 -0
  76. package/skills/agentforce-offline-experimentation-run/scripts/btlib/units.py +199 -0
  77. package/skills/agentforce-offline-experimentation-run/scripts/btlib/versions.py +194 -0
  78. package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +367 -379
  79. package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +23 -6
  80. package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +483 -796
  81. package/skills/commerce-react-storefront-create/SKILL.md +54 -21
  82. package/skills/dx-lifecycle-center/SKILL.md +22 -13
  83. package/skills/dx-lifecycle-center/examples/workflows.md +54 -17
  84. package/skills/dx-lifecycle-center/references/connect-api.md +33 -4
  85. package/skills/dx-lifecycle-center/references/connect-org.md +62 -12
  86. package/skills/dx-lifecycle-center/references/deploy.md +3 -3
  87. package/skills/dx-lifecycle-center/references/hub-org.md +19 -3
  88. package/skills/dx-lifecycle-center/references/list-orgs.md +50 -24
  89. package/skills/dx-lifecycle-center/references/troubleshooting.md +22 -1
  90. package/skills/dx-lifecycle-center/scripts/hub-get.sh +41 -0
  91. package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +151 -4
  92. package/skills/dx-org-devhub-configure/SKILL.md +85 -84
  93. package/skills/dx-org-devhub-configure/examples/status-output.md +25 -2
  94. package/skills/dx-org-devhub-configure/scripts/devhub.sh +265 -140
  95. package/skills/dx-org-devhub-configure/scripts/test-devhub.sh +100 -15
  96. package/skills/dx-packaging-convert-1gp-to-2gp-create/SKILL.md +63 -0
  97. package/skills/dx-packaging-convert-1gp-to-2gp-create/references/conversion-operations.md +252 -0
  98. package/skills/dx-packaging-move-to-2gp-migrate/SKILL.md +88 -0
  99. package/skills/dx-packaging-move-to-2gp-migrate/references/api-operations.md +167 -0
  100. package/skills/dx-packaging-push-upgrade-configure/README.md +47 -0
  101. package/skills/dx-packaging-push-upgrade-configure/SKILL.md +355 -0
  102. package/skills/dx-packaging-push-upgrade-configure/references/best-practices.md +61 -0
  103. package/skills/dx-packaging-push-upgrade-configure/references/cli-reference.md +148 -0
  104. package/skills/dx-packaging-push-upgrade-configure/references/objects.md +106 -0
  105. package/skills/dx-packaging-push-upgrade-configure/references/soql-recipes.md +144 -0
  106. package/skills/dx-scratch-def-configure/SKILL.md +163 -0
  107. package/skills/dx-scratch-def-configure/examples/confirm-card.md +53 -0
  108. package/skills/dx-scratch-def-configure/examples/report-recipes.md +100 -0
  109. package/skills/dx-scratch-def-configure/references/features.json +3270 -0
  110. package/skills/dx-scratch-def-configure/references/project-scratch-def.schema.json +1841 -0
  111. package/skills/dx-scratch-def-configure/references/settings-map.json +682 -0
  112. package/skills/dx-scratch-def-configure/scripts/lib_scratch_def.py +1306 -0
  113. package/skills/dx-scratch-def-configure/scripts/requirements.txt +3 -0
  114. package/skills/dx-scratch-def-configure/scripts/scrape_config_values.py +848 -0
  115. package/skills/education-cloud-domain-configure/SKILL.md +1 -1
  116. package/skills/education-cloud-multi-campus-configure/SKILL.md +1 -1
  117. package/skills/education-cloud-student-recruitment-agent-configure/SKILL.md +1 -1
  118. package/skills/experience-afv-analytics-query/SKILL.md +239 -0
  119. package/skills/experience-afv-analytics-query/references/references.md +176 -0
  120. package/skills/experience-app-mcp-delivery-generate/SKILL.md +142 -0
  121. package/skills/experience-app-mcp-delivery-generate/references/eca-consumer-key.md +26 -0
  122. package/skills/experience-app-mcp-delivery-generate/references/mcp-config-delivery.md +38 -0
  123. package/skills/experience-app-mcp-delivery-generate/references/plugin-format-and-publishing.md +80 -0
  124. package/skills/experience-app-mcp-delivery-generate/scripts/developer_name.mjs +9 -0
  125. package/skills/experience-app-mcp-delivery-generate/scripts/discover_mcp_context.mjs +114 -0
  126. package/skills/experience-app-mcp-delivery-generate/scripts/generate_mcp_config.mjs +27 -0
  127. package/skills/experience-app-mcp-delivery-generate/scripts/generate_plugin.mjs +184 -0
  128. package/skills/experience-app-mcp-delivery-generate/scripts/mcp_config.mjs +57 -0
  129. package/skills/experience-app-mcp-delivery-generate/scripts/preflight.mjs +109 -0
  130. package/skills/experience-app-mcp-delivery-generate/scripts/retrieve_eca_consumer_key.mjs +143 -0
  131. package/skills/experience-app-mcp-generate/SKILL.md +174 -0
  132. package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.eca-meta.xml +7 -0
  133. package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaGlblOauth-meta.xml +15 -0
  134. package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauth-meta.xml +6 -0
  135. package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauthPlcy-meta.xml +12 -0
  136. package/skills/experience-app-mcp-generate/assets/__ECA_NAME___defaultPolicy.ecaPlcy-meta.xml +7 -0
  137. package/skills/experience-app-mcp-generate/assets/__MCP_SERVER_NAME__.mcpServerDefinition-meta.xml +5 -0
  138. package/skills/experience-app-mcp-generate/references/eca-fields.md +76 -0
  139. package/skills/experience-app-mcp-generate/references/mcp-objects.md +66 -0
  140. package/skills/experience-app-mcp-generate/references/tool-bindings.md +85 -0
  141. package/skills/experience-app-mcp-generate/references/troubleshooting.md +41 -0
  142. package/skills/experience-app-mcp-generate/references/ui-frameworks.md +19 -0
  143. package/skills/experience-app-mcp-generate/references/widget-resources.md +96 -0
  144. package/skills/experience-app-mcp-generate/scripts/activate_server.mjs +166 -0
  145. package/skills/experience-app-mcp-generate/scripts/check_setup_progress.mjs +212 -0
  146. package/skills/experience-app-mcp-generate/scripts/list_sites.mjs +211 -0
  147. package/skills/experience-app-mcp-generate/scripts/merge_tools.mjs +407 -0
  148. package/skills/experience-app-mcp-generate/scripts/preflight.mjs +127 -0
  149. package/skills/experience-app-mcp-generate/scripts/render_eca.mjs +144 -0
  150. package/skills/experience-app-mcp-generate/scripts/render_mcp_server.mjs +64 -0
  151. package/skills/experience-app-mcp-generate/scripts/retrieve_existing_prompts.mjs +145 -0
  152. package/skills/experience-app-mcp-generate/scripts/retrieve_existing_tools.mjs +72 -0
  153. package/skills/experience-app-mcp-generate/scripts/scan_tool_candidates.mjs +195 -0
  154. package/skills/experience-app-mcp-generate/scripts/utils/callback_url.mjs +36 -0
  155. package/skills/experience-app-mcp-generate/scripts/utils/developer_name.mjs +9 -0
  156. package/skills/experience-app-mcp-generate/scripts/utils/eca_check.mjs +156 -0
  157. package/skills/experience-app-mcp-generate/scripts/utils/metadata_path.mjs +13 -0
  158. package/skills/experience-app-mcp-generate/scripts/verify_server.mjs +118 -0
  159. package/skills/experience-cms-content-type-generate/SKILL.md +1 -1
  160. package/skills/experience-design-validate/SKILL.md +1 -1
  161. package/skills/experience-search-coordinate/SKILL.md +18 -12
  162. package/skills/experience-search-coordinate/references/content-route.md +79 -1
  163. package/skills/field-service-data-capture-migrate/SKILL.md +1 -1
  164. package/skills/nonprofit-fundraising-configure/SKILL.md +1 -1
  165. package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +52 -4
  166. package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +19 -2
  167. package/skills/platform-apex-generate/SKILL.md +14 -11
  168. package/skills/platform-apex-test-generate/SKILL.md +2 -1
  169. package/skills/platform-custom-field-generate/SKILL.md +24 -16
  170. package/skills/platform-custom-metadata-type-generate/SKILL.md +1 -0
  171. package/skills/platform-custom-setting-generate/SKILL.md +1 -0
  172. package/skills/platform-datamask-run/SKILL.md +52 -71
  173. package/skills/platform-datamask-run/references/api-surface.md +10 -4
  174. package/skills/platform-datamask-run/references/policy-authoring.md +56 -7
  175. package/skills/platform-datamask-run/references/run-and-abort.md +17 -10
  176. package/skills/platform-datamask-run/scripts/poll-job.sh +15 -25
  177. package/skills/platform-dataspace-access-configure/SKILL.md +43 -10
  178. package/skills/platform-flexipage-generate/SKILL.md +7 -10
  179. package/skills/platform-flexipage-generate/references/mcp_action_examples.md +42 -38
  180. package/skills/platform-metadata-discovery-get/SKILL.md +185 -0
  181. package/skills/platform-metadata-discovery-get/references/api-map.md +25 -0
  182. package/skills/platform-metadata-discovery-get/references/h360-routes.md +30 -0
  183. package/skills/platform-metadata-discovery-get/references/scoped-soql.md +52 -0
  184. package/skills/platform-metadata-grounding-get/SKILL.md +170 -0
  185. package/skills/platform-policy-rule-generate/SKILL.md +85 -231
  186. package/skills/platform-policy-rule-generate/references/condition-model.md +47 -0
  187. package/skills/platform-policy-rule-generate/references/condition-templates.md +89 -0
  188. package/skills/platform-policy-rule-generate/references/conjunction-compiler.md +25 -0
  189. package/skills/platform-policy-rule-generate/references/conjunction-expression.md +30 -0
  190. package/skills/platform-policy-rule-generate/references/consumer-all.md +9 -0
  191. package/skills/platform-policy-rule-generate/references/consumer-datacloud-ui.md +99 -0
  192. package/skills/platform-policy-rule-generate/references/deploy-errors.md +24 -36
  193. package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/package.xml +12 -0
  194. package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitionSets/ExistsJoinRLS.policyRuleDefinitionSet +5 -0
  195. package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitions/ExistsJoinRLS_Rule_1.policyRuleDefinition +91 -0
  196. package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/package.xml +12 -0
  197. package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitionSets/FieldReadDeny.policyRuleDefinitionSet +5 -0
  198. package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitions/FieldReadDeny_Rule_1.policyRuleDefinition +72 -0
  199. package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/package.xml +12 -0
  200. package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitionSets/LastCharactersFieldMasking.policyRuleDefinitionSet +5 -0
  201. package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitions/LastCharactersFieldMasking_Rule_1.policyRuleDefinition +77 -0
  202. package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/package.xml +12 -0
  203. package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitionSets/PrincipalFieldMatchRLS.policyRuleDefinitionSet +5 -0
  204. package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitions/PrincipalFieldMatchRLS_Rule_1.policyRuleDefinition +77 -0
  205. package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/package.xml +12 -0
  206. package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitionSets/TaggedObjectAccess.policyRuleDefinitionSet +5 -0
  207. package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitions/TaggedObjectAccess_Rule_1.policyRuleDefinition +65 -0
  208. package/skills/platform-policy-rule-generate/references/headless-transport.md +87 -0
  209. package/skills/platform-policy-rule-generate/references/policy-schema-full.md +18 -11
  210. package/skills/platform-policy-rule-generate/references/policy-shapes.md +107 -0
  211. package/skills/platform-policy-rule-generate/references/principal-expression.md +31 -0
  212. package/skills/platform-policy-rule-generate/references/reference-resolution.md +51 -0
  213. package/skills/platform-policy-rule-generate/references/resource-expression.md +48 -0
  214. package/skills/platform-policy-rule-generate/references/runtime-context.md +9 -0
  215. package/skills/platform-policy-rule-generate/references/templates-access.md +11 -9
  216. package/skills/platform-policy-rule-generate/references/templates-advanced.md +5 -3
  217. package/skills/platform-policy-rule-generate/references/templates-record.md +37 -22
  218. package/skills/platform-policy-rule-generate/references/templates-transform.md +10 -8
  219. package/skills/platform-policy-rule-generate/references/templates.md +2 -2
  220. package/skills/platform-policy-rule-generate/references/ui-compatibility.md +36 -18
  221. package/skills/platform-report-generate/SKILL.md +29 -5
  222. package/skills/platform-report-generate/references/chart-types.md +26 -2
  223. package/skills/platform-report-generate/references/column-names.md +43 -0
  224. package/skills/platform-report-generate/references/errors-and-troubleshooting.md +1 -1
  225. package/skills/platform-report-generate/references/summary-formulas-sorting-limits.md +118 -0
  226. package/skills/platform-report-generate/references/verification-checklist.md +22 -2
  227. package/skills/service-digital-engagement-channel-configure/SKILL.md +49 -110
  228. package/skills/service-digital-engagement-channel-configure/assets/messaging_channel_template.xml +35 -0
  229. package/skills/service-digital-engagement-channel-configure/examples/asa_agent_channel.xml +2 -2
  230. package/skills/service-digital-engagement-channel-configure/examples/auth_queue_channel.xml +58 -0
  231. package/skills/service-digital-engagement-channel-configure/examples/omni_flow_channel.xml +2 -2
  232. package/skills/service-digital-engagement-channel-configure/examples/omni_queue_channel.xml +3 -3
  233. package/skills/service-digital-engagement-channel-configure/references/channel_settings.md +128 -28
  234. package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +16 -20
  235. package/skills/service-digital-engagement-channel-configure/references/prechat_params.md +10 -0
  236. package/skills/service-digital-engagement-channel-configure/references/recaptcha_handoff.md +38 -0
  237. package/skills/service-digital-engagement-channel-configure/references/user_verification.md +9 -0
  238. package/skills/service-digital-engagement-channel-configure/scripts/check-api-version.sh +4 -4
  239. package/skills/service-digital-engagement-channel-configure/scripts/normalize-channel-name.sh +12 -7
  240. package/skills/service-e911-configure/SKILL.md +242 -0
  241. package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -1
  242. package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -1
  243. package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -1
  244. package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -1
  245. package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -1
  246. package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -1
  247. package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +47 -44
  248. package/skills/service-itsm-agentic-setup-incident-management/examples/output-templates.md +110 -83
  249. package/skills/service-itsm-agentic-setup-incident-management/references/manage-incidents-with-ai.md +7 -3
  250. package/skills/service-itsm-agentic-setup-incident-management/references/priority-matrix.md +7 -5
  251. package/skills/service-itsm-agentic-setup-incident-management/references/sla-milestones.md +2 -2
  252. package/skills/service-itsm-agentic-setup-incident-management/references/status-checks.md +437 -0
  253. package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -1
  254. package/skills/agentforce-bot-upgrade/references/planner-workflow-reference.md +0 -78
  255. package/skills/experience-content-media-image-generate/SKILL.md +0 -83
  256. package/skills/experience-content-media-image-generate/scripts/download-image.sh +0 -84
  257. package/skills/experience-content-media-stock-image-search/SKILL.md +0 -193
  258. package/skills/experience-content-media-stock-image-search/scripts/download-stock-image.py +0 -102
@@ -1,115 +1,142 @@
1
1
  # Output Templates — service-itsm-agentic-setup-incident-management
2
2
 
3
- Emit one of these text blocks at the corresponding step in the workflow. Show every feature the master
4
- switch enables; render each row's `Status` from the actual tracked state (`Not done`, `In progress`,
5
- `Done`) — never hard-code it.
3
+ Emit these blocks at the matching Behavior step. Every status is read from the org with
4
+ `references/status-checks.md` just before the block is shown — the statuses below show the shape, not an
5
+ org's real state. Each status cell is the label and its short note. Show every feature the master switch
6
+ enables.
6
7
 
7
8
  ## Feature menu (Behavior step 3)
8
9
 
10
+ The table is the menu: show every row, then the reply line below it. The user's typed reply is the
11
+ selection — don't collect it with `AskUserQuestion`.
12
+
13
+ Example — a resumed setup where the org shows some features already set up and others only partly:
14
+
9
15
  ```text
10
16
  Incident Management Setup (via service-itsm-agentic-setup-incident-management)
11
17
 
18
+ Target org: <org> (all steps below run against this org)
19
+ IT Service Enablement and Incident Management are on.
20
+
12
21
  Here are the features available for Incident Management. Select one or more to configure:
22
+ ```
23
+
24
+ | # | Feature | What it does | Status |
25
+ | -- | ------- | ------------ | ------ |
26
+ | P | Incident Preferences | The six setup toggles (validations, auto-close, triage, Einstein, group restriction, rich text) | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
27
+ | | **Set Up the Basics** | | |
28
+ | 1 | Incident Persona PSG | Manage User Access: give a user the Incident Fulfiller or Manager persona (bundle + licenses) | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
29
+ | 2 | Priority Matrix | Configure Rules for Automatic Incident Priority: the Impact × Urgency grid that sets Priority | Not done — not turned on |
30
+ | 3 | SLA & Milestones | Define SLAs to Prioritize Incidents: turn on SLA Management, then a predefined or custom policy | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
31
+ | | **Unlock Advanced Functionality** | | |
32
+ | 4 | Incident Dashboards | Deploy the Incident Manager and/or Fulfiller dashboards, and dashboards on the Home page | Done — Incident Manager dashboards are on |
33
+ | 5 | Email-to-Incident | Report Incidents from Emails: email settings + routing addresses | In progress — turned on, but no routing address is set up yet |
34
+ | 6 | Major Incident Management | Review and Manage Major Incident Configuration: approval group + the two MIM preferences (auto-create problem, auto-close child) | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
35
+ | 7 | Broadcast Communications | Set Up Broadcast Communication for Major Incidents: turn on, then sender access, channels (Email/In-app/Slack/Teams), objects | Not available — Broadcast Communications isn't available in this org; contact Salesforce Customer Support |
36
+ | 8 | Manage Incidents with AI | Auto-triage, Einstein assignment, and AI-drafted incidents from chat or voice transcripts | Done — all three are on |
37
+ | 9 | Service Management Privilege | Escalation level, privilege records + employee assignments, behind Enable Privilege Assignment | Done — turned on; 2 privileges; escalation level not set |
38
+ | 10 | Audit Tracking | Turn on field history tracking for the Incident fields you choose (who changed what, and when) | Not done — no Incident fields are tracked yet |
39
+
40
+ ```text
41
+ Reply with the numbers of the features you want to set up (one or more, e.g. `2,10`; `P` for Incident Preferences).
42
+ ```
43
+
44
+ When a gate reads In progress, or only its setup-step read failed, the gate line says so instead:
13
45
 
14
- ┌────┬───────────────────────────────┬──────────────────────────────────────────────────┬──────────┐
15
- │ # │ Feature │ Description │ Status │
16
- ├────┼───────────────────────────────┼──────────────────────────────────────────────────┼──────────┤
17
- │ P │ Incident Preferences │ The six setup toggles (validations, auto-close, │ Not done │
18
- │ │ │ triage, Einstein, group restriction, rich text) │ │
19
- ├────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┤
20
- │ Set Up the Basics │
21
- ├────┬───────────────────────────────┬──────────────────────────────────────────────────┬──────────┤
22
- │ 1 │ Incident Persona PSG │ Manage User Access: give a user the Incident │ Not done │
23
- │ │ │ Fulfiller or Manager persona (bundle + licenses) │ │
24
- │ 2 │ Priority Matrix │ Configure Rules for Automatic Incident Priority: │ Not done │
25
- │ │ │ the Impact × Urgency grid that sets Priority │ │
26
- │ 3 │ SLA & Milestones │ Define SLAs to Prioritize Incidents: turn on SLA │ Not done │
27
- │ │ │ Management, then a predefined or custom policy │ │
28
- ├────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┤
29
- │ Unlock Advanced Functionality │
30
- ├────┬───────────────────────────────┬──────────────────────────────────────────────────┬──────────┤
31
- │ 4 │ Incident Dashboards │ Deploy the Incident Manager and/or Fulfiller │ Not done │
32
- │ │ │ dashboards, and dashboards on the Home page │ │
33
- │ 5 │ Email-to-Incident │ Report Incidents from Emails: email settings + │ Not done │
34
- │ │ │ routing addresses │ │
35
- │ 6 │ Major Incident Management │ Review and Manage Major Incident Configuration: │ Not done │
36
- │ │ │ approval group + the two MIM preferences │ │
37
- │ │ │ (auto-create problem, auto-close child) │ │
38
- │ 7 │ Broadcast Communications │ Set Up Broadcast Communication for Major │ Not done │
39
- │ │ │ Incidents: turn on, then sender access, channels │ │
40
- │ │ │ (Email/In-app/Slack/Teams), objects │ │
41
- │ 8 │ Manage Incidents with AI │ Auto-triage, Einstein assignment, and AI-drafted │ Not done │
42
- │ │ │ incidents from chat or voice transcripts │ │
43
- │ 9 │ Service Management Privilege │ Escalation level, privilege records + employee │ Not done │
44
- │ │ │ assignments, behind Enable Privilege Assignment │ │
45
- │ 10 │ Audit Tracking │ Turn on field history tracking for the Incident │ Not done │
46
- │ │ │ fields you choose (who changed what, and when) │ │
47
- └────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┘
48
-
49
- Reply with the numbers of the features you want to set up (one or more, e.g. `1,3`; `P` for Incident Preferences).
46
+ ```text
47
+ Incident Management is on, but its Salesforce Go setup didn't finish: Turn on Email to Incident.
50
48
  ```
51
49
 
52
50
  ## Post-feature progress (Behavior step 5)
53
51
 
54
- Example after the Incident Preferences feature completes (others still `Not done`):
52
+ Example — re-read after the Priority Matrix feature turned automatic priority on and saved the grid:
55
53
 
56
54
  ```text
57
- Incident Preferences — configured successfully
55
+ Priority Matrix — configured successfully
58
56
  (via service-itsm-agentic-setup-incident-management)
57
+ ```
59
58
 
60
- ┌────┬───────────────────────────────┬──────────┐
61
- │ # │ Feature │ Status │
62
- ├────┼───────────────────────────────┼──────────┤
63
- │ P │ Incident Preferences │ Done │
64
- │ 1 │ Incident Persona PSG │ Not done │
65
- │ 2 │ Priority Matrix │ Not done │
66
- │ 3 │ SLA & Milestones │ Not done │
67
- │ 4 │ Incident Dashboards │ Not done │
68
- │ 5 │ Email-to-Incident │ Not done │
69
- │ 6 │ Major Incident Management │ Not done │
70
- │ 7 │ Broadcast Communications │ Not done │
71
- │ 8 │ Manage Incidents with AI │ Not done │
72
- │ 9 │ Service Management Privilege │ Not done │
73
- │ 10 │ Audit Tracking │ Not done │
74
- └────┴───────────────────────────────┴──────────┘
59
+ | # | Feature | Status |
60
+ | -- | ------- | ------ |
61
+ | P | Incident Preferences | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
62
+ | 1 | Incident Persona PSG | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
63
+ | 2 | Priority Matrix | Done — turned on, 9 priority rules |
64
+ | 3 | SLA & Milestones | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
65
+ | 4 | Incident Dashboards | Done — Incident Manager dashboards are on |
66
+ | 5 | Email-to-Incident | In progress — turned on, but no routing address is set up yet |
67
+ | 6 | Major Incident Management | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
68
+ | 7 | Broadcast Communications | Not available — Broadcast Communications isn't available in this org |
69
+ | 8 | Manage Incidents with AI | Done — all three are on |
70
+ | 9 | Service Management Privilege | Done — turned on; 2 privileges; escalation level not set |
71
+ | 10 | Audit Tracking | Not done — no Incident fields are tracked yet |
75
72
 
73
+ ```text
74
+ Next up: Email-to-Incident (5) — it's on, but no routing address is set up yet.
76
75
  Say a number (or `P`) to configure the next feature, or `done` to finish.
77
76
  ```
78
77
 
78
+ When the re-read shows a feature still finishing, say so instead of calling it done — for example, right
79
+ after turning on Broadcast Communications in an org that has it:
80
+
81
+ | # | Feature | Status |
82
+ | -- | ------- | ------ |
83
+ | 7 | Broadcast Communications | In progress — Salesforce Go is turning it on now |
84
+
85
+ ```text
86
+ Salesforce Go is still turning on Broadcast Communications. Want me to check again?
87
+ ```
88
+
79
89
  ## Completion summary (Behavior step 6)
80
90
 
81
- The completion summary fires either (a) after every feature completes, or (b) when the user says they are
82
- finished — even if some features are still `Not done`. When rendering:
91
+ The completion summary fires either (a) when every row reads Done, or (b) when the user says they are
92
+ finished — even if some features aren't done. When rendering:
83
93
 
84
- - Substitute each feature's row with its actual tracked status: `Done`, `In progress`, or `Not done`.
85
- - Choose the header line based on whether every feature is `Done`:
86
- - All features `Done` → `Incident Management Setup — Complete`
87
- - Any feature still `Not done` or `In progress` → `Incident Management Setup — Finished`
88
- - Choose the closing line based on state:
89
- - All `Done` → `Your Incident Management features are configured.`
90
- - Otherwise → `You have finished the features you selected. The remaining features can be resumed later by re-invoking this orchestrator.`
94
+ - Re-read every row first, and show what the org reports. Do NOT hard-code `Done`.
95
+ - Header: `Incident Management Setup — Complete` only when every row reads Done (a row that reads Not
96
+ available doesn't count against it); otherwise `Incident Management Setup — Finished`.
97
+ - Closing line:
98
+ - Complete → `Your Incident Management features are configured.`
99
+ - Finished → name what's left, then `Run this setup again any time — it re-reads the org and picks up where setup stands.`
91
100
 
92
- Example — user finished after configuring three features:
101
+ Example — the user stopped after the Priority Matrix and a routing address for Email-to-Incident:
93
102
 
94
103
  ```text
95
104
  Incident Management Setup — Finished
96
105
  (via service-itsm-agentic-setup-incident-management)
97
106
 
98
- ┌───────────────────────────────┬──────────┐
99
- │ Feature │ Status │
100
- ├───────────────────────────────┼──────────┤
101
- │ Incident Preferences │ Done │
102
- │ Incident Persona PSG │ Not done │
103
- │ Priority Matrix │ Not done │
104
- │ SLA & Milestones │ Done │
105
- │ Incident Dashboards │ Not done │
106
- │ Email-to-Incident │ Not done │
107
- │ Major Incident Management │ Done │
108
- │ Broadcast Communications │ Not done │
109
- │ Manage Incidents with AI │ Not done │
110
- │ Service Management Privilege │ Not done │
111
- │ Audit Tracking │ Not done │
112
- └───────────────────────────────┴──────────┘
113
-
114
- You have finished the features you selected. The remaining features can be resumed later by re-invoking this orchestrator.
107
+ Target org: <org>
108
+ ```
109
+
110
+ | # | Feature | Status |
111
+ | -- | ------- | ------ |
112
+ | P | Incident Preferences | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
113
+ | 1 | Incident Persona PSG | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
114
+ | 2 | Priority Matrix | Done — turned on, 9 priority rules |
115
+ | 3 | SLA & Milestones | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
116
+ | 4 | Incident Dashboards | Done — Incident Manager dashboards are on |
117
+ | 5 | Email-to-Incident | Done — turned on; 1 routing address |
118
+ | 6 | Major Incident Management | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
119
+ | 7 | Broadcast Communications | Not available — Broadcast Communications isn't available in this org |
120
+ | 8 | Manage Incidents with AI | Done — all three are on |
121
+ | 9 | Service Management Privilege | Done — turned on; 2 privileges; escalation level not set |
122
+ | 10 | Audit Tracking | Not done — no Incident fields are tracked yet |
123
+
124
+ ```text
125
+ Left to do: designate the major-incident approval group (6) and choose the Incident fields to track (10).
126
+ Broadcast Communications isn't available in this org. Run this setup again any time — it re-reads the
127
+ org and picks up where setup stands.
128
+ ```
129
+
130
+ ## A read that fails (any step)
131
+
132
+ Show **Couldn't check** with the reason in plain words — never **Not done**:
133
+
134
+ | # | Feature | Status |
135
+ | -- | ------- | ------ |
136
+ | 6 | Major Incident Management | Couldn't check — reading this needs an admin with IT Service setup access |
137
+ | 10 | Audit Tracking | Couldn't check — the org didn't respond |
138
+
139
+ ```text
140
+ I couldn't check Major Incident Management or Audit Tracking, so I haven't marked them either way.
141
+ Want me to try again?
115
142
  ```
@@ -15,9 +15,13 @@ owns every user-facing gate. This file adds what is specific to this feature.
15
15
  changing it, and skip any already in the requested state.
16
16
  3. Confirm the exact change, write each chosen switch and read each back; mark the feature `Done` only
17
17
  when every read-back matches.
18
- 4. If triage or Einstein assignment can't be read or changed, the org lacks that switch's license (*IT
19
- Services: Agentforce Features for Employees* for triage, *IT Services: Einstein Features* for Einstein
20
- assignment): say so, skip it, and carry on with the others.
18
+ 4. If the SOR's read or change of triage or Einstein assignment is refused, read and change that switch
19
+ through the `IncidentMgmt` SOR's preference steps instead (`getOrgPref_1`, `updateOrgPref_2`,
20
+ `verify-update-org-pref`) — the same org preferences, and some orgs refuse the SOR's path even when the
21
+ switch is licensed and on; this is the one exception to stopping on a refused call. Only if that path
22
+ fails too does the org lack that switch's license (*IT Services: Agentforce Features for Employees* for
23
+ triage, *IT Services: Einstein Features* for Einstein assignment): say so, skip it, and carry on with the
24
+ others.
21
25
  5. When turning on the chat and voice switch, ask whether the org already captures transcripts (an active
22
26
  messaging channel for chat, call transcription for voice); set one up only if the user asks, through the
23
27
  SOR's channel hand-offs. Offer the SOR's smoke test only after that switch reads on — it drafts from one
@@ -1,13 +1,15 @@
1
- # Feature: Priority Matrix (delegated to the `IncidentPriorityMatrix` SOR)
1
+ # Feature: Priority Matrix (delegated to the `ItsmPriorityMatrix` SOR)
2
2
 
3
3
  How the orchestrator runs the **Priority Matrix** feature, which maps each Impact × Urgency combination on
4
- Incident to a Priority. The `IncidentPriorityMatrix` SOR's own steps and guidance decide *how*; the
4
+ Incident to a Priority. The `ItsmPriorityMatrix` SOR's own steps and guidance decide *how*; the
5
5
  orchestrator runs them itself under its **SOR hand-off protocol** and owns every user-facing gate. This file
6
6
  adds what is specific to the Priority Matrix.
7
7
 
8
8
  1. `discover` the SOR by intent (e.g. "incident priority matrix impact urgency") and `describe` the id
9
- `discover` returns (`IncidentPriorityMatrix`). Its own prerequisite checks fall under protocol step 2.
10
- 2. Read first: the org's **active** Incident `Priority` values (`describe-incident-priority-picklist` —
9
+ `discover` returns (`ItsmPriorityMatrix`). Its own prerequisite checks fall under protocol step 2. The
10
+ SOR serves Incident and Problem, so pass the entity type `Incident` on every call (`entityType` on the
11
+ `Priority` read, the matrix reads, and the save; `details` on the default-priority reads).
12
+ 2. Read first: the org's **active** Incident `Priority` values (`describe-priority-picklist` —
11
13
  never hardcode or invent them), the current rows (`fetch-priority-matrix`), both preferences
12
14
  (`read-priority-matrix-prefs`, one call each: `IncPriorityMatrixEnabled`, the *Turn on Automatic
13
15
  Priority Assignment for IT Service* toggle, and `IncPriorityOverrideEnabled`, the *Set priority
@@ -19,7 +21,7 @@ adds what is specific to the Priority Matrix.
19
21
  4. **The save is a full replacement**: `save-priority-matrix` deletes every row it isn't sent. Build the
20
22
  complete set from the fetched rows, change only the cells the user asked to change, and keep the
21
23
  override as read unless asked. Show which cells are added, changed, or removed, the resulting default,
22
- and the override state, and get an explicit yes. Re-run `describe-incident-priority-picklist` right
24
+ and the override state, and get an explicit yes. Re-run `describe-priority-picklist` right
23
25
  before the save and send only its active values. A change to only the matrix toggle or only the
24
26
  override uses `update-priority-matrix-enablement` instead, one preference per call, confirmed the same
25
27
  way.
@@ -35,8 +35,8 @@ SLAs.
35
35
  Support for Incidents* already exists: say so, **never re-seed** (the seed isn't idempotent — a second
36
36
  run duplicates every artifact), and stop unless the user explicitly asks for a custom policy. Don't
37
37
  upsell one.
38
- 4. **Read what the choice needs** — from `IncidentPriorityMatrix`, only these two reads: the active Incident
39
- `Priority` values (`describe-incident-priority-picklist`) and the matrix flag
38
+ 4. **Read what the choice needs** — from `ItsmPriorityMatrix` (entity type `Incident`), only these two
39
+ reads: the active Incident `Priority` values (`describe-priority-picklist`) and the matrix flag
40
40
  (`read-priority-matrix-prefs`, `IncPriorityMatrixEnabled`). With the matrix off, every Incident gets the
41
41
  default priority, so only that tier's milestones fire: warn plainly and point to the **Priority Matrix**
42
42
  feature. A warning, never a gate — never turn the matrix on from here.