@salesforce/afv-skills 1.65.0 → 1.66.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 (379) hide show
  1. package/package.json +1 -1
  2. package/skills/agentforce-offline-experimentation-run/SKILL.md +16 -15
  3. package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +3 -245
  4. package/skills/dx-devops-work-item-manage/SKILL.md +34 -17
  5. package/skills/dx-devops-work-item-manage/examples/common-workflows.md +49 -0
  6. package/skills/dx-devops-work-item-manage/references/commit-api.md +116 -0
  7. package/skills/experience-lwc-widget-assess/SKILL.md +79 -0
  8. package/skills/experience-lwc-widget-migrate/SKILL.md +50 -0
  9. package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
  10. package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
  11. package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
  12. package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
  13. package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
  14. package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
  15. package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
  16. package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
  17. package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
  18. package/skills/platform-role-hierarchy-apply/SKILL.md +177 -0
  19. package/skills/platform-widget-generate/SKILL.md +58 -41
  20. package/skills/platform-widget-generate/references/widget-bundle-validation.md +14 -0
  21. package/skills/service-agentforce-contact-center-coordinate/SKILL.md +1 -1
  22. package/skills/service-agentforce-contact-center-coordinate/references/number_management_api.md +11 -1
  23. package/skills/service-agentforce-contact-center-coordinate/scripts/fetch-numbers.sh +12 -6
  24. package/skills/service-agentforce-contact-center-coordinate/scripts/lib.sh +16 -0
  25. package/skills/service-agentforce-contact-center-coordinate/scripts/procure-number.sh +2 -1
  26. package/skills/service-concierge-portal-generate/references/portal-deploy-runbook.md +24 -11
  27. package/skills/service-digital-engagement-channel-configure/SKILL.md +25 -14
  28. package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +143 -0
  29. package/skills/service-digital-engagement-deployment-configure/SKILL.md +61 -12
  30. package/skills/service-digital-engagement-deployment-configure/references/connect_api_creation.md +14 -5
  31. package/skills/service-digital-engagement-deployment-configure/references/onboarding_contract.md +146 -0
  32. package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +23 -13
  33. package/skills/service-itsm-agentic-setup-incident-management/references/incident-persona-psg.md +7 -6
  34. package/skills/service-itsm-agentic-setup-incident-management/references/incident-preferences.md +9 -10
  35. package/skills/service-itsm-agentic-setup-incident-management/references/major-incident-management.md +6 -6
  36. package/skills/service-itsm-agentic-setup-incident-management/references/service-mgmt-privilege.md +1 -1
  37. package/skills/service-itsm-agentic-setup-incident-sla-configure/SKILL.md +34 -25
  38. package/skills/service-itsm-agentic-setup-incident-sla-configure/examples/milestone-patterns.md +1 -1
  39. package/skills/service-itsm-agentic-setup-incident-sla-configure/references/mcp-invocation.md +90 -86
  40. package/skills/service-itsm-agentic-setup-incident-sla-configure/references/workflow.md +63 -38
  41. package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
  42. package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
  43. package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
  44. package/skills/automation-company-profile-info-query/SKILL.md +0 -51
  45. package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
  46. package/skills/automation-flow-coordinate/SKILL.md +0 -95
  47. package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
  48. package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
  49. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
  50. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
  51. package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
  52. package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
  53. package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
  54. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
  55. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
  56. package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
  57. package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
  58. package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
  59. package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
  60. package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
  61. package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
  62. package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
  63. package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
  64. package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
  65. package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
  66. package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
  67. package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
  68. package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
  69. package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
  70. package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
  71. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
  72. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
  73. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
  74. package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
  75. package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
  76. package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
  77. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
  78. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
  79. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
  80. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
  81. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
  82. package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
  83. package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
  84. package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
  85. package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
  86. package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
  87. package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
  88. package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
  89. package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
  90. package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  91. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
  92. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
  93. package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
  94. package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
  95. package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  96. package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
  97. package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
  98. package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
  99. package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
  100. package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
  101. package/skills/commerce-credit-memo-create/SKILL.md +0 -139
  102. package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
  103. package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
  104. package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
  105. package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
  106. package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
  107. package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
  108. package/skills/commerce-fees-apply/SKILL.md +0 -227
  109. package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
  110. package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
  111. package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
  112. package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
  113. package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
  114. package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
  115. package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
  116. package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
  117. package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
  118. package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
  119. package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
  120. package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
  121. package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
  122. package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
  123. package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
  124. package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
  125. package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
  126. package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
  127. package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
  128. package/skills/commerce-product-details-get/SKILL.md +0 -363
  129. package/skills/commerce-product-search/SKILL.md +0 -563
  130. package/skills/commerce-react-storefront-create/SKILL.md +0 -350
  131. package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
  132. package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
  133. package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
  134. package/skills/communications-initial-setup-configure/SKILL.md +0 -630
  135. package/skills/communications-multisite-configure/SKILL.md +0 -571
  136. package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
  137. package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
  138. package/skills/communications-tmf-integrate/SKILL.md +0 -1368
  139. package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
  140. package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
  141. package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
  142. package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
  143. package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
  144. package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
  145. package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
  146. package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
  147. package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
  148. package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
  149. package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
  150. package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
  151. package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
  152. package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
  153. package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
  154. package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
  155. package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
  156. package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
  157. package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
  158. package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
  159. package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
  160. package/skills/data360-activation-create/SKILL.md +0 -104
  161. package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
  162. package/skills/data360-activation-target-create/SKILL.md +0 -93
  163. package/skills/data360-activation-v2-create/SKILL.md +0 -456
  164. package/skills/data360-audience-dmo-get/SKILL.md +0 -38
  165. package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
  166. package/skills/data360-calculated-insight-create/SKILL.md +0 -148
  167. package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
  168. package/skills/data360-code-extension-create/SKILL.md +0 -115
  169. package/skills/data360-communication-capping-create/SKILL.md +0 -227
  170. package/skills/data360-connection-create/SKILL.md +0 -491
  171. package/skills/data360-content-lens-create/SKILL.md +0 -181
  172. package/skills/data360-data-action-create/SKILL.md +0 -126
  173. package/skills/data360-data-action-target-create/SKILL.md +0 -181
  174. package/skills/data360-data-clean-room-create/SKILL.md +0 -238
  175. package/skills/data360-data-governance-create/SKILL.md +0 -746
  176. package/skills/data360-data-graph-create/SKILL.md +0 -82
  177. package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
  178. package/skills/data360-data-lake-object-create/SKILL.md +0 -207
  179. package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
  180. package/skills/data360-data-model-object-create/SKILL.md +0 -128
  181. package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
  182. package/skills/data360-data-space-create/SKILL.md +0 -161
  183. package/skills/data360-data-streams-create/SKILL.md +0 -324
  184. package/skills/data360-engagement-signal-get/SKILL.md +0 -38
  185. package/skills/data360-experiment-create/SKILL.md +0 -82
  186. package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
  187. package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
  188. package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
  189. package/skills/data360-identity-resolution-create/SKILL.md +0 -115
  190. package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
  191. package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
  192. package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
  193. package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
  194. package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
  195. package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
  196. package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
  197. package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
  198. package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
  199. package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
  200. package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
  201. package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
  202. package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
  203. package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
  204. package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
  205. package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
  206. package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
  207. package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
  208. package/skills/experience-afv-query/SKILL.md +0 -234
  209. package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
  210. package/skills/experience-apex-components-configure/SKILL.md +0 -69
  211. package/skills/experience-apex-pages-configure/SKILL.md +0 -107
  212. package/skills/experience-app-home-configure/SKILL.md +0 -76
  213. package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
  214. package/skills/experience-briefcase-configure/SKILL.md +0 -287
  215. package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
  216. package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
  217. package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
  218. package/skills/experience-content-assets-configure/SKILL.md +0 -86
  219. package/skills/experience-custom-domain-create/SKILL.md +0 -727
  220. package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
  221. package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
  222. package/skills/experience-flow-category-configure/SKILL.md +0 -117
  223. package/skills/experience-formula-configure/SKILL.md +0 -358
  224. package/skills/experience-global-actions-configure/SKILL.md +0 -69
  225. package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
  226. package/skills/experience-instrumentation-configure/SKILL.md +0 -64
  227. package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
  228. package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
  229. package/skills/experience-lightning-out-configure/SKILL.md +0 -129
  230. package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
  231. package/skills/experience-lightning-types-query/SKILL.md +0 -98
  232. package/skills/experience-malware-scan-configure/SKILL.md +0 -71
  233. package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
  234. package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
  235. package/skills/experience-notification-types-configure/SKILL.md +0 -206
  236. package/skills/experience-notifications-configure/SKILL.md +0 -75
  237. package/skills/experience-record-discovery-query/SKILL.md +0 -227
  238. package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
  239. package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
  240. package/skills/experience-schema-builder-open/SKILL.md +0 -38
  241. package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
  242. package/skills/experience-static-resources-configure/SKILL.md +0 -74
  243. package/skills/field-service-setup-coordinate/SKILL.md +0 -62
  244. package/skills/field-service-work-plan-configure/SKILL.md +0 -253
  245. package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
  246. package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
  247. package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
  248. package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
  249. package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
  250. package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
  251. package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
  252. package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
  253. package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
  254. package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
  255. package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
  256. package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
  257. package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
  258. package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
  259. package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
  260. package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
  261. package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
  262. package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
  263. package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
  264. package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
  265. package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
  266. package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
  267. package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
  268. package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
  269. package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
  270. package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
  271. package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
  272. package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
  273. package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
  274. package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
  275. package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
  276. package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
  277. package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
  278. package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
  279. package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
  280. package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
  281. package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
  282. package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
  283. package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
  284. package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
  285. package/skills/health-cloud-initial-configure/SKILL.md +0 -511
  286. package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
  287. package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
  288. package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
  289. package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
  290. package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
  291. package/skills/industries-account-score-settings-query/SKILL.md +0 -78
  292. package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
  293. package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
  294. package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
  295. package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
  296. package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
  297. package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
  298. package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
  299. package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
  300. package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
  301. package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
  302. package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
  303. package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
  304. package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
  305. package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
  306. package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
  307. package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
  308. package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
  309. package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
  310. package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
  311. package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
  312. package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
  313. package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
  314. package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
  315. package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
  316. package/skills/industries-compliance-configure/SKILL.md +0 -102
  317. package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
  318. package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
  319. package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
  320. package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
  321. package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
  322. package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
  323. package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
  324. package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
  325. package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
  326. package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
  327. package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
  328. package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
  329. package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
  330. package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
  331. package/skills/industries-decision-tables-configure/SKILL.md +0 -439
  332. package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
  333. package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
  334. package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
  335. package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
  336. package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
  337. package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
  338. package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
  339. package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
  340. package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
  341. package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
  342. package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
  343. package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
  344. package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
  345. package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
  346. package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
  347. package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
  348. package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
  349. package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
  350. package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
  351. package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
  352. package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
  353. package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
  354. package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
  355. package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
  356. package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
  357. package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
  358. package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
  359. package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
  360. package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
  361. package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
  362. package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
  363. package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
  364. package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
  365. package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
  366. package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
  367. package/skills/industries-home-health-skills-create/SKILL.md +0 -31
  368. package/skills/industries-home-health-users-create/SKILL.md +0 -29
  369. package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
  370. package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
  371. package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
  372. package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
  373. package/skills/industries-object-enablement-configure/SKILL.md +0 -86
  374. package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
  375. package/skills/integration-apex-settings-configure/SKILL.md +0 -61
  376. package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
  377. package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
  378. package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
  379. package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
@@ -1,389 +0,0 @@
1
- ---
2
- name: consumer-goods-visit-activity-act9-proof-validate
3
- description: "Act 9 of 9: THE PROOF BEAT - verifies the end-to-end chain worked: each visit created in Act 8 carries the activity, its store-level questions, and its store's products. Uses Connect APIs (store-check, product-survey) per visitId — iterating the visits from Act 8. Depends on Act 8. Final act of the 9-Act Retail Execution steel thread."
4
- metadata:
5
- version: "1.0"
6
- cliTools:
7
- - tool:
8
- - "sf"
9
- semver: ">=2.0.0"
10
- ---
11
-
12
- # Act 9: Verify the Merchandiser Gets the Activity (THE PROOF BEAT)
13
-
14
- **Part of:** [9-Act Retail Execution Steel Thread](../../README.md)
15
- **Depends on:** [Act 8 - Plan Visits & Attach](../act8-plan-and-attach/SKILL.md)
16
- **Enables:** Mobile execution (steel thread complete)
17
-
18
- **Act 9 is the FINAL act — the proof beat for the whole setup. You MUST have completed Act 8 (plan visits & attach) first — at least one visit must exist with the activity attached. Skip only if you'll verify manually later; but if Act 9 passes, the merchandiser can execute the visit in the mobile app with full context.**
19
-
20
- ---
21
-
22
- ## Goal
23
-
24
- Prove the chain works end-to-end: from Visit Specification (Act 1) through Activity Definition (Act 3), Questions (Act 4), Assortments (Act 6), Scoping (Act 7), to Visit Planning & Attachment (Act 8). For each visit created in Act 8, verify the visit actually carries the activity, with its store-level questions and that store's products, inside the validity window.
25
-
26
- **Builder's intent:** "Prove it. Show me a rep's visit actually carries the promo activity, with its questions and that store's products, inside the window."
27
-
28
- **What you'll create:**
29
- 1. Nothing — this Act is **read-only**. It runs verification calls (Connect APIs) and produces a pass/fail verification report.
30
-
31
- **Definition of done:** End-to-end verification complete — each Act 8 visit carries the activity, its store-level questions, and store-specific products, inside the validity window. Ready to execute in the Retail Execution mobile app.
32
-
33
- ---
34
-
35
- ## What this Act does
36
-
37
- This is **Act 9** (FINAL) of the visit-and-activity-setup orchestration — the **PROOF BEAT** that verifies the entire chain composed correctly. Iterating **per visit created in Act 8** (whose Ids are already in memory from Act 8 — do NOT re-discover them with a SOQL query), it confirms for each visit:
38
-
39
- 1. **The activity is attached** — `store-check` returns the visit context with the activity on `taskDefinitions[]`.
40
- 2. **Store-level questions are present** — the visit-level questions where `assessmentContext = "Store"`.
41
- 3. **Product rows carry the assessment** — `product-survey` returns the store's products, and at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs; the product-level indicators where `assessmentContext = "StoreInStore"` are present.
42
- 4. **Validity window is honored** — the visit's `plannedVisitStartTime` is within the activity's `validFrom`/`validTo` (both already in memory from Act 3).
43
-
44
- It uses **two Connect APIs**, both keyed on `visitId`: `store-check` (visit context + activity attachment + store-level questions) and `product-survey` (store-specific product rows + product-level indicators).
45
-
46
- **Builder's mental model:** "Prove it. Show me a rep's visit actually carries the promo activity, with its questions and that store's products, inside the window."
47
-
48
- ---
49
-
50
- ## When to use
51
-
52
- **Invoke this skill when:**
53
- - You've completed Act 8 (plan visits & attach) and want to prove the setup works.
54
- - Before handing off to field merchandisers — the final gate before mobile execution.
55
- - The user asks to "verify", "prove it works", "check the merchandiser gets the activity", or "run the proof beat".
56
-
57
- **Trigger phrases:**
58
- - "Prove the whole thing works"
59
- - "Verify the merchandiser gets the activity"
60
- - "Run the end-to-end check"
61
- - "Act 9" or "verification" or "proof beat"
62
-
63
- **Skip this Act when:**
64
- - You'll verify manually later (e.g., directly in the mobile app).
65
- - You only ran a partial setup and aren't ready to prove the full chain.
66
-
67
- ---
68
-
69
- ## Prerequisites
70
-
71
- | Act | Artifact | Required For |
72
- |-----|----------|--------------|
73
- | Act 8 | At least one visit with the activity attached (visit Ids in memory) | There must be something to verify |
74
- | Act 3 | Activity validity window (`validFrom`/`validTo` in memory) | Validity-window check |
75
- | Act 4 | Merchandiser name + user Id already known | Reporting only — no SOQL lookup |
76
-
77
- **The merchandiser is already known.** The merchandiser's name and user Id are carried in memory from the prior acts — Act 9 does NOT look them up by email or user Id, and does NOT query visits by user. Verification runs **per `visitId`**, iterating the visits Act 8 created.
78
-
79
- **Activity validity window includes the visit dates** — if a visit's `plannedVisitStartTime` falls outside the activity's `validFrom`/`validTo`, the activity won't show for that visit. Adjust the validity window in Act 3 or re-plan the visit in Act 8.
80
-
81
- **Standard survey activities must exist for the SAME Internal Org Unit** — `product-survey` requires the org's standard survey activities (Facing, Price Survey, Distribution) to be configured **on the activity's own IOU**. These are discovered through a **standard template** — an `AsmtTskDefTmpl` with `IsStandardTask = true` scoped to that IOU — with a standard product-check `AssessmentTaskDefinition` (`IsStandardTask = true`) beneath it whose `StoreInStore` indicators carry `AssessmentKpi = Facing` / `PriceSurvey` / `Distribution`. **A standard template configured on a *different* IOU does not count** — the API resolves them per-IOU. If they're absent for this IOU, `product-survey` returns:
82
-
83
- ```json
84
- [{"errorCode": "RESOURCE_NOT_FOUND",
85
- "message": "Facing, price survey, and distribution are required standard survey activities. Ask your Salesforce admin to configure them."}]
86
- ```
87
-
88
- This is an **org/admin provisioning prerequisite owned upstream** (not something Acts 1–8 create). If you hit this error, surface it as a gap for the Salesforce admin — name the IOU that lacks a standard survey template and stop the product-survey check for that visit. Do **not** fabricate the standard template/activities to work around it.
89
-
90
- ---
91
-
92
- ## Inputs
93
-
94
- Received from previous Acts (orchestrator integration):
95
- ```yaml
96
- activityName: "Q1 Promotion Compliance" # from Act 3
97
- validFrom: "2026-03-01" # from Act 3
98
- validTo: "2026-03-14" # from Act 3
99
- visitIds: ["0Z5...", "0Z5..."] # from Act 8 — the visits to verify
100
- merchandiserName: "..." # from prior acts (reporting only)
101
- merchandiserUserId: "005..." # from prior acts (reporting only)
102
- ```
103
-
104
- **Expected output** (returned to orchestrator):
105
- ```yaml
106
- verificationPassed: true
107
- visitsVerified: 2 # count of Act 8 visits that passed
108
- activityAttached: true # activity on every verified visit
109
- storeQuestionsPresent: true # assessmentContext = "Store" indicators present
110
- productAssessmentPresent: true # ≥1 product carries an assessment task + AIDs
111
- validityWindowHonored: true
112
- ```
113
-
114
- ### Key Concepts (reference before executing)
115
-
116
- **End-to-end verification** — a read-only, per-`visitId` sweep that confirms every prior Act composed correctly. Critical points:
117
-
118
- - **Two Connect APIs, both keyed on `visitId`:**
119
- - **store-check** — `GET /services/data/v68.0/connect/industries/retail/visit-execution/store-check?visitId=...` — returns the visit context, the activity attachment on `taskDefinitions[]`, and the store-level questions. Verify the indicators where `assessmentContext = "Store"`.
120
- - **product-survey** — `GET /services/data/v68.0/connect/industries/retail/visit-execution/product-survey?visitId=...` — returns the store's product rows. Verify the indicators where `assessmentContext = "StoreInStore"`, and confirm at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs.
121
- - **`assessmentContext` scopes what to verify** — store-level questions carry `assessmentContext = "Store"` (verified on `store-check`); product-level indicators carry `assessmentContext = "StoreInStore"` (verified on `product-survey`). Verify only the context that belongs to each call.
122
- - **Product detail is NOT validated** — there is no source of truth for exact product names or counts, so do NOT assert specific SKUs, counts, or per-store differences. The only product assertion is presence: at least one product carries an assessment task with its AIDs.
123
- - **All calls are read-only** — no create/update/delete, no MDAPI/metadata.
124
-
125
- **Connect API response shapes (v68.0):**
126
-
127
- *store-check* — returns the visit context and a `metadata` roll-up (task/indicator counts). When a **store-level** activity (`assessmentContext = "Store"`) is attached, its questions surface under `taskDefinitions[].indicatorDefinitions[]`; when none is attached, `taskDefinitions[]` is empty and `metadata.totalTaskDefinitions` is `0`:
128
- ```json
129
- {
130
- "accountId": "001...",
131
- "internalOrganizationUnitId": "0gJ...",
132
- "metadata": {
133
- "answeredIndicatorDefinitions": 0,
134
- "mandatoryIndicatorDefinitions": 0,
135
- "totalIndicatorDefinitions": 1,
136
- "totalTaskDefinitions": 1
137
- },
138
- "plannedVisitStartTime": "2026-03-03T09:00:00.000Z",
139
- "plannedVisitEndTime": "2026-03-03T19:00:00.000Z",
140
- "responseStatus": null,
141
- "taskDefinitions": [
142
- {
143
- "assessmentTaskDefinitionId": "0Z4...",
144
- "description": "Promo Compliance Check",
145
- "indicatorDefinitions": [
146
- {
147
- "assessmentIndDefinitionId": "0eu...",
148
- "assessmentTaskIndDefinitionId": "0dt...",
149
- "assessmentKpi": "Display Up?",
150
- "assessmentContext": "Store",
151
- "dataType": "Boolean",
152
- "displayOrder": 1
153
- }
154
- ]
155
- }
156
- ],
157
- "visitDate": "2026-03-03",
158
- "visitId": "0Z5...",
159
- "visitSpecId": "1cb...",
160
- "visitSpecName": "visit execution"
161
- }
162
- ```
163
-
164
- > The populated `taskDefinitions[]`/`indicatorDefinitions[]` block above is the **expected shape** when a store-level activity is attached; its field names mirror product-survey's (below), differing only in `assessmentContext = "Store"`. If no store-context activity is attached, store-check returns `"taskDefinitions": []` with `totalTaskDefinitions: 0` — that is a data state (nothing to verify at the store level), not an API failure.
165
-
166
- *product-survey* — returns the visit context, a `metadata` roll-up with `totalProducts`, and a `products[]` array; each product carries `taskDefinitions[].indicatorDefinitions[]` (the product-level KPI questions, `assessmentContext = "StoreInStore"`) with their AIDs. This block is an **actual org payload** (v68.0), trimmed to the fields that matter for verification:
167
- ```json
168
- {
169
- "accountId": "001...",
170
- "internalOrganizationUnitId": "0gJ...",
171
- "metadata": {
172
- "answeredIndicatorDefinitions": 0,
173
- "totalIndicatorDefinitions": 3,
174
- "totalProducts": 4,
175
- "totalTaskDefinitions": 1
176
- },
177
- "products": [
178
- {
179
- "productId": "01t...",
180
- "productCategory": "Beverages",
181
- "productSource": "Assortment",
182
- "computedFields": { "Product2.Name": "Product1" },
183
- "taskDefinitions": [
184
- {
185
- "assessmentTaskDefinitionId": "0Z4LT00000002OR0AY",
186
- "assessmentTaskId": null,
187
- "description": "ATD Product Check Standard",
188
- "displayOrder": 0,
189
- "isStandardTask": true,
190
- "taskType": "InventoryCheck",
191
- "indicatorDefinitions": [
192
- {
193
- "assessmentIndDefinitionId": "0euLT00000006vAYAQ",
194
- "assessmentTaskIndDefinitionId": "0dtLT000000S6XDYA0",
195
- "assessmentKpi": "Facing",
196
- "assessmentContext": "StoreInStore",
197
- "dataType": "String",
198
- "displayOrder": 1
199
- }
200
- // ... Distribution, PriceSurvey (same shape, assessmentContext = "StoreInStore")
201
- ]
202
- }
203
- ]
204
- }
205
- // ... more products (Coca Cola, Limca, Pepsi — productSource "Planned" or "Assortment")
206
- ],
207
- "visitId": "0Z5...",
208
- "visitSpecId": "1cb..."
209
- }
210
- ```
211
-
212
- The AIDs on each indicator are `assessmentTaskDefinitionId` (the ATD), `assessmentIndDefinitionId`, and `assessmentTaskIndDefinitionId` — whichever the payload carries. Note `assessmentTaskId` is `null` here (the ATD/indicator *definitions* are surfaced, not per-run `AssessmentTask` records).
213
-
214
- ---
215
-
216
- ## Step-by-step procedure
217
-
218
- ### Step 1: Authenticate
219
-
220
- Confirm you're pointed at the right org:
221
-
222
- ```bash
223
- sf org display --target-org <org-alias>
224
- ```
225
-
226
- The merchandiser's name and user Id are already in memory from the prior acts. The visit Ids to verify come from Act 8 (in memory). Iterate over each `visitId` and run Steps 2–4 per visit.
227
-
228
- ### Step 2: Verify the activity + store-level questions via store-check
229
-
230
- For each Act 8 `visitId`, call `store-check`:
231
-
232
- ```bash
233
- GET /services/data/v68.0/connect/industries/retail/visit-execution/store-check?visitId=0Z5xx0000000000AAA
234
- ```
235
-
236
- From the response (see the shape in Key Concepts):
237
- - Confirm the **activity is attached** — `taskDefinitions[]` is non-empty (or `metadata.totalTaskDefinitions ≥ 1`) and an entry's `description` matches the activity name from Act 3.
238
- - Confirm the **store-level questions are present** — under `taskDefinitions[].indicatorDefinitions[]`, verify the indicators where **`assessmentContext = "Store"`** (e.g., "Display Up?"). Verify only the `"Store"` context here.
239
-
240
- **Verification checklist (per visit):**
241
- - [ ] `store-check` returns the visit context
242
- - [ ] Activity is attached (`taskDefinitions[]` non-empty; `description` matches the Act 3 activity)
243
- - [ ] At least one indicator with `assessmentContext = "Store"` is present
244
-
245
- ### Step 3: Verify products + assessment via product-survey
246
-
247
- For the same `visitId`, call `product-survey`:
248
-
249
- ```bash
250
- GET /services/data/v68.0/connect/industries/retail/visit-execution/product-survey?visitId=0Z5xx0000000000AAA
251
- ```
252
-
253
- From the response:
254
- - Confirm **at least one product carries the assessment** — some entry in `products[]` has a non-empty `taskDefinitions[]`, and that task carries its corresponding AIDs: the ATD (`assessmentTaskDefinitionId`), the indicator definition (`assessmentIndDefinitionId`), and the task-indicator definition (`assessmentTaskIndDefinitionId`). These are the *definition* IDs; `assessmentTaskId` is `null` until the per-run `AssessmentTask` is created during mobile execution — so verify the definition AIDs, not `assessmentTaskId`.
255
- - Confirm the **product-level indicators** where **`assessmentContext = "StoreInStore"`** are present under those `taskDefinitions[].indicatorDefinitions[]`. Verify only the `"StoreInStore"` context here.
256
- - **Do NOT** validate specific product names, counts, or per-store differences — there is no source of truth for product detail. Presence of the assessment + its definition AIDs is the assertion.
257
-
258
- **Verification checklist (per visit):**
259
- - [ ] `product-survey` returns product rows (`metadata.totalProducts` > 0)
260
- - [ ] At least one product carries an assessment task (`taskDefinitions[]`) with its definition AIDs
261
- - [ ] At least one indicator with `assessmentContext = "StoreInStore"` is present
262
-
263
- ### Step 4: Verify the validity window is honored
264
-
265
- Using the `plannedVisitStartTime` returned by `store-check` (Step 2) and the activity's `validFrom`/`validTo` (already in memory from Act 3), confirm the visit falls inside the window — no query required:
266
-
267
- - `plannedVisitStartTime >= validFrom`
268
- - `plannedVisitStartTime <= validTo`
269
-
270
- **Verification checklist (per visit):**
271
- - [ ] `plannedVisitStartTime` is within `validFrom`/`validTo`
272
-
273
- Repeat Steps 2–4 for every visit Id carried from Act 8.
274
-
275
- ---
276
-
277
- ## Validation
278
-
279
- Confirm the checks pass for every Act 8 visit, using the two Connect APIs.
280
-
281
- ### Success Criteria
282
-
283
- Act 9 is complete when, for each visit created in Act 8, ALL of the following are verified:
284
-
285
- 1. ✓ **Activity is attached** — `store-check` returns the visit with the activity on `taskDefinitions[]` (matching the Act 3 activity).
286
- 2. ✓ **Store-level questions are present** — at least one `store-check` indicator with `assessmentContext = "Store"`.
287
- 3. ✓ **Product assessment is present** — `product-survey` returns product rows and at least one product carries an assessment task (`taskDefinitions[]`) with its corresponding AIDs, plus at least one indicator with `assessmentContext = "StoreInStore"`.
288
- 4. ✓ **Validity window is honored** — the visit's `plannedVisitStartTime` is within the activity's `validFrom`/`validTo`.
289
-
290
- **Failure patterns (surface as gaps)** — if any of these are true for a visit, Act 9 has NOT passed for that visit:
291
-
292
- | Condition | Gap Type | Surface As |
293
- |-----------|----------|------------|
294
- | Activity not attached to visit | **Critical** | "Activity '<activity name>' not attached to visit <visitId>. Verify Visit Spec match (Act 1, Act 3) and validity window (Act 3, Act 8)." |
295
- | No store-level questions (`assessmentContext = "Store"`) | **Critical** | "No store-level questions on visit <visitId>. Return to Act 4 and add the visit-level question(s)." |
296
- | No product assessment (no product carries a task/AIDs, or no `StoreInStore` indicators) | **High** | "No product-level assessment for visit <visitId>. Verify the store's assortment (Act 6) and that the activity includes assortments (Act 3)." |
297
- | `product-survey` returns `RESOURCE_NOT_FOUND` — "Facing, price survey, and distribution are required standard survey activities" | **High** (org prerequisite) | "The activity's Internal Org Unit <iouId> has no standard survey template. Ask your Salesforce admin to configure the standard survey activities (Facing/PriceSurvey/Distribution) for THIS IOU — a template on another IOU does not apply. Do not fabricate them." |
298
- | Visit outside validity window | **Critical** | "Visit <visitId> plannedVisitStartTime is outside the activity validFrom/validTo range. Extend the window (Act 3) or re-plan the visit (Act 8)." |
299
-
300
- ---
301
-
302
- ## End state
303
-
304
- After completing Act 9, for each Act 8 visit:
305
-
306
- - ✅ **Visit carries the activity** — verified via `store-check` `taskDefinitions[]`.
307
- - ✅ **Store-level questions present** — indicators with `assessmentContext = "Store"` (e.g., "Display Up?").
308
- - ✅ **Product assessment present** — at least one product carries an assessment task with its AIDs, and product-level indicators with `assessmentContext = "StoreInStore"` are present.
309
- - ✅ **Visit is within the validity window** — `plannedVisitStartTime` is between `validFrom` and `validTo`.
310
-
311
- ```text
312
- ✅ Act 9 Complete: End-to-end verification passed!
313
-
314
- Summary (per Act 8 visit):
315
- • Activity: "Promo Compliance Check" attached to every verified visit
316
- • Store-level questions: present (assessmentContext = "Store")
317
- • Product assessment: present (≥1 product carries a task + AIDs; StoreInStore indicators present)
318
- • Validity Window: honored (visits within validFrom/validTo)
319
-
320
- 🎉 THE STEEL THREAD IS COMPLETE!
321
- ```
322
-
323
- **Finish line:** The merchandiser can now open the Retail Execution mobile app, see the visit in their schedule, tap into it, and find the activity with its questions and products ready to capture data.
324
-
325
- **This IS the last Act — the full 9-Act setup is DONE.**
326
-
327
- **Out of scope / deferred** (set expectations — NOT part of Act 9):
328
- - **Mobile app execution** — Act 9 only verifies the data is in place; tapping buttons in the app is out of scope.
329
- - **Data capture and sync** — the app writes captured answers (`AssessmentIndValue`) during execution; Act 9 doesn't create these.
330
- - **Reporting and analytics** — reports/dashboards on completion rates, answer distributions, and product compliance are a separate workstream.
331
- - **Assignment** — merchandiser-to-account assignment (`AccountTeamMemberPeriod`) is owned upstream and verified in Act 8; Act 9 does not re-check it.
332
- - **Product-detail validation** — exact product names, counts, and per-store differences are not asserted (no source of truth).
333
-
334
- ---
335
-
336
- ## Notes: best practices & architecture
337
-
338
- **This Act is read-only — no create/update/delete, no MDAPI/metadata.** The proof beat observes; it never mutates.
339
-
340
- **Verification runs per `visitId` through the two Connect APIs** (`store-check`, `product-survey`). Iterate the visit Ids from Act 8 — do NOT re-discover visits with a SOQL query, and do NOT look up the merchandiser (name and user Id are already in memory from the prior acts).
341
-
342
- **`assessmentContext` scopes each check.** Verify `assessmentContext = "Store"` indicators on `store-check`, and `assessmentContext = "StoreInStore"` indicators on `product-survey`. Confirm at least one product carries an assessment task with its AIDs; do not assert product names or counts.
343
-
344
- **Where verification sits in the lifecycle:**
345
- ```text
346
- Plan Visits & Attach (Act 8) → Verification (this act) → Mobile execution (out of scope)
347
- ↑ read-only proof beat AssessmentIndValue / sync
348
- ```
349
-
350
- **Agent implementation flow:** take the visit Ids from Act 8 → for each `visitId`, call `store-check` (confirm activity attachment + `assessmentContext = "Store"` questions) → call `product-survey` (confirm ≥1 product carries an assessment task + AIDs and `assessmentContext = "StoreInStore"` indicators) → check the validity window from the returned `plannedVisitStartTime` against `validFrom`/`validTo` in memory → return `verificationPassed`, `visitsVerified`, and any failures to the orchestrator. Typical progress narration:
351
-
352
- ```text
353
- ⏳ Executing Act 9 verification...
354
- - Verifying visit 0Z5...AAA via store-check... ✅ Activity attached, "Store" question present
355
- - Verifying products via product-survey... ✅ Assessment present (StoreInStore indicators + AIDs)
356
- - Checking validity window... ✅ Within validFrom/validTo
357
- - Verifying visit 0Z5...BBB via store-check... ✅ Activity attached, "Store" question present
358
- ✅ Act 9 Complete: Verification passed! Ready to execute in mobile app.
359
- ```
360
-
361
- ---
362
-
363
- ## Session state to track & handoff
364
-
365
- > **Internal only — never print this to the user.** These variables (including `act9_complete`) are orchestration bookkeeping. Track them silently; do **not** echo raw variable names, IDs, or the gate flag into the conversation. When verification finishes, tell the user only a short plain-language confirmation (e.g., "✅ Act 9 done — verified end-to-end; each visit carries the activity, its questions, and store products").
366
-
367
- This is the final Act — there is no downstream Act to hand off to, but maintain these for orchestration bookkeeping and audit:
368
-
369
- - `verified_visit_ids` — the Act 8 visit Ids that passed verification.
370
- - `activity_attached` — boolean; the activity is on every verified visit.
371
- - `store_questions_present` — boolean; `assessmentContext = "Store"` indicators present.
372
- - `product_assessment_present` — boolean; ≥1 product carries an assessment task + AIDs and `assessmentContext = "StoreInStore"` indicators present.
373
- - `validity_window_honored` — boolean; every visit's `plannedVisitStartTime` is within `validFrom`/`validTo`.
374
- - `act9_complete` — boolean; set to `true` after all verification checks pass for every Act 8 visit.
375
-
376
- **If `act9_complete = true`, the steel thread is DONE.** The merchandiser can execute the visit in the mobile app.
377
-
378
- ---
379
-
380
- ## References
381
-
382
- - **Act 1:** [Visit Specification](../act1-visit-specification/SKILL.md) ← The foundational Visit Specification all visits reference
383
- - **Act 3:** [Activity Definition](../act3-activity-definition/SKILL.md) ← Where the activity's `validFrom`/`validTo` and `VisitSpecId` are set
384
- - **Act 4:** [Add Questions](../act4-add-questions/SKILL.md) ← Where questions are added to the activity
385
- - **Act 6:** [Assortment-Based Configuration](../act6-assortment-based/SKILL.md) ← Where store-specific assortments are configured
386
- - **Act 8:** [Plan Visits & Attach](../act8-plan-and-attach/SKILL.md) ← Attachment path + assignment (prerequisite)
387
- - **9-Act Steel Thread README:** [../../README.md](../../README.md) ← Full flow
388
- - **Connect APIs:** `/connect/industries/retail/visit-execution/store-check` and `/product-survey` (v68.0+, if published)
389
- - **Salesforce Object Reference:** `Visit`, `AssessmentTask`, `AssessmentTaskDefinition`, `AssessmentTaskIndDefinition`