@salesforce/afv-skills 1.65.0 → 1.65.1

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 (349) hide show
  1. package/package.json +1 -1
  2. package/skills/field-service-data-capture-form-deployer-configure/SKILL.md +2 -23
  3. package/skills/field-service-data-capture-form-designer-configure/SKILL.md +3 -13
  4. package/skills/field-service-mobile-branding-configure/SKILL.md +3 -17
  5. package/skills/field-service-objective-designer-configure/SKILL.md +379 -72
  6. package/skills/field-service-prework-brief-deployer-configure/SKILL.md +537 -10
  7. package/skills/field-service-scheduling-policy-designer-query/SKILL.md +1093 -65
  8. package/skills/field-service-sobject-create-configure/SKILL.md +213 -13
  9. package/skills/field-service-voice-to-form-configure/SKILL.md +11 -40
  10. package/skills/field-service-work-rule-designer-configure/SKILL.md +95 -121
  11. package/skills/agentforce-gpt-email-generation-configure/SKILL.md +0 -312
  12. package/skills/agentforce-wizard-ui-forecasting-analytics-components-configure/SKILL.md +0 -64
  13. package/skills/agentforce-wizard-ui-sales-einstein-components-configure/SKILL.md +0 -46
  14. package/skills/automation-company-profile-info-query/SKILL.md +0 -51
  15. package/skills/automation-digital-wallet-configure/SKILL.md +0 -689
  16. package/skills/automation-flow-coordinate/SKILL.md +0 -95
  17. package/skills/automation-flow-coordinate/references/elements/action-call/action-call.md +0 -1569
  18. package/skills/automation-flow-coordinate/references/elements/action-call/conversation-messaging.md +0 -96
  19. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-sms-message.json +0 -23
  20. package/skills/automation-flow-coordinate/references/elements/action-call/examples/send-to-journey-no-fields.json +0 -31
  21. package/skills/automation-flow-coordinate/references/elements/action-call/send-to-journey.md +0 -179
  22. package/skills/automation-flow-coordinate/references/elements/exit-rule/examples/event-email-link-click.json +0 -13
  23. package/skills/automation-flow-coordinate/references/elements/exit-rule/exit-rule.md +0 -83
  24. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/examples/forward-to-bot-or-agent.json +0 -69
  25. package/skills/automation-flow-coordinate/references/elements/forward-to-bot-or-agent/forward-to-bot-or-agent.md +0 -274
  26. package/skills/automation-flow-coordinate/references/elements/start/audience-common.md +0 -192
  27. package/skills/automation-flow-coordinate/references/elements/start/automation-event-triggered.md +0 -130
  28. package/skills/automation-flow-coordinate/references/elements/start/data-cloud-data-change-triggered.md +0 -92
  29. package/skills/automation-flow-coordinate/references/elements/start/form-submission-triggered.md +0 -88
  30. package/skills/automation-flow-coordinate/references/elements/start/segment-triggered.md +0 -152
  31. package/skills/automation-flow-coordinate/references/elements/start/start.md +0 -539
  32. package/skills/automation-flow-coordinate/references/elements/subflow/subflow.md +0 -152
  33. package/skills/automation-flow-coordinate/references/elements/wait/wait.md +0 -497
  34. package/skills/automation-flow-coordinate/references/recipes/author/author.md +0 -868
  35. package/skills/automation-flow-coordinate/references/recipes/summarize/element-generic.md +0 -300
  36. package/skills/automation-flow-coordinate/references/recipes/summarize/reference-resolution.md +0 -292
  37. package/skills/automation-flow-coordinate/references/recipes/summarize/summarize.md +0 -323
  38. package/skills/automation-flow-coordinate/references/recipes/testing/examples/debug-output-template.md +0 -109
  39. package/skills/automation-flow-coordinate/references/recipes/testing/shape.md +0 -219
  40. package/skills/automation-flow-coordinate/references/recipes/testing/shared-stages/intent-analyzer.md +0 -180
  41. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/debug.md +0 -175
  42. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/promote.md +0 -255
  43. package/skills/automation-flow-coordinate/references/recipes/testing/workflows/save-debug.md +0 -212
  44. package/skills/automation-flow-coordinate/references/resources/variable/variable.md +0 -171
  45. package/skills/automation-flow-coordinate/references/shared/anti-patterns.md +0 -786
  46. package/skills/automation-flow-coordinate/references/shared/end/end.md +0 -267
  47. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/README.md +0 -69
  48. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/predictions.jsonl +0 -80
  49. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/eval/prompts.jsonl +0 -116
  50. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/flow-type-resolver.md +0 -321
  51. package/skills/automation-flow-coordinate/references/shared/flow-type-resolver/taxonomy.json +0 -320
  52. package/skills/automation-flow-coordinate/references/shared/server-functions.md +0 -597
  53. package/skills/automotive-cloud-appraisal-management-settings-configure/SKILL.md +0 -69
  54. package/skills/automotive-cloud-dealer-essentials-configure/SKILL.md +0 -78
  55. package/skills/automotive-cloud-ground-agent-data-pipelines-configure/SKILL.md +0 -373
  56. package/skills/automotive-cloud-ground-mfg-agent-data-pipelines-configure/SKILL.md +0 -273
  57. package/skills/automotive-cloud-mfg-agent-data-pipelines-configure/SKILL.md +0 -259
  58. package/skills/automotive-cloud-mfg-sales-concierge-agent-create/SKILL.md +0 -369
  59. package/skills/automotive-cloud-mfg-sales-concierge-foundation-configure/SKILL.md +0 -542
  60. package/skills/automotive-cloud-mfg-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  61. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-agent-create/SKILL.md +0 -349
  62. package/skills/automotive-cloud-mfg-sales-concierge-orchestrator-configure/SKILL.md +0 -505
  63. package/skills/automotive-cloud-sales-concierge-agent-create/SKILL.md +0 -380
  64. package/skills/automotive-cloud-sales-concierge-foundation-configure/SKILL.md +0 -567
  65. package/skills/automotive-cloud-sales-concierge-foundation-coordinate/SKILL.md +0 -159
  66. package/skills/automotive-cloud-sales-concierge-orchestrator-agent-create/SKILL.md +0 -360
  67. package/skills/automotive-cloud-sales-concierge-orchestrator-configure/SKILL.md +0 -539
  68. package/skills/automotive-cloud-sales-concierge-search-grounding-configure/SKILL.md +0 -358
  69. package/skills/commerce-b2b-merchant-quote-configure/SKILL.md +0 -602
  70. package/skills/commerce-b2b-store-configure/SKILL.md +0 -251
  71. package/skills/commerce-credit-memo-create/SKILL.md +0 -139
  72. package/skills/commerce-delivery-business-hours-configure/SKILL.md +0 -277
  73. package/skills/commerce-delivery-estimation-apply/SKILL.md +0 -155
  74. package/skills/commerce-delivery-estimation-configure/SKILL.md +0 -377
  75. package/skills/commerce-delivery-routing-specs-integrate/SKILL.md +0 -174
  76. package/skills/commerce-estimate-bopis-query/SKILL.md +0 -279
  77. package/skills/commerce-estimate-delivery-date-query/SKILL.md +0 -349
  78. package/skills/commerce-fees-apply/SKILL.md +0 -227
  79. package/skills/commerce-fulfillment-routing-analyze/SKILL.md +0 -200
  80. package/skills/commerce-guest-buyer-create/SKILL.md +0 -173
  81. package/skills/commerce-location-bopis-configure/SKILL.md +0 -378
  82. package/skills/commerce-location-business-hours-configure/SKILL.md +0 -235
  83. package/skills/commerce-location-delivery-processing-time-configure/SKILL.md +0 -309
  84. package/skills/commerce-location-graph-integrate/SKILL.md +0 -131
  85. package/skills/commerce-location-shipping-carrier-method-configure/SKILL.md +0 -755
  86. package/skills/commerce-location-temporary-operating-hours-configure/SKILL.md +0 -331
  87. package/skills/commerce-merchant-buyer-groups-configure/SKILL.md +0 -579
  88. package/skills/commerce-merchant-buyer-user-onboarding-create/SKILL.md +0 -626
  89. package/skills/commerce-merchant-catalog-configure/SKILL.md +0 -614
  90. package/skills/commerce-merchant-extension-provider-configure/SKILL.md +0 -368
  91. package/skills/commerce-merchant-insights-account-health-churn-analyze/SKILL.md +0 -118
  92. package/skills/commerce-merchant-insights-inventory-returns-analyze/SKILL.md +0 -65
  93. package/skills/commerce-merchant-insights-order-shopper-get/SKILL.md +0 -90
  94. package/skills/commerce-merchant-insights-product-performance-analyze/SKILL.md +0 -72
  95. package/skills/commerce-merchant-insights-query/SKILL.md +0 -279
  96. package/skills/commerce-merchant-storefront-guest-access-configure/SKILL.md +0 -656
  97. package/skills/commerce-order-summary-change-apply/SKILL.md +0 -375
  98. package/skills/commerce-product-details-get/SKILL.md +0 -363
  99. package/skills/commerce-product-search/SKILL.md +0 -563
  100. package/skills/commerce-react-storefront-create/SKILL.md +0 -350
  101. package/skills/commerce-return-order-summary-create/SKILL.md +0 -513
  102. package/skills/commerce-search-relevance-analyze/SKILL.md +0 -757
  103. package/skills/commerce-temporary-processing-time-override-create/SKILL.md +0 -274
  104. package/skills/communications-initial-setup-configure/SKILL.md +0 -630
  105. package/skills/communications-multisite-configure/SKILL.md +0 -571
  106. package/skills/communications-revenue-cloud-settings-configure/SKILL.md +0 -74
  107. package/skills/communications-smb-fiber-catalog-create/SKILL.md +0 -413
  108. package/skills/communications-tmf-integrate/SKILL.md +0 -1368
  109. package/skills/consumer-goods-visit-activity-act4-questions-assign/SKILL.md +0 -448
  110. package/skills/consumer-goods-visit-activity-act5-standard-create/SKILL.md +0 -269
  111. package/skills/consumer-goods-visit-activity-act6-assortment-configure/SKILL.md +0 -271
  112. package/skills/consumer-goods-visit-activity-act7-account-scoping-create/SKILL.md +0 -382
  113. package/skills/consumer-goods-visit-activity-act8-plan-attach-create/SKILL.md +0 -373
  114. package/skills/consumer-goods-visit-activity-act9-proof-validate/SKILL.md +0 -389
  115. package/skills/consumer-goods-visit-and-activity-act1-specification-create/SKILL.md +0 -338
  116. package/skills/consumer-goods-visit-and-activity-act2-template-create/SKILL.md +0 -547
  117. package/skills/consumer-goods-visit-and-activity-act3-definition-create/SKILL.md +0 -346
  118. package/skills/consumer-goods-visit-and-activity-configure/SKILL.md +0 -1110
  119. package/skills/crm-analytics-adoption-insights-configure/SKILL.md +0 -224
  120. package/skills/crm-analytics-custom-report-type-lightning-configure/SKILL.md +0 -418
  121. package/skills/crm-analytics-dashboards-configure/SKILL.md +0 -731
  122. package/skills/crm-analytics-operational-analytics-metadata-bridge-migrate/SKILL.md +0 -233
  123. package/skills/crm-analytics-report-notifications-ui-configure/SKILL.md +0 -184
  124. package/skills/crm-analytics-sharing-inheritance-coverage-analyze/SKILL.md +0 -167
  125. package/skills/crm-analytics-sonic-getting-started-configure/SKILL.md +0 -55
  126. package/skills/crm-analytics-tableau-next-app-deploy/SKILL.md +0 -1350
  127. package/skills/crm-analytics-tableau-next-c360-basemodel-validate/SKILL.md +0 -1862
  128. package/skills/crm-analytics-tableau-next-datacloud-validate/SKILL.md +0 -83
  129. package/skills/crm-analytics-tableau-next-provisioning-validate/SKILL.md +0 -81
  130. package/skills/data360-activation-create/SKILL.md +0 -104
  131. package/skills/data360-activation-external-platform-get/SKILL.md +0 -49
  132. package/skills/data360-activation-target-create/SKILL.md +0 -93
  133. package/skills/data360-activation-v2-create/SKILL.md +0 -456
  134. package/skills/data360-audience-dmo-get/SKILL.md +0 -38
  135. package/skills/data360-calculated-affinity-create/SKILL.md +0 -82
  136. package/skills/data360-calculated-insight-create/SKILL.md +0 -148
  137. package/skills/data360-catalog-metadata-create/SKILL.md +0 -183
  138. package/skills/data360-code-extension-create/SKILL.md +0 -115
  139. package/skills/data360-communication-capping-create/SKILL.md +0 -227
  140. package/skills/data360-connection-create/SKILL.md +0 -491
  141. package/skills/data360-content-lens-create/SKILL.md +0 -181
  142. package/skills/data360-data-action-create/SKILL.md +0 -126
  143. package/skills/data360-data-action-target-create/SKILL.md +0 -181
  144. package/skills/data360-data-clean-room-create/SKILL.md +0 -238
  145. package/skills/data360-data-governance-create/SKILL.md +0 -746
  146. package/skills/data360-data-graph-create/SKILL.md +0 -82
  147. package/skills/data360-data-harmonized-model-object-reference-create/SKILL.md +0 -38
  148. package/skills/data360-data-lake-object-create/SKILL.md +0 -207
  149. package/skills/data360-data-model-object-catalog-get/SKILL.md +0 -49
  150. package/skills/data360-data-model-object-create/SKILL.md +0 -128
  151. package/skills/data360-data-model-object-mapping-create/SKILL.md +0 -106
  152. package/skills/data360-data-space-create/SKILL.md +0 -161
  153. package/skills/data360-data-streams-create/SKILL.md +0 -324
  154. package/skills/data360-engagement-signal-get/SKILL.md +0 -38
  155. package/skills/data360-experiment-create/SKILL.md +0 -82
  156. package/skills/data360-goal-based-campaign-create/SKILL.md +0 -192
  157. package/skills/data360-harmonization-process-history-get/SKILL.md +0 -38
  158. package/skills/data360-harmonized-unstructured-dmo-create/SKILL.md +0 -84
  159. package/skills/data360-identity-resolution-create/SKILL.md +0 -115
  160. package/skills/data360-intelligent-document-processing-create/SKILL.md +0 -148
  161. package/skills/data360-knowledge-graph-construction-create/SKILL.md +0 -93
  162. package/skills/data360-knowledge-graph-create/SKILL.md +0 -216
  163. package/skills/data360-knowledge-space-mcp-configure/SKILL.md +0 -475
  164. package/skills/data360-machine-learning-mcp-configure/SKILL.md +0 -697
  165. package/skills/data360-multi-org-mcp-configure/SKILL.md +0 -117
  166. package/skills/data360-secondary-index-mcp-configure/SKILL.md +0 -126
  167. package/skills/data360-segment-mcp-configure/SKILL.md +0 -159
  168. package/skills/data360-semantic-calculated-dimension-mcp-configure/SKILL.md +0 -93
  169. package/skills/data360-semantic-calculated-measurement-mcp-configure/SKILL.md +0 -93
  170. package/skills/data360-semantic-data-object-mcp-configure/SKILL.md +0 -93
  171. package/skills/data360-semantic-dimension-mcp-configure/SKILL.md +0 -38
  172. package/skills/data360-semantic-engine-mcp-configure/SKILL.md +0 -62
  173. package/skills/data360-semantic-measurement-mcp-configure/SKILL.md +0 -38
  174. package/skills/data360-semantic-metric-mcp-configure/SKILL.md +0 -93
  175. package/skills/data360-semantic-model-mcp-configure/SKILL.md +0 -115
  176. package/skills/data360-standard-mapping-mcp-configure/SKILL.md +0 -38
  177. package/skills/data360-tenant-lifecycle-mcp-configure/SKILL.md +0 -73
  178. package/skills/experience-afv-query/SKILL.md +0 -234
  179. package/skills/experience-agentforce-vibes-in-react-configure/SKILL.md +0 -63
  180. package/skills/experience-apex-components-configure/SKILL.md +0 -69
  181. package/skills/experience-apex-pages-configure/SKILL.md +0 -107
  182. package/skills/experience-app-home-configure/SKILL.md +0 -76
  183. package/skills/experience-aura-lightning-out-access-configure/SKILL.md +0 -58
  184. package/skills/experience-briefcase-configure/SKILL.md +0 -287
  185. package/skills/experience-community-flexi-page-list-create/SKILL.md +0 -74
  186. package/skills/experience-community-template-definition-list-query/SKILL.md +0 -48
  187. package/skills/experience-community-theme-definition-list-query/SKILL.md +0 -38
  188. package/skills/experience-content-assets-configure/SKILL.md +0 -86
  189. package/skills/experience-custom-domain-create/SKILL.md +0 -727
  190. package/skills/experience-defer-rendering-workspace-page-setup-configure/SKILL.md +0 -41
  191. package/skills/experience-field-service-app-builder-configure/SKILL.md +0 -187
  192. package/skills/experience-flow-category-configure/SKILL.md +0 -117
  193. package/skills/experience-formula-configure/SKILL.md +0 -358
  194. package/skills/experience-global-actions-configure/SKILL.md +0 -69
  195. package/skills/experience-global-publisher-layouts-configure/SKILL.md +0 -79
  196. package/skills/experience-instrumentation-configure/SKILL.md +0 -64
  197. package/skills/experience-lex-engagement-configure/SKILL.md +0 -50
  198. package/skills/experience-lightning-bolt-open/SKILL.md +0 -12
  199. package/skills/experience-lightning-out-configure/SKILL.md +0 -129
  200. package/skills/experience-lightning-preview-configure/SKILL.md +0 -67
  201. package/skills/experience-lightning-types-query/SKILL.md +0 -98
  202. package/skills/experience-malware-scan-configure/SKILL.md +0 -71
  203. package/skills/experience-my-salesforce-configure/SKILL.md +0 -126
  204. package/skills/experience-navigation-menus-configure/SKILL.md +0 -235
  205. package/skills/experience-notification-types-configure/SKILL.md +0 -206
  206. package/skills/experience-notifications-configure/SKILL.md +0 -75
  207. package/skills/experience-record-discovery-query/SKILL.md +0 -227
  208. package/skills/experience-regenerate-previews-open/SKILL.md +0 -94
  209. package/skills/experience-sales-cloud-mab-configure/SKILL.md +0 -254
  210. package/skills/experience-schema-builder-open/SKILL.md +0 -38
  211. package/skills/experience-simple-record-home-configure/SKILL.md +0 -110
  212. package/skills/experience-static-resources-configure/SKILL.md +0 -74
  213. package/skills/field-service-setup-coordinate/SKILL.md +0 -62
  214. package/skills/field-service-work-plan-configure/SKILL.md +0 -253
  215. package/skills/fsc-actionable-segmentation-settings-configure/SKILL.md +0 -180
  216. package/skills/fsc-digital-origination-bre-decision-matrix-foundation-create/SKILL.md +0 -196
  217. package/skills/fsc-digital-origination-bre-disclosures-consent-configure/SKILL.md +0 -106
  218. package/skills/fsc-digital-origination-bre-document-upload-configure/SKILL.md +0 -96
  219. package/skills/fsc-digital-origination-bre-permissions-assign/SKILL.md +0 -111
  220. package/skills/fsc-digital-origination-bre-setup-coordinate/SKILL.md +0 -250
  221. package/skills/fsc-digital-origination-bre-stp-eligibility-configure/SKILL.md +0 -122
  222. package/skills/fsc-digital-origination-coordinate/SKILL.md +0 -653
  223. package/skills/fsc-digital-origination-demo-run/SKILL.md +0 -225
  224. package/skills/fsc-digital-origination-execution-guardrails-validate/SKILL.md +0 -112
  225. package/skills/fsc-digital-origination-initial-setup-configure/SKILL.md +0 -396
  226. package/skills/fsc-digital-origination-pricing-setup-coordinate/SKILL.md +0 -336
  227. package/skills/fsc-digital-origination-pricing-setup-data-foundation-create/SKILL.md +0 -208
  228. package/skills/fsc-digital-origination-pricing-setup-procedure-create/SKILL.md +0 -375
  229. package/skills/fsc-digital-origination-product-setup-act1-permissions-assign/SKILL.md +0 -83
  230. package/skills/fsc-digital-origination-product-setup-coordinate/SKILL.md +0 -248
  231. package/skills/fsc-digital-origination-sample-data-create/SKILL.md +0 -206
  232. package/skills/fsc-document-checklist-settings-configure/SKILL.md +0 -57
  233. package/skills/fsc-flexible-hierarchy-configure/SKILL.md +0 -148
  234. package/skills/fsc-flexible-hierarchy-foundation-configure/SKILL.md +0 -1430
  235. package/skills/fsc-flexible-hierarchy-graph-config-create/SKILL.md +0 -471
  236. package/skills/fsc-flexible-hierarchy-rule-based-graph-deploy/SKILL.md +0 -429
  237. package/skills/fsc-pricing-product-configurator-configure/SKILL.md +0 -150
  238. package/skills/fsc-pricing-salesforce-omnistudio-switch/SKILL.md +0 -123
  239. package/skills/fsc-product-act2-catalog-categories-create/SKILL.md +0 -82
  240. package/skills/fsc-product-act3-attributes-create/SKILL.md +0 -249
  241. package/skills/fsc-product-act4-classification-assignment-create/SKILL.md +0 -196
  242. package/skills/fsc-product-act5-considerations-get/SKILL.md +0 -44
  243. package/skills/fsc-stage-management-apex-flow-deploy/SKILL.md +0 -384
  244. package/skills/fsc-stage-management-compliant-data-sharing-configure/SKILL.md +0 -144
  245. package/skills/fsc-stage-management-decision-matrices-create/SKILL.md +0 -107
  246. package/skills/fsc-stage-management-definition-assignments-create/SKILL.md +0 -189
  247. package/skills/fsc-stage-management-definition-create/SKILL.md +0 -108
  248. package/skills/fsc-stage-management-permissions-assign/SKILL.md +0 -143
  249. package/skills/fsc-stage-management-transitions-configure/SKILL.md +0 -139
  250. package/skills/health-cloud-appt-booking-config-configure/SKILL.md +0 -135
  251. package/skills/health-cloud-appt-booking-url-config-configure/SKILL.md +0 -134
  252. package/skills/health-cloud-care-provider-affl-role-config-configure/SKILL.md +0 -136
  253. package/skills/health-cloud-care-provider-search-config-configure/SKILL.md +0 -134
  254. package/skills/health-cloud-care-requests-create/SKILL.md +0 -178
  255. package/skills/health-cloud-initial-configure/SKILL.md +0 -511
  256. package/skills/health-cloud-patient-appointment-scheduling-configure/SKILL.md +0 -1374
  257. package/skills/health-cloud-provider-search-settings-configure/SKILL.md +0 -924
  258. package/skills/health-cloud-referral-management-coordinate/SKILL.md +0 -513
  259. package/skills/health-cloud-timeline-configure/SKILL.md +0 -622
  260. package/skills/health-cloud-virtual-visit-config-configure/SKILL.md +0 -135
  261. package/skills/industries-account-score-settings-query/SKILL.md +0 -78
  262. package/skills/industries-actionable-list-data-sources-dmo-configure/SKILL.md +0 -177
  263. package/skills/industries-ad-product-availability-search/SKILL.md +0 -399
  264. package/skills/industries-advanced-account-forecast-settings-configure/SKILL.md +0 -628
  265. package/skills/industries-advanced-therapy-management-settings-configure/SKILL.md +0 -73
  266. package/skills/industries-atm-settings-starter-configure/SKILL.md +0 -76
  267. package/skills/industries-batch-document-ai-configure/SKILL.md +0 -196
  268. package/skills/industries-behavioral-health-app-settings-configure/SKILL.md +0 -71
  269. package/skills/industries-branch-management-settings-configure/SKILL.md +0 -89
  270. package/skills/industries-bre-decision-table-access-configure/SKILL.md +0 -367
  271. package/skills/industries-brokerage-settings-configure/SKILL.md +0 -41
  272. package/skills/industries-calendar-sync-settings-configure/SKILL.md +0 -89
  273. package/skills/industries-care-request-settings-configure/SKILL.md +0 -218
  274. package/skills/industries-case-management-intelligence-settings-configure/SKILL.md +0 -54
  275. package/skills/industries-catalog-process-attributes-products-configure/SKILL.md +0 -380
  276. package/skills/industries-catalog-process-fulfillment-configure/SKILL.md +0 -216
  277. package/skills/industries-catalog-process-intake-configure/SKILL.md +0 -219
  278. package/skills/industries-catalog-process-knowledge-configure/SKILL.md +0 -153
  279. package/skills/industries-catalog-process-preprocessor-configure/SKILL.md +0 -168
  280. package/skills/industries-cds-general-settings-configure/SKILL.md +0 -69
  281. package/skills/industries-claim-financial-settings-configure/SKILL.md +0 -169
  282. package/skills/industries-clinical-data-model-settings-configure/SKILL.md +0 -136
  283. package/skills/industries-clinical-data-model-settings-starter-configure/SKILL.md +0 -105
  284. package/skills/industries-collection-plan-settings-configure/SKILL.md +0 -132
  285. package/skills/industries-comms-service-console-settings-configure/SKILL.md +0 -159
  286. package/skills/industries-compliance-configure/SKILL.md +0 -102
  287. package/skills/industries-compliance-document-extraction-setup-configure/SKILL.md +0 -76
  288. package/skills/industries-contact-center-app-layout-configure/SKILL.md +0 -88
  289. package/skills/industries-contact-center-components-configure/SKILL.md +0 -96
  290. package/skills/industries-contact-center-path-knowledge-configure/SKILL.md +0 -95
  291. package/skills/industries-contact-center-user-access-assign/SKILL.md +0 -96
  292. package/skills/industries-course-waitlist-config-configure/SKILL.md +0 -162
  293. package/skills/industries-crisis-center-settings-configure/SKILL.md +0 -84
  294. package/skills/industries-custom-object-settings-configure/SKILL.md +0 -94
  295. package/skills/industries-data-cloud-integration-configure/SKILL.md +0 -88
  296. package/skills/industries-data-space-feature-mappings-configure/SKILL.md +0 -245
  297. package/skills/industries-decision-matrix-builder-configure/SKILL.md +0 -78
  298. package/skills/industries-decision-table-hbase-configure/SKILL.md +0 -87
  299. package/skills/industries-decision-table-version-configure/SKILL.md +0 -74
  300. package/skills/industries-decision-tables-builder-configure/SKILL.md +0 -253
  301. package/skills/industries-decision-tables-configure/SKILL.md +0 -439
  302. package/skills/industries-energy-utilities-configure/SKILL.md +0 -251
  303. package/skills/industries-eu-cloud-multisite-configure/SKILL.md +0 -1008
  304. package/skills/industries-eu-new-connections-configure/SKILL.md +0 -30
  305. package/skills/industries-explainability-msg-template-configure/SKILL.md +0 -135
  306. package/skills/industries-expression-set-message-token-configure/SKILL.md +0 -135
  307. package/skills/industries-field-service-settings-configure/SKILL.md +0 -82
  308. package/skills/industries-form-framework-settings-configure/SKILL.md +0 -30
  309. package/skills/industries-fsc-ai-settings-configure/SKILL.md +0 -57
  310. package/skills/industries-fsc-association-engine-settings-configure/SKILL.md +0 -172
  311. package/skills/industries-fsc-b2b-settings-configure/SKILL.md +0 -61
  312. package/skills/industries-fsc-insurance-settings-configure/SKILL.md +0 -58
  313. package/skills/industries-fsc-visa-fulfillment-setup-configure/SKILL.md +0 -103
  314. package/skills/industries-fsc-wealth-agent-settings-configure/SKILL.md +0 -117
  315. package/skills/industries-fsc-wealth-settings-configure/SKILL.md +0 -99
  316. package/skills/industries-fundraising-gift-entry-settings-configure/SKILL.md +0 -120
  317. package/skills/industries-fundraising-rfm-configure/SKILL.md +0 -128
  318. package/skills/industries-fundraising-settings-configure/SKILL.md +0 -145
  319. package/skills/industries-fundraising-source-code-gen-configure/SKILL.md +0 -299
  320. package/skills/industries-google-maps-api-key-settings-configure/SKILL.md +0 -87
  321. package/skills/industries-grantmaking-intelligence-settings-open/SKILL.md +0 -58
  322. package/skills/industries-hc-score-category-settings-configure/SKILL.md +0 -167
  323. package/skills/industries-health-engagement-settings-configure/SKILL.md +0 -218
  324. package/skills/industries-home-health-agentforce-setup-configure/SKILL.md +0 -131
  325. package/skills/industries-home-health-bundling-policy-create/SKILL.md +0 -50
  326. package/skills/industries-home-health-entity-labels-configure/SKILL.md +0 -29
  327. package/skills/industries-home-health-fsl-package-deploy/SKILL.md +0 -71
  328. package/skills/industries-home-health-fsl-settings-validate/SKILL.md +0 -27
  329. package/skills/industries-home-health-guided-setup-care-and-skill-get/SKILL.md +0 -80
  330. package/skills/industries-home-health-guided-setup-configure/SKILL.md +0 -836
  331. package/skills/industries-home-health-guided-setup-enable-org-fsl-get/SKILL.md +0 -55
  332. package/skills/industries-home-health-guided-setup-get-org-ready-get/SKILL.md +0 -61
  333. package/skills/industries-home-health-licenses-assign/SKILL.md +0 -27
  334. package/skills/industries-home-health-operating-hours-create/SKILL.md +0 -40
  335. package/skills/industries-home-health-scheduling-policy-create/SKILL.md +0 -41
  336. package/skills/industries-home-health-service-objective-create/SKILL.md +0 -22
  337. package/skills/industries-home-health-skills-create/SKILL.md +0 -31
  338. package/skills/industries-home-health-users-create/SKILL.md +0 -29
  339. package/skills/industries-icm-act3-toggles-configure/SKILL.md +0 -198
  340. package/skills/industries-icm-act5-genai-suggested-assessments-configure/SKILL.md +0 -361
  341. package/skills/industries-icm-act6-mcg-integration-configure/SKILL.md +0 -550
  342. package/skills/industries-integrated-care-management-configure/SKILL.md +0 -168
  343. package/skills/industries-object-enablement-configure/SKILL.md +0 -86
  344. package/skills/industries-tpm-system-processing-service-configure/SKILL.md +0 -64
  345. package/skills/integration-apex-settings-configure/SKILL.md +0 -61
  346. package/skills/marketing-e360-email-archiving-configure/SKILL.md +0 -73
  347. package/skills/platform-custom-permissions-configure/SKILL.md +0 -687
  348. package/skills/platform-label-workbench-import-create/SKILL.md +0 -67
  349. package/skills/platform-privacy-agent-settings-configure/SKILL.md +0 -752
@@ -1,382 +0,0 @@
1
- ---
2
- name: consumer-goods-visit-activity-act7-account-scoping-create
3
- description: "Act 7 of 9: Limits which stores/accounts receive a merchandising activity by creating AsmtTskDefAcct (Assessment Task Definition Account) junction records — one per scoped account. Without this Act the activity applies org-wide to all accounts matching the Visit Specification; with scoping, only explicitly linked accounts get the activity. Depends on Act 3 (Assessment Task Definition). Part 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 7: Scope Activity to Accounts
13
-
14
- **Part of:** [9-Act Retail Execution Steel Thread](../../README.md)
15
- **Depends on:** [Act 3 - Activity Definition](../act3-activity-definition/SKILL.md)
16
- **Enables:** [Act 8 - Plan Visits & Attach](../act8-plan-and-attach/SKILL.md)
17
-
18
- **Act 7. It limits which stores get the activity. You MUST complete Act 3 (activity exists) before starting this act — scoping records reference the Assessment Task Definition.**
19
-
20
- ---
21
-
22
- ## Goal
23
-
24
- Limit which stores/accounts receive a merchandising activity by creating `AsmtTskDefAcct` (Assessment Task Definition Account) junction records. Without this Act, the activity applies org-wide to ALL accounts matching the Visit Specification. With scoping, only explicitly linked accounts get the activity.
25
-
26
- **Builder's intent:** "This promo is only in our West region stores. Don't push it to every account — just those 40 locations."
27
-
28
- **What you'll create:**
29
- 1. One `AsmtTskDefAcct` record per scoped account (bulk-inserted via Composite API)
30
-
31
- Scoping is **additive**: each record grants eligibility, it doesn't exclude others. Scoping does NOT create visits — it only limits which accounts can receive the activity when visits are created/attached.
32
-
33
- ---
34
-
35
- ## What this Act does
36
-
37
- Limits which stores/accounts receive a merchandising activity by creating `AsmtTskDefAcct` records. Each record is a junction object linking:
38
- - **AssessmentTaskDefinitionId**: the activity (from Act 3)
39
- - **AccountId**: one specific store/location
40
-
41
- 1. **Gets the accounts to scope to from the user** — the user chooses which stores get the activity (by Id or by name).
42
- 2. **Resolves the chosen accounts to Ids** via SOQL and verifies the count.
43
- 3. **Bulk-inserts `AsmtTskDefAcct` records** — one per account, via the Composite API (200/request limit).
44
- 4. **Verifies scoping** — confirms the record count matches, no duplicates, correct accounts.
45
-
46
- **Scoping vs Visit Creation (critical distinction):**
47
- - **Act 7 (this Act):** says "these accounts are eligible for this activity"
48
- - **Act 8 (Plan Visits & Attach):** actually creates visits at those accounts and attaches the activity
49
- - Scoping doesn't create visits — it just limits which accounts can receive the activity when visits are created/attached.
50
-
51
- ---
52
-
53
- ## When to use
54
-
55
- **Invoke this skill when (use scoping when):**
56
- - Activity applies to a subset of stores (region, territory, account tier)
57
- - Different activities target different account segments
58
-
59
- **Trigger phrases:**
60
- - "Only roll this out to the West region stores"
61
- - "Scope the activity to these accounts"
62
- - "Limit the promo to a subset of stores"
63
- - "Act 7" or "account scoping"
64
-
65
- ---
66
-
67
- ## Prerequisites
68
-
69
- | Act | Artifact | Required For |
70
- |-----|----------|--------------|
71
- | Act 3 | Assessment Task Definition (ATD) | The `AssessmentTaskDefinitionId` (`0Z4...`) to scope |
72
-
73
- **Accounts exist** — the stores/locations the user wants to scope to already exist in Salesforce (so they can be resolved to Ids).
74
-
75
- **Object permissions** — the running user needs:
76
- - **Create + Read on `AsmtTskDefAcct`** — to insert scoping records (Step 3–4) and read them back (Step 5).
77
- - **Read on `Account`** — to resolve chosen stores to Ids (Step 2). Without it, name→Id resolution silently returns zero rows.
78
-
79
- Check all of them in one query:
80
- ```sql
81
- SELECT Parent.Name, SobjectType, PermissionsRead, PermissionsCreate
82
- FROM ObjectPermissions
83
- WHERE SobjectType IN ('AsmtTskDefAcct','Account')
84
- ```
85
- Confirm the running user's permission sets/profile grant: `AsmtTskDefAcct` with `PermissionsCreate = true` **and** `PermissionsRead = true`; `Account` with `PermissionsRead = true`.
86
-
87
- ---
88
-
89
- ## Inputs
90
-
91
- | Variable | Description | Source | Example |
92
- |---|---|---|---|
93
- | `ORG_ALIAS` | Target org alias for `sf` CLI commands | Auth session | `my-re-org` |
94
- | `ACTIVITY_ID` | Assessment Task Definition to scope | Act 3 | `0Z4xx00000000o1CAA` |
95
- | `CHOSEN_ACCOUNTS` | The accounts (stores) the user chose to scope to — by Id or by name | User | `Store 101, Store 102` / `001xx...` |
96
- | `ACCOUNT_IDS` | The resolved list of account IDs to link | Step 2 query | `['001xx...', '001xx...']` |
97
-
98
- ### Key Concepts (reference before executing)
99
-
100
- **AsmtTskDefAcct (Assessment Task Definition Account)** — a pure junction object linking an activity to a store. Critical points:
101
-
102
- - **AssessmentTaskDefinitionId** (reference, required) — the activity from Act 3. Always the same for all records in one scoping operation.
103
- - **AccountId** (reference, required) — one store/location per record.
104
- - **No additional fields** — no name, description, or dates. It's purely a link.
105
- - **Additive** — creating multiple records is the union of scoped accounts; each grants eligibility, none excludes.
106
- - **Prospective, not retroactive** — scoping limits future assignments. Adding/removing a scoping record does NOT create or delete existing visits/tasks.
107
- - **Must overlap with Visit Spec criteria** — an account gets the activity only if it satisfies BOTH the scoping (Act 7) and the Visit Specification's criteria (Act 1).
108
-
109
- ---
110
-
111
- ## Step-by-step procedure
112
-
113
- ### Step 1: Get the accounts to scope to from the user
114
-
115
- **Ask the user which accounts (stores) should receive the activity.** There is no fixed rule or criteria engine here — scoping is a deliberate, user-chosen list of accounts. The user supplies them however is convenient:
116
-
117
- - **By account Id** — the explicit list of Account Ids to scope to.
118
- - **By account name** — names you resolve to Ids in Step 2.
119
-
120
- **Example:** the user says "scope this to Store 101, Store 102, and Store 103" (or hands you their Ids directly).
121
-
122
- ### Step 2: Resolve the chosen accounts to IDs
123
-
124
- You need the `AccountId` for each account the user chose. If they gave Ids, confirm each exists; if they gave names, resolve them to Ids.
125
-
126
- ```bash
127
- # By name — resolve each chosen store to its Id
128
- sf data query \
129
- --query "SELECT Id, Name FROM Account WHERE Name IN ('Store 101','Store 102','Store 103')" \
130
- --target-org <org-alias>
131
- ```
132
-
133
- ```bash
134
- # By Id — confirm the Ids the user gave actually exist
135
- sf data query \
136
- --query "SELECT Id, Name FROM Account WHERE Id IN ('001xx0000006i2SAAQ','001xx0000006i2TBAQ')" \
137
- --target-org <org-alias>
138
- ```
139
-
140
- **Check which accounts are already associated with this activity** — a `(AssessmentTaskDefinitionId, AccountId)` pair is unique, so re-inserting an existing one fails with `DUPLICATE_VALUE`. Query the existing scoping records and filter them out **before** building the payload (idempotent insert):
141
- ```bash
142
- sf data query \
143
- --query "SELECT Id, AccountId FROM AsmtTskDefAcct WHERE AssessmentTaskDefinitionId = '$ACTIVITY_ID' AND AccountId IN ('001xx0000006i2SAAQ','001xx0000006i2TBAQ','001xx0000006i2UCAQ')" \
144
- --target-org <org-alias>
145
- ```
146
- Any `AccountId` returned already has an `AsmtTskDefAcct` for this activity — **do not add it again.** Remove those from `ACCOUNT_IDS` so the payload contains only new accounts.
147
-
148
- **Key checks:**
149
- - Every account the user named resolved to exactly one Id — if a name matched zero or multiple accounts, confirm the right one with the user before proceeding.
150
- - Accounts already associated with this activity are filtered out of the insert payload (only genuinely new accounts remain).
151
- - The resolved account count matches what the user expects (asked for 3 stores → got 3 Ids).
152
- - Capture the resolved Ids as `ACCOUNT_IDS` for the bulk insert in Step 3.
153
-
154
- ### Step 3: Prepare bulk insert payload
155
-
156
- For scale (dozens to thousands of accounts), use the Composite API to insert all `AsmtTskDefAcct` records in one request.
157
-
158
- **Template:**
159
- ```json
160
- {
161
- "allOrNone": false,
162
- "records": [
163
- {
164
- "attributes": {"type": "AsmtTskDefAcct"},
165
- "AssessmentTaskDefinitionId": "0Z4xx00000000o1CAA",
166
- "AccountId": "001xx0000006i2SAAQ"
167
- },
168
- {
169
- "attributes": {"type": "AsmtTskDefAcct"},
170
- "AssessmentTaskDefinitionId": "0Z4xx00000000o1CAA",
171
- "AccountId": "001xx0000006i2TBAQ"
172
- }
173
- // ... one record per account
174
- ]
175
- }
176
- ```
177
-
178
- **Field notes:**
179
- - `AssessmentTaskDefinitionId`: Your Act 3 activity ID (always the same for all records in this scoping operation)
180
- - `AccountId`: One per target store (varies per record)
181
- - `attributes.type`: Must be `"AsmtTskDefAcct"` (exact spelling)
182
- - `allOrNone: false`: Continue on individual failures (e.g., one account deleted mid-operation); review failures in response
183
-
184
- ### Step 4: Bulk insert scoping records
185
-
186
- **Request:**
187
- ```http
188
- POST /services/data/v68.0/composite/sobjects
189
- Content-Type: application/json
190
- Authorization: Bearer <session_token>
191
-
192
- {
193
- "allOrNone": false,
194
- "records": [
195
- // ... your prepared records from Step 3
196
- ]
197
- }
198
- ```
199
-
200
- **Success response:**
201
- ```json
202
- [
203
- {"id": "0Z5xx000000001aCAA", "success": true},
204
- {"id": "0Z5xx000000001bCAA", "success": true},
205
- // ... one per record
206
- ]
207
- ```
208
-
209
- **Partial failure response:**
210
- ```json
211
- [
212
- {"id": "0Z5xx000000001aCAA", "success": true},
213
- {
214
- "success": false,
215
- "errors": [
216
- {
217
- "statusCode": "INVALID_FIELD",
218
- "message": "Account ID: id value of incorrect type: 001xx0000006INVALID",
219
- "fields": ["AccountId"]
220
- }
221
- ]
222
- }
223
- ]
224
- ```
225
-
226
- **Handling failures:**
227
- - Review `"success": false` entries
228
- - Common causes: deleted account, invalid ID format, duplicate scoping record
229
- - Retry failed records after fixing (don't re-insert successful ones)
230
-
231
- **Batch limits:**
232
- - Composite API limit: 200 records per request
233
- - For >200 accounts: split into batches of 200, insert sequentially or parallelize with care
234
- - For >10,000 accounts: consider Bulk API 2.0 (async, higher throughput)
235
-
236
- ### Step 5: Verify scoping
237
-
238
- Query the created `AsmtTskDefAcct` records to confirm scoping.
239
-
240
- ```bash
241
- sf data query \
242
- --query "SELECT Id, AccountId FROM AsmtTskDefAcct WHERE AssessmentTaskDefinitionId = '$ACTIVITY_ID'" \
243
- --target-org <org-alias>
244
- ```
245
-
246
- **Expected result:** one `AsmtTskDefAcct` record per account the user chose — the returned `AccountId` set matches `ACCOUNT_IDS`.
247
- ```json
248
- {
249
- "totalSize": 3,
250
- "records": [
251
- {"Id": "0Z5xx000000001aCAA", "AccountId": "001xx0000006i2SAAQ", "Account": {"Name": "Store 101"}},
252
- {"Id": "0Z5xx000000001bCAA", "AccountId": "001xx0000006i2TBAQ", "Account": {"Name": "Store 102"}},
253
- {"Id": "0Z5xx000000001cCAA", "AccountId": "001xx0000006i2UCAQ", "Account": {"Name": "Store 103"}}
254
- ]
255
- }
256
- ```
257
-
258
- ---
259
-
260
- ## Validation
261
-
262
- Confirm the scoping records exist and match the intended account set (Step 5 query + verification scenarios).
263
-
264
- ### Success Criteria
265
-
266
- - ✓ The user's chosen accounts captured and resolved to Ids (Step 1–2)
267
- - ✓ Accounts already associated with this activity were filtered out before insert (no duplicate `AsmtTskDefAcct` created)
268
- - ✓ Resolved account count matches what the user expects (e.g., asked for 3 stores → 3 Ids)
269
- - ✓ Composite API request successful (Step 4) with no failures (or failures resolved)
270
- - ✓ Verification query confirms correct record count (Step 5: one `AsmtTskDefAcct` per chosen account)
271
- - ✓ The returned `AccountId` set matches `ACCOUNT_IDS` exactly; no duplicate AccountIds
272
- - ✓ Spot-check: an account the user did NOT choose has NO scoping record
273
-
274
- ---
275
-
276
- ## End state
277
-
278
- After completing Act 7:
279
-
280
- - ✅ **`AsmtTskDefAcct` records created** — one per scoped account (e.g., 40 West stores → 40 records).
281
- - ✅ **Scoping verified** — record count matches, no duplicates, excluded accounts confirmed absent.
282
- - ✅ **The activity is now limited** to the scoped accounts (union of all linked accounts).
283
-
284
- **At this point:**
285
- - Act 7 only declares eligibility — it does NOT create visits.
286
- - No visits exist yet — Act 8 (Plan Visits & Attach) creates visits at eligible accounts and attaches the activity.
287
- - The scoping is prospective — it affects future visit creation/attachment, not any existing visits.
288
-
289
- **You are NOT done with the full setup** — this is Act 7 of 9. Proceed to Act 8 (Plan Visits & Attach).
290
-
291
- ---
292
-
293
- ## Gotchas and common errors
294
-
295
- ### 1. Scoping records created, but activity still appears everywhere
296
- **Cause 1:** Activity was already attached org-wide before scoping (Act 8 attachment ran before Act 7).
297
- **Fix:** Scoping is prospective — it doesn't retract existing attachments. Delete/deactivate unwanted `AssessmentTask` records, or start fresh.
298
-
299
- **Cause 2:** Multiple activities exist; you scoped one but not others.
300
- **Fix:** Verify `AssessmentTaskDefinitionId` matches the activity you're testing. Query all activities to see if another is org-wide.
301
-
302
- ### 2. Scoped accounts not receiving activity
303
- **Cause 1:** The Visit Specification's criteria exclude the chosen accounts — an account gets the activity only if it satisfies BOTH the Act 7 scoping (it's in the chosen list) and the Act 1 Visit Specification.
304
- **Fix:** Confirm each chosen account also satisfies the Visit Specification (Act 1). An account scoped here but excluded by the Visit Spec still won't receive the activity.
305
-
306
- **Cause 2:** No visits created at scoped accounts yet.
307
- **Fix:** Run Act 8 (Plan Visits & Attach) for the scoped accounts. Scoping doesn't create visits — it only limits eligibility.
308
-
309
- **Cause 3:** Field-level security blocks merchandiser from seeing accounts.
310
- **Fix:** Grant Read access to the Account object for the merchandiser profile.
311
-
312
- ### 3. Can't create AsmtTskDefAcct records — "insufficient privileges"
313
- **Cause:** User lacks Create permission on `AsmtTskDefAcct`.
314
- **Fix (Salesforce Admin):**
315
- 1. Setup → Profiles → [Merchandiser Profile]
316
- 2. Object Settings → Assessment Task Definition Account
317
- 3. Enable "Create" permission
318
- 4. Save
319
-
320
- ---
321
-
322
- ## Notes: best practices & architecture
323
-
324
- **Idempotent scoping.** Because of the (activity, account) unique constraint, always query existing scoping records before inserting and link only the missing accounts. This makes campaign expansion safe to re-run.
325
-
326
- **Additive scoping patterns:**
327
- - **Adding more accounts** — to scope additional stores later, insert records for them too (union). The scoped set is the union of all `AsmtTskDefAcct` records for the activity.
328
- - **Mid-campaign expansion** — when the user chooses more accounts to add, resolve them to Ids, insert `AsmtTskDefAcct` records with the same `AssessmentTaskDefinitionId`, then run Act 8 for the new accounts. Existing scoping remains intact — purely additive.
329
-
330
- **Execution order:**
331
- - **Strict:** Act 3 (create activity) → Act 7 (scope accounts).
332
- - **Flexible:** Act 7 is independent of Act 1 (Visit Spec) — run in either order. Act 7 should run BEFORE Act 8 attachment (scoping is prospective). Running Act 7 before Act 8 visit creation simplifies validation.
333
-
334
- **When to revisit this Act:** campaign expansion (add regions/accounts), account maintenance (stores close/open), scoping rule changes ("West only" → "West + Southwest"), or activity reuse in a new campaign with different scoping.
335
-
336
- **Composite API limits:** 200 records/request (hard limit); daily API limits apply (Setup → System Overview → API Usage); Bulk API 2.0 for >10,000 accounts.
337
-
338
- **Where scoping sits in the lifecycle:**
339
-
340
- ```text
341
- Activity (AssessmentTaskDefinition) ← Act 3: the concrete activity
342
- ↓ (AsmtTskDefAcct junction, one per account)
343
- Account scoping (this act) ← Act 7: which stores are eligible
344
- ↓ (must overlap with Visit Spec criteria)
345
- Plan Visits & Attach (Act 8) ← creates visits at eligible accounts, attaches activity
346
- ↓
347
- Verification (Act 9)
348
- ```
349
-
350
- Scoping limits which accounts get activities, NOT which get visits. Act 8 checks `AsmtTskDefAcct` to determine eligible accounts and only attaches the activity to visits at scoped accounts.
351
-
352
- ---
353
-
354
- ## Session state to track & handoff
355
-
356
- > **Internal only — never print this to the user.** These variables (including `act7_complete`) are orchestration bookkeeping. Track them silently to drive the gate below; do **not** echo raw variable names, IDs, or the gate flag into the conversation. When the Act finishes, tell the user only a short plain-language confirmation (e.g., "✅ Act 7 done — the activity is scoped to your chosen accounts").
357
-
358
- Pass these forward to Act 8:
359
-
360
- - `activity_id` — the `AssessmentTaskDefinitionId` scoped (carried from Act 3).
361
- - `scoped_account_ids` — the list of `AccountId`s linked via `AsmtTskDefAcct` (Act 8 attaches the activity only to visits at these accounts).
362
- - `scoping_rationale` — which accounts are scoped and why (region/tier/territory), plus date applied — for auditability.
363
- - `act7_complete` — boolean; set to `true` after the Validation checks pass.
364
-
365
- **Do NOT proceed to Act 8 until `act7_complete = true`.**
366
-
367
- ---
368
-
369
- ## Next Act
370
-
371
- Proceed to **Act 8: Plan Visits & Attach** (`../act8-plan-and-attach/SKILL.md`), which creates visits at the eligible accounts and attaches this activity to them. Act 8 checks the `AsmtTskDefAcct` scoping records to determine which accounts get the activity. Downstream: Act 9 (Verification).
372
-
373
- ---
374
-
375
- ## References
376
-
377
- - **Act 1:** [Visit Specification Setup](../act1-visit-specification/SKILL.md) ← Defines the visit criteria the chosen accounts must also satisfy
378
- - **Act 3:** [Activity Definition](../act3-activity-definition/SKILL.md) ← Prerequisite (provides the activity ID)
379
- - **Act 8:** [Plan Visits & Attach](../act8-plan-and-attach/SKILL.md) ← Next step (creates visits, attaches activity; respects scoping)
380
- - **Act 9:** [Verification](../act9-verification/SKILL.md) ← End-to-end test of the full visit
381
- - **9-Act Steel Thread README:** [../../README.md](../../README.md) ← Full flow
382
- - **Object Reference:** Salesforce `AsmtTskDefAcct` (Assessment Task Definition Account) object documentation