@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,336 +0,0 @@
1
- ---
2
- name: fsc-digital-origination-pricing-setup-coordinate
3
- description: "End-to-end orchestrator for Digital Origination (Digital Lending) pricing after Initial Setup and Product Catalog Management are complete. Routes an unqualified \"set up lending pricing\" request through nested pricing sub-skills for permissions, pricing data, Business Rules Engine decision tables and NGPDefaultRecipe mapping, engine-specific configuration, and pricing procedure creation. Product Configurator is the default Digital Lending engine; Salesforce Pricing is an explicit alternative. Use this skill for the whole ordered journey, and use a sibling directly for a narrowed request such as \"create the pricing decision tables\" or \"configure the lending pricing procedure\"."
4
- metadata:
5
- version: "1.0"
6
- ---
7
-
8
- # Digital Origination pricing setup orchestrator
9
-
10
- Orchestrate pricing for **Digital Origination**, whose underlying APIs and setup artifacts still use
11
- the **Digital Lending** name. This skill owns sequencing and state transfer. It does not duplicate the
12
- implementation contracts maintained by its nested pricing sub-skills.
13
-
14
- ## Mandatory prerequisites
15
-
16
- Before routing to a pricing sibling, verify:
17
-
18
- 1. Digital Origination Initial Setup is complete. If not, route to
19
- `fsc-mandalorians/digital-origination-initial-setup` and stop pricing setup.
20
- 2. Product Catalog Management is complete: catalog, category or classification, lending products,
21
- product attributes, and required product relationships exist.
22
- 3. The target org alias and acting admin are explicit.
23
- 4. The admin has supplied or approved the products, base rates, effective dates, credit-score tiers,
24
- and term tiers. Documentation examples are not customer defaults.
25
- 5. The pricing engine is known. Use **Product Configurator** when no alternative is requested. Use
26
- **Salesforce Pricing** only when the admin explicitly selects it.
27
-
28
- ## Ordered journey
29
-
30
- ```text
31
- Initial Setup (existing sibling)
32
- |
33
- Product Catalog Management (assumed complete)
34
- |
35
- 1. Pricing permissions
36
- |
37
- 2. Product List Rate data
38
- |
39
- 3. ProductListRateDT
40
- |
41
- 4. Credit-score data
42
- |
43
- 5. CreditScoreBasedAdjustmentDT
44
- |
45
- 6. Term data
46
- |
47
- 7. TermBasedAdjustmentDT
48
- |
49
- 8. NGPDefaultRecipe mapping
50
- |
51
- 9A. Product Configurator attributes (default) OR 9B. Salesforce Pricing OmniStudio wiring
52
- |
53
- 10. Pricing procedure for the selected engine
54
- |
55
- 11. End-to-end verification
56
- ```
57
-
58
- Run one sibling at a time. Do not continue after a sibling reports a blocking prerequisite or a
59
- manual checkpoint that has not been completed.
60
-
61
- ### Step 1 - Pricing permissions and Core Pricing preference
62
-
63
- Delegate to nested skill `permissions` (emitted SOR
64
- `fsc-mandalorians/digital-origination-pricing-setup-permissions`) with hints such as:
65
-
66
- - "assign Digital Lending pricing permission sets"
67
- - "Salesforce Pricing Design Time and Run Time access"
68
- - "Rule Engine Designer and Rule Engine User assignments"
69
- - "enable the org CorePricingPreference / Salesforce Pricing preference"
70
-
71
- This step also enables the org-level `CorePricingPreference` toggle (via the `CorePricingSetting` SOR),
72
- a hard prerequisite that gates every downstream pricing feature. Required handoff: target user IDs,
73
- resolved permission-set IDs/API names, license assignments, a fresh verification of every required
74
- assignment, and confirmation that `CorePricingPreference` reads enabled.
75
-
76
- ### Step 2 - Product List Rate data
77
-
78
- Delegate to nested skill `data-foundation` (emitted SOR
79
- `fsc-mandalorians/digital-origination-pricing-setup-data-foundation`) first in `product-list-rate` phase
80
- mode, with hints such as:
81
-
82
- - "create Product List Rate records"
83
-
84
- Required handoff: actual Product List Rate object/field API names, Product List Rate IDs, and the
85
- product IDs each record references.
86
-
87
- ### Step 3 - ProductListRateDT
88
-
89
- Delegate to nested skill `decision-tables` (emitted SOR
90
- `fsc-mandalorians/digital-origination-pricing-setup-decision-tables`) in `product-list-rate` phase mode,
91
- with hints such as:
92
-
93
- - "create ProductListRateDT"
94
-
95
- Required handoff: active ID/version for `ProductListRateDT`.
96
-
97
- ### Step 4 - Credit-score data foundation
98
-
99
- Return to nested skill `data-foundation` in `credit-score` phase mode to
100
- create or verify the Rate Adjustment By Credit Score schema and customer-approved records. Required
101
- handoff: actual source-object/field API names and score-tier record IDs.
102
-
103
- ### Step 5 - Credit-score decision table
104
-
105
- Return to nested skill `decision-tables` in `credit-score` phase mode to
106
- create, refresh, and activate `CreditScoreBasedAdjustmentDT`.
107
-
108
- Required handoff: active ID/version for `CreditScoreBasedAdjustmentDT`.
109
-
110
- ### Step 6 - Term data foundation
111
-
112
- Return to nested skill `data-foundation` in `term` phase mode to create or verify the Rate
113
- Adjustment By Term schema and records. Required handoff: source-object/field API names and tier IDs.
114
-
115
- ### Step 7 - Term decision table
116
-
117
- Return to nested skill `decision-tables` in `term` phase mode to create, refresh, and
118
- activate `TermBasedAdjustmentDT`.
119
-
120
- Required handoff: active ID/version for `TermBasedAdjustmentDT`.
121
-
122
- ### Step 8 - NGPDefaultRecipe mapping
123
-
124
- Return to nested skill `decision-tables` in `recipe` phase only after all three tables are
125
- Active. Required handoff: recipe ID and verified mappings for all three table IDs/component types.
126
-
127
- ### Step 9A - Product Configurator branch (default)
128
-
129
- Delegate to nested skill `product-configurator` (emitted SOR
130
- `fsc-mandalorians/digital-origination-pricing-setup-product-configurator`) with hints such as:
131
-
132
- - "make Loan Term price impacting"
133
- - "hide Credit Score and make it price impacting"
134
- - "configure Product Configurator attributes for lending pricing"
135
-
136
- Required handoff: product-classification and attribute IDs plus read-back of `isPriceImpacting` and
137
- `isHidden` for Loan Term, Credit Score, and Loan Amount.
138
-
139
- ### Step 9B - Salesforce Pricing branch (explicit alternative)
140
-
141
- Delegate to nested skill `salesforce-pricing-omnistudio` (emitted SOR
142
- `fsc-mandalorians/digital-origination-pricing-setup-salesforce-pricing-omnistudio`) with hints such as:
143
-
144
- - "switch Digital Lending from Product Configurator to Salesforce Pricing"
145
- - "repoint DigitalLendingApplicantIntake to DigitalLendingViewOffer"
146
- - "replace the Digital Lending final-offer Integration Procedure"
147
-
148
- Required handoff: original and new versions of both OmniScripts and both FlexCards, with verified
149
- component references. Never run this branch in addition to 9A unless explicitly requested.
150
-
151
- ### Step 10 - Pricing procedure
152
-
153
- Delegate to nested skill `pricing-procedure` (emitted SOR
154
- `fsc-mandalorians/digital-origination-pricing-setup-pricing-procedure`) with hints such as:
155
-
156
- - "create LendingProductConfigContext"
157
- - "create digital_lending_AppFormProductProposalConfigProc"
158
- - "add Pricing Setting, List Price, and Price Adjustment Matrix elements"
159
-
160
- Pass the selected engine, three active decision-table IDs, recipe ID, source field names, and any
161
- engine-specific attribute or OmniStudio results. Required handoff: context-definition ID, expression
162
- set/procedure ID, active version, ordered element configuration, and procedure/recipe binding.
163
-
164
- **Org feature-gate prerequisite (org-verified).** This step depends on **one**
165
- org feature gate that is **separate from licenses and permission sets**: **Context Service**
166
- (`ContextResourceFamily`) for the context definition. A closed gate returns 403
167
- `FUNCTIONALITY_NOT_ENABLED`. Enable it headlessly first (org-verified primary path):
168
- `PUT /connect/contextservice/access/contextServiceEnabled/{orgId}` body `{"isEnabled":true}` → 200; the
169
- UI toggle at `/lightning/setup/ContextServiceSettings/home` is the fallback only if the PUT is
170
- unavailable. Confirm the gate is open with a live 200 from `GET /connect/context-definitions` before
171
- proceeding; the `permissions` sibling owns the enable + verification. **The pricing procedure itself is
172
- NOT gate-blocked** — build it via the un-gated BRE endpoint `POST /connect/business-rules/expression-set`
173
- (not `/connect/core-pricing/expression-set`, which is a separate gated surface that is not required).
174
- `LendingProductConfigContext` is a **standard** context that already exists active on the target org — reuse
175
- it, do not recreate. Full matrix and the verified create body live in the `permissions` and
176
- `pricing-procedure` siblings.
177
-
178
- ## Narrowed requests
179
-
180
- | User request | Route |
181
- |---|---|
182
- | Assign pricing access only | Nested `permissions` |
183
- | Create rate objects or seed pricing records | Nested `data-foundation` |
184
- | Create decision tables or update `NGPDefaultRecipe` | Nested `decision-tables` |
185
- | Configure Product Configurator pricing attributes | Nested `product-configurator` |
186
- | Switch OmniStudio to Salesforce Pricing | Nested `salesforce-pricing-omnistudio` |
187
- | Create or repair the pricing procedure | Nested `pricing-procedure` |
188
-
189
- For a narrowed request, validate that its upstream artifacts exist. Do not silently run the entire
190
- journey when the user explicitly asks for one part.
191
-
192
- ## Shared invariants
193
-
194
- - Read before write; reuse matching artifacts by API name and verified shape.
195
- - Never infer customer rates, tiers, effective dates, products, or users.
196
- - Preserve unrelated recipe mappings, expression-set steps, product attributes, and component JSON.
197
- - Treat asynchronous states as in progress, not success.
198
- - A guided Setup checkpoint is a valid partial outcome only when the relevant headless write is absent
199
- or unverified. State exactly what remains and resume after confirmation.
200
- - Each sibling must produce fresh read-back evidence before this orchestrator advances.
201
- - **Deploy-first for custom source objects.** Tables 2/3 (`CreditScoreBasedAdjustmentDT`,
202
- `TermBasedAdjustmentDT`) may be reported DEFERRED only after nested `data-foundation` attempted the
203
- `Rate_Adjustment_By_Credit_Score__c` / `Rate_Adjustment_By_Term__c` deploy AND nested
204
- `decision-tables` ran a probe DT create against the deployed source AND every resolution predicate
205
- was satisfied. A DEFERRED report without deploy + probe evidence is not accepted; re-invoke the
206
- deploy-first sequence.
207
-
208
- ## Definition of done
209
-
210
- The full journey is complete only when:
211
-
212
- 1. Required permission-set and license assignments are verified, and the org-level
213
- `CorePricingPreference` reads enabled.
214
- 2. Product List Rate, credit-score tiers, and term tiers exist with the approved values.
215
- 3. `ProductListRateDT` is active and refreshed. `CreditScoreBasedAdjustmentDT` and
216
- `TermBasedAdjustmentDT` are either active-and-refreshed OR reported DEFERRED with the deploy-first
217
- evidence bundle attached (deploy attempted per `data-foundation` Step 2, probe DT create attempted
218
- per `decision-tables` Source-object gate, rejection payload captured, resolution predicates
219
- verified). Presumed-DEFERRED without evidence is a run failure.
220
- 4. `NGPDefaultRecipe` contains the intended mappings without losing existing mappings.
221
- 5. The selected engine's prerequisite configuration is verified.
222
- 6. `LendingProductConfigContext` and the selected pricing procedure exist, are active, and contain the
223
- expected ordered elements and variables.
224
- 7. `NGPDefaultRecipe` is re-read after procedure creation and points to that verified procedure while
225
- retaining all intended decision-table mappings.
226
- 8. Every manual checkpoint or unresolved gap is explicitly reported. A partial run is never reported
227
- as complete.
228
-
229
- ## Individual sibling reference
230
-
231
- | Sibling | Responsibility | Primary corpus reuse |
232
- |---|---|---|
233
- | `permissions` | Pricing licenses, permission sets, and the CorePricingPreference org toggle | `entity/authorization-experience/PermSets` + `CorePricingSetting` |
234
- | `data-foundation` | Rate objects, fields, and records | Metadata API + sObject REST pattern |
235
- | `decision-tables` | Three BRE tables, activation, recipe mapping | BRE Taurus + Industries Pricing Connect APIs |
236
- | `product-configurator` | Price-impacting/hidden attributes | EPC reads + verified sObject/UI checkpoint |
237
- | `salesforce-pricing-omnistudio` | Salesforce Pricing component repointing | OmniStudio Phoenix + Orion APIs |
238
- | `pricing-procedure` | Context and engine-specific procedure | Context Service + Industries Pricing/Expression Set APIs |
239
-
240
- These are nested source skills. Project Codey compiles each to a parent-qualified sibling SOR and adds
241
- formal `delegates_to` steps to this parent. Run the Path-B harness on this parent `SKILL.md`; the family
242
- is merged, ingested, and served together.
243
-
244
- <!-- skill-validate: ignore-start -->
245
- <!-- codey:operations start -->
246
- ## Operations Reference
247
-
248
- Operations this skill uses — routing and dependency reference.
249
-
250
- | Operation | Purpose | Status | Call | Depends on |
251
- |-----------|---------|--------|------|------------|
252
- | `delegate-digital-origination-pricing-setup-permissions` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-permissions` | — |
253
- | `delegate-digital-origination-pricing-setup-data-foundation` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-data-foundation` | `delegate-digital-origination-pricing-setup-permissions` |
254
- | `delegate-digital-origination-pricing-setup-decision-tables` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-decision-tables` | `delegate-digital-origination-pricing-setup-data-foundation` |
255
- | `delegate-digital-origination-pricing-setup-product-configurator` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-product-configurator` | `delegate-digital-origination-pricing-setup-decision-tables` |
256
- | `delegate-digital-origination-pricing-setup-salesforce-pricing-omnistudio` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-salesforce-pricing-omnistudio` | `delegate-digital-origination-pricing-setup-decision-tables` |
257
- | `delegate-digital-origination-pricing-setup-pricing-procedure` | delegate | — | → `fsc-mandalorians/digital-origination-pricing-setup-pricing-procedure` | `delegate-digital-origination-pricing-setup-product-configurator`, `delegate-digital-origination-pricing-setup-salesforce-pricing-omnistudio` |
258
- | `verify-pricing-simulation` | verify | — | `POST /connect/core-pricing/pricing` | `delegate-digital-origination-pricing-setup-pricing-procedure` |
259
- | `preflight-context-service-and-lending-context` | verify | — | `GET /connect/context-definitions/LendingProductConfigContext__stdctx` | `delegate-digital-origination-pricing-setup-permissions` |
260
- | `helper-generate-simulation-input` | read | — | `GET /connect/core-pricing/simulationInputVariablesWithData` | `delegate-digital-origination-pricing-setup-pricing-procedure` |
261
- | `permissions-confirm-org-and-target-user` | read | — | `GET /services/data/v63.0/query` | — |
262
- | `permissions-resolve-permission-sets-by-name` | read | — | `GET /services/data/v63.0/query` | `permissions-confirm-org-and-target-user` |
263
- | `permissions-assign-required-license` | write | — | `POST /services/data/v63.0/sobjects/PermissionSetLicenseAssign` | `permissions-resolve-permission-sets-by-name` |
264
- | `permissions-assign-permission-sets` | write | — | `POST /services/data/v63.0/sobjects/PermissionSetAssignment` | `permissions-assign-required-license` |
265
- | `permissions-read-core-pricing-preference` | read | — | `GET /services/data/v67.0/setup/org/preferences/CorePricingPreference` | `permissions-assign-permission-sets` |
266
- | `permissions-enable-core-pricing-preference` | write | — | `PATCH /services/data/v67.0/setup/org/preferences/CorePricingPreference` | `permissions-read-core-pricing-preference` |
267
- | `permissions-enable-context-service` | write | — | `PUT /services/data/v63.0/connect/contextservice/access/contextServiceEnabled/{orgId}` | `permissions-enable-core-pricing-preference` |
268
- | `permissions-verify-context-service-live` | verify | — | `GET /services/data/v63.0/connect/context-definitions` | `permissions-enable-context-service` |
269
- | `permissions-verify-assignments-and-preferences` | verify | — | `GET /services/data/v63.0/query` | `permissions-verify-context-service-live` |
270
- | `data-foundation-describe-product-list-rate-object` | read | — | `GET /services/data/v63.0/sobjects/ProductListRate/describe` | — |
271
- | `data-foundation-discover-credit-score-term-source-objects` | read | — | `GET /services/data/v63.0/query` | — |
272
- | `data-foundation-deploy-custom-object-shell` | write | — | `POST /services/data/v63.0/headless/metadata/CustomObject` | `data-foundation-discover-credit-score-term-source-objects` |
273
- | `data-foundation-deploy-custom-fields` | write | — | `POST /services/data/v63.0/tooling/sobjects/CustomField` | `data-foundation-deploy-custom-object-shell` |
274
- | `data-foundation-deploy-fls-permission-set` | write | — | `POST /services/data/v63.0/headless/metadata/PermissionSet` | `data-foundation-deploy-custom-fields` |
275
- | `data-foundation-assign-fls-permission-set` | write | — | `POST /services/data/v63.0/sobjects/PermissionSetAssignment` | `data-foundation-deploy-fls-permission-set` |
276
- | `data-foundation-verify-custom-object-describe` | verify | — | `GET /services/data/v63.0/sobjects/{objectApiName}/describe` | `data-foundation-deploy-custom-object-shell`, `data-foundation-deploy-custom-fields`, `data-foundation-assign-fls-permission-set` |
277
- | `data-foundation-query-existing-product-list-rate-records` | read | — | `GET /services/data/v63.0/query` | `data-foundation-describe-product-list-rate-object` |
278
- | `data-foundation-create-product-list-rate-records` | write | — | `POST /services/data/v63.0/sobjects/ProductListRate` | `data-foundation-query-existing-product-list-rate-records` |
279
- | `data-foundation-verify-product-list-rate-records` | verify | — | `GET /services/data/v63.0/query` | `data-foundation-create-product-list-rate-records` |
280
- | `data-foundation-query-existing-credit-score-adjustment-records` | read | — | `GET /services/data/v63.0/query` | `data-foundation-verify-custom-object-describe` |
281
- | `data-foundation-create-credit-score-adjustment-records` | write | — | `POST /services/data/v63.0/sobjects/Rate_Adjustment_By_Credit_Score__c` | `data-foundation-query-existing-credit-score-adjustment-records` |
282
- | `data-foundation-verify-credit-score-adjustment-records` | verify | — | `GET /services/data/v63.0/query` | `data-foundation-create-credit-score-adjustment-records` |
283
- | `data-foundation-query-existing-term-adjustment-records` | read | — | `GET /services/data/v63.0/query` | `data-foundation-verify-custom-object-describe` |
284
- | `data-foundation-create-term-adjustment-records` | write | — | `POST /services/data/v63.0/sobjects/Rate_Adjustment_By_Term__c` | `data-foundation-query-existing-term-adjustment-records` |
285
- | `data-foundation-verify-term-adjustment-records` | verify | — | `GET /services/data/v63.0/query` | `data-foundation-create-term-adjustment-records` |
286
- | `decision-tables-resolve-existing-decision-table` | read | — | `GET /services/data/v63.0/connect/omnistudio/decision-tables` | — |
287
- | `decision-tables-create-product-list-rate-dt` | write | — | `POST /services/data/v63.0/connect/business-rules/decision-table/definitions` | `decision-tables-resolve-existing-decision-table` |
288
- | `decision-tables-materialize-dt-sobject-fields` | write | — | `PATCH /services/data/v63.0/sobjects/DecisionTable/{Id}` | `decision-tables-create-product-list-rate-dt` |
289
- | `decision-tables-activate-decision-table-version` | write | — | `PATCH /services/data/v63.0/connect/business-rules/decision-table/definitions/{decisionTableId}/versions` | `decision-tables-materialize-dt-sobject-fields` |
290
- | `decision-tables-refresh-decision-table` | write | — | `POST /services/data/v63.0/connect/decision-table/refresh` | `decision-tables-activate-decision-table-version` |
291
- | `decision-tables-verify-hbase-materialization` | verify | — | `GET /services/data/v63.0/query` | `decision-tables-refresh-decision-table` |
292
- | `decision-tables-probe-custom-source-eligibility` | validate | — | `POST /services/data/v63.0/connect/business-rules/decision-table/definitions` | `decision-tables-resolve-existing-decision-table` |
293
- | `decision-tables-list-and-read-ngp-default-recipe` | read | — | `GET /services/data/v63.0/connect/core-pricing/recipe` | `decision-tables-verify-hbase-materialization` |
294
- | `decision-tables-resolve-recipe-mapping-parameters` | read | — | `GET /services/data/v63.0/connect/core-pricing/recipe/mapping/parameters` | `decision-tables-list-and-read-ngp-default-recipe` |
295
- | `decision-tables-map-product-list-rate-to-recipe` | write | — | `POST /services/data/v63.0/connect/core-pricing/recipe/mapping` | `decision-tables-resolve-recipe-mapping-parameters` |
296
- | `decision-tables-verify-recipe-mapping` | verify | — | `GET /services/data/v63.0/connect/core-pricing/recipe/{pricingRecipeId}` | `decision-tables-map-product-list-rate-to-recipe` |
297
- | `product-configurator-resolve-existing-attributes` | read | — | `GET /services/data/v63.0/query` | — |
298
- | `product-configurator-create-credit-score-attribute` | write | — | `POST /services/data/v63.0/sobjects/AttributeDefinition` | `product-configurator-resolve-existing-attributes` |
299
- | `product-configurator-activate-credit-score-attribute` | write | — | `PATCH /services/data/v63.0/sobjects/AttributeDefinition/{Id}` | `product-configurator-create-credit-score-attribute` |
300
- | `product-configurator-create-loan-amount-attribute` | write | — | `POST /services/data/v63.0/sobjects/AttributeDefinition` | `product-configurator-resolve-existing-attributes` |
301
- | `product-configurator-activate-loan-amount-attribute` | write | — | `PATCH /services/data/v63.0/sobjects/AttributeDefinition/{Id}` | `product-configurator-create-loan-amount-attribute` |
302
- | `product-configurator-assign-credit-score-to-classification` | write | — | `POST /services/data/v63.0/sobjects/ProductClassificationAttr` | `product-configurator-activate-credit-score-attribute` |
303
- | `product-configurator-assign-loan-amount-to-classification` | write | — | `POST /services/data/v63.0/sobjects/ProductClassificationAttr` | `product-configurator-activate-loan-amount-attribute` |
304
- | `product-configurator-set-flags-credit-score` | write | — | `PATCH /services/data/v63.0/sobjects/ProductClassificationAttr/{Id}` | `product-configurator-assign-credit-score-to-classification` |
305
- | `product-configurator-set-flags-loan-amount` | write | — | `PATCH /services/data/v63.0/sobjects/ProductClassificationAttr/{Id}` | `product-configurator-assign-loan-amount-to-classification` |
306
- | `product-configurator-set-flags-loan-term` | write | — | `PATCH /services/data/v63.0/sobjects/ProductClassificationAttr/{Id}` | `product-configurator-resolve-existing-attributes` |
307
- | `product-configurator-verify-final-attribute-state` | verify | — | `GET /services/data/v63.0/query` | `product-configurator-set-flags-credit-score`, `product-configurator-set-flags-loan-amount`, `product-configurator-set-flags-loan-term` |
308
- | `salesforce-pricing-omnistudio-find-omniscript-versions` | read | — | `GET /services/data/v63.0/connect/omni-designer/omni-process-list` | — |
309
- | `salesforce-pricing-omnistudio-read-omniscript-element-tree` | read | — | `GET /services/data/v63.0/connect/omni-designer/omniprocess/{omniProcessId}` | `salesforce-pricing-omnistudio-find-omniscript-versions` |
310
- | `salesforce-pricing-omnistudio-clone-omniscript-process` | write | — | `POST /services/data/v63.0/connect/omni-designer/clone-omni-process` | `salesforce-pricing-omnistudio-read-omniscript-element-tree` |
311
- | `salesforce-pricing-omnistudio-delete-offer-configurator-element` | write | — | `POST /services/data/v63.0/connect/omni-designer/os/delete-omni-process-element` | `salesforce-pricing-omnistudio-clone-omniscript-process` |
312
- | `salesforce-pricing-omnistudio-insert-view-offer-element` | write | — | `POST /services/data/v63.0/connect/omni-designer/os/insert-omni-process-element` | `salesforce-pricing-omnistudio-delete-offer-configurator-element` |
313
- | `salesforce-pricing-omnistudio-build-save-compile-omniscript` | write | — | `POST /services/data/v63.0/connect/omni-designer/os/build-json` | `salesforce-pricing-omnistudio-insert-view-offer-element` |
314
- | `salesforce-pricing-omnistudio-verify-cloned-omniscript-element-tree` | verify | — | `GET /services/data/v63.0/connect/omni-designer/omniprocess/{omniProcessId}` | `salesforce-pricing-omnistudio-build-save-compile-omniscript` |
315
- | `salesforce-pricing-omnistudio-activate-omniscript-version` | write | — | `POST /services/data/v63.0/connect/omni-designer/upsert-omni-process` | `salesforce-pricing-omnistudio-verify-cloned-omniscript-element-tree` |
316
- | `salesforce-pricing-omnistudio-verify-omniscript-activation` | verify | — | `GET /services/data/v63.0/connect/omni-designer/omni-process-list` | `salesforce-pricing-omnistudio-activate-omniscript-version` |
317
- | `salesforce-pricing-omnistudio-resolve-card-and-active-version` | read | — | `GET /services/data/v63.0/connect/livecards/cards/{cardId}/versions` | — |
318
- | `salesforce-pricing-omnistudio-read-card-builder-json` | read | — | `GET /services/data/v63.0/connect/livecards/versions/{versionId}` | `salesforce-pricing-omnistudio-resolve-card-and-active-version` |
319
- | `salesforce-pricing-omnistudio-create-new-card-version` | write | — | `POST /services/data/v63.0/connect/livecards/cards/{cardId}/versions` | `salesforce-pricing-omnistudio-read-card-builder-json` |
320
- | `salesforce-pricing-omnistudio-update-card-ip-reference` | write | — | `PUT /services/data/v63.0/connect/livecards/versions/{versionId}` | `salesforce-pricing-omnistudio-create-new-card-version` |
321
- | `salesforce-pricing-omnistudio-validate-and-verify-card-reference-swap` | verify | — | `POST /services/data/v63.0/connect/livecards/cards/validate` | `salesforce-pricing-omnistudio-update-card-ip-reference` |
322
- | `salesforce-pricing-omnistudio-compare-card-versions` | verify | — | `GET /services/data/v63.0/connect/livecards/versions/{versionId}/compare/{compareVersionId}` | `salesforce-pricing-omnistudio-validate-and-verify-card-reference-swap` |
323
- | `salesforce-pricing-omnistudio-verify-card-activation-checkpoint` | verify | — | `GET /services/data/v63.0/connect/livecards/cards/{cardId}/versions` | `salesforce-pricing-omnistudio-compare-card-versions` |
324
- | `pricing-procedure-verify-context-service-gate` | verify | — | `GET /services/data/v63.0/connect/context-definitions` | — |
325
- | `pricing-procedure-resolve-lending-product-config-context` | read | — | `GET /services/data/v63.0/connect/context-definitions` | `pricing-procedure-verify-context-service-gate` |
326
- | `pricing-procedure-create-pricing-procedure-shell` | write | — | `POST /services/data/v63.0/connect/business-rules/expression-set` | `pricing-procedure-resolve-lending-product-config-context` |
327
- | `pricing-procedure-verify-recipe-listprice-registration` | verify | — | `GET /services/data/v63.0/connect/core-pricing/recipe/{pricingRecipeId}` | `pricing-procedure-create-pricing-procedure-shell` |
328
- | `pricing-procedure-author-elements-metadata-deploy` | write | — | `POST /services/data/v67.0/tooling/sobjects/ExpressionSetDefinition` | `pricing-procedure-verify-recipe-listprice-registration` |
329
- | `pricing-procedure-append-corrected-version-not-edit-v1` | write | — | `PATCH /services/data/v67.0/tooling/sobjects/ExpressionSetDefinition/{recordId}` | `pricing-procedure-author-elements-metadata-deploy` |
330
- | `pricing-procedure-bind-procedure-to-recipe` | write | — | `POST /services/data/v63.0/connect/core-pricing/recipe/mapping` | `pricing-procedure-append-corrected-version-not-edit-v1` |
331
- | `pricing-procedure-verify-recipe-procedure-binding` | verify | — | `GET /services/data/v63.0/connect/core-pricing/recipe/{pricingRecipeId}` | `pricing-procedure-bind-procedure-to-recipe` |
332
- | `pricing-procedure-seed-simulation-entity-graph` | write | — | `POST /services/data/v63.0/sobjects/ApplicationForm` | `pricing-procedure-verify-recipe-procedure-binding` |
333
- | `pricing-procedure-generate-simulation-input` | read | — | `GET /services/data/v63.0/connect/core-pricing/simulationInputVariablesWithData` | `pricing-procedure-seed-simulation-entity-graph` |
334
- | `pricing-procedure-simulate-evaluate-price` | verify | — | `POST /services/data/v63.0/connect/core-pricing/pricing` | `pricing-procedure-generate-simulation-input` |
335
- <!-- codey:operations end -->
336
- <!-- skill-validate: ignore-end -->
@@ -1,208 +0,0 @@
1
- ---
2
- name: fsc-digital-origination-pricing-setup-data-foundation-create
3
- parent: "digital-origination-pricing-setup"
4
- purpose: "Create and verify Product List Rate, credit-score, and term source data in ordered phases."
5
- description: "Create and verify the data foundation for Digital Lending pricing: one effective Product List Rate per selected lending product, the Rate Adjustment By Credit Score and Rate Adjustment By Term source objects and fields, and customer-approved score and term adjustment records. Uses Metadata API for missing custom schema and standard sObject REST or Composite API for records, with describe-first schema discovery, duplicate prevention, and complete read-back verification."
6
- metadata:
7
- version: "1.0"
8
- cliTools:
9
- - tool:
10
- - "sf"
11
- semver: ">=2.0.0"
12
- - tool:
13
- - "sfdx"
14
- semver: ">=7.0.0"
15
- ---
16
-
17
- # Digital Origination pricing data foundation
18
-
19
- Create the source records consumed by the three lending pricing decision tables. This sibling owns
20
- schema and records only. It does not create decision tables or pricing procedures.
21
-
22
- ## Required inputs
23
-
24
- - Target-org alias
25
- - Exact product IDs
26
- - Base list rate (defaults to **5% Percent** when the admin does not supply one) and effective start/end dates per product
27
- - Approved credit-score ranges, tier types, and tier values per product
28
- - Approved loan terms, tier types, and tier values per product
29
- - Phase: exactly one of `product-list-rate`, `credit-score`, or `term`
30
-
31
- Do not use Salesforce Help examples as customer defaults. Missing values require a user decision.
32
-
33
- The pricing orchestrator invokes this sibling in exact article order: Product List Rate, then returns
34
- for credit-score data after `ProductListRateDT` is active, then returns for term data after
35
- `CreditScoreBasedAdjustmentDT` is active. Do not combine phases; separate runs preserve and test the
36
- documented dependency order.
37
-
38
- ## Step 1 - Discover target-org schema
39
-
40
- 1. Describe the expected Product List Rate object. `ProductListRate` is the expected name, but the
41
- target-org describe is authoritative.
42
- 2. Resolve createable product reference, list-rate, valid-start, and valid-end fields.
43
- 3. Query EntityDefinition and FieldDefinition for equivalent credit-score and term source objects.
44
- 4. Reuse an existing object only when its label, API name, lookup target, field data types, and field
45
- purposes match. A similar label alone is insufficient.
46
-
47
- ## Step 2 - Create missing source-object metadata (headless — MANDATORY attempt, no CLI, no zip)
48
-
49
- **This step is mandatory when the target org lacks the credit-score / term source objects.** Skipping
50
- to nested `decision-tables` with the objects absent is a defect — the DT create will fail with
51
- `INVALID_CROSS_REFERENCE_KEY` on a missing object and the caller cannot distinguish "object never
52
- deployed" from "org-side BRE registry rejection" without this step's evidence. Do NOT default to
53
- DEFERRED for Tables 2/3 without executing this deploy path on *this* org first.
54
-
55
- `ObjectManager` and `SchemaBuilder` are UI entry points, not headless CRUD. For missing objects,
56
- deploy via the two dispatchable Metadata surfaces the Headless 360 framework exposes: the
57
- synchronous Metadata CRUD route `/services/data/vXX.0/headless/metadata/{Type}` for the CustomObject
58
- shell + PermissionSet, and the Tooling REST `sObjects` route `/services/data/vXX.0/tooling/sobjects/CustomField`
59
- for each field. **Do not use `sf project deploy start`, `sfdx force:mdapi:deploy`, or the multipart
60
- `/metadata/deployRequest` zip endpoint** — none of them are reachable through Headless 360 `dispatch`.
61
- The synchronous per-type route is the same one csp-case uses for AssignmentRule/EscalationRule,
62
- sales-cloud-pegasus for UserRole, and this same skill's Step 5 uses for the FLS PermissionSet.
63
-
64
- ### Rate Adjustment By Credit Score
65
-
66
- Preferred canonical API name: `Rate_Adjustment_By_Credit_Score__c`. If that name is occupied by an
67
- incompatible object, stop rather than creating an arbitrary variant.
68
-
69
- **Doc note (help DITA source, verified).** The help article creates this as a **custom
70
- object via Object Manager** and only prints the *label* ("Rate Adjustment By Credit Score") — it
71
- never prints the object API name. `Rate_Adjustment_By_Credit_Score__c` is the name Salesforce
72
- auto-generates from that label (spaces → underscores). The decision-table article refers to the same
73
- object loosely as "Rate Adjustment Based Credit Score" (prose, not an API name). Always resolve the
74
- actual API name from the target-org describe rather than any doc string.
75
-
76
- | Field API name | Type | Required contract |
77
- |---|---|---|
78
- | `Product__c` | Lookup(Product2) | Target lending product |
79
- | `LowerBound__c` | Number(3,0) | Inclusive lower score bound |
80
- | `UpperBound__c` | Number(3,0) | Inclusive upper score bound |
81
- | `TierType__c` | Picklist | Adjustment interpretation, such as Percentage or Override |
82
- | `TierValue__c` | Number(16,2) | Adjustment value |
83
-
84
- ### Rate Adjustment By Term
85
-
86
- Preferred canonical API name: `Rate_Adjustment_By_Term__c`.
87
-
88
- | Field API name | Type | Required contract |
89
- |---|---|---|
90
- | `Product__c` | Lookup(Product2) | Target lending product |
91
- | `Term__c` | Number(4,0) | Loan term used by the pricing matrix |
92
- | `TierType__c` | Picklist | Adjustment interpretation |
93
- | `TierValue__c` | Number(16,2) | Adjustment value |
94
-
95
- Deploy in this ordered sequence — every step is a single JSON dispatch call:
96
-
97
- 1. **Deploy the CustomObject shell** via `POST /services/data/v63.0/headless/metadata/CustomObject?type=CustomObject&fullName=<Object__c>`. Body:
98
- ```json
99
- {
100
- "type": "CustomObject",
101
- "fullName": "Rate_Adjustment_By_Credit_Score__c",
102
- "xmlRep": "<CustomObject xmlns=\"http://soap.sforce.com/2006/04/metadata\"><label>Rate Adjustment By Credit Score</label><pluralLabel>Rate Adjustments By Credit Score</pluralLabel><nameField><label>Name</label><type>Text</type></nameField><deploymentStatus>Deployed</deploymentStatus><sharingModel>ReadWrite</sharingModel></CustomObject>"
103
- }
104
- ```
105
- Response: `{results:[{success:true, fullName:"…"}]}`. Idempotent by fullName. On 500 `UNSUPPORTED_OPERATION` for this specific type CREATE, stop and report the shell as a blocker — do not fabricate success.
106
- 2. **Deploy each CustomField** via `POST /services/data/v63.0/tooling/sobjects/CustomField` with one call per field, e.g.:
107
- ```json
108
- {
109
- "FullName": "Rate_Adjustment_By_Credit_Score__c.LowerBound__c",
110
- "Metadata": {"label":"Lower Bound", "type":"Number", "precision":3, "scale":0}
111
- }
112
- ```
113
- Type-specific `Metadata` keys — Text: `length`; Number: `precision`+`scale`; Lookup: `referenceTo`+`relationshipLabel`+`relationshipName`+`deleteConstraint:"SetNull"`; Picklist: `valueSet.valueSetDefinition.value[]` with `fullName`/`default`/`label`.
114
- 3. **Deploy an FLS permission set** via `POST /services/data/v63.0/headless/metadata/PermissionSet` (see Step 5 below) — grants object CRUD + read/edit FLS on every field created in step 2.
115
- 4. **Assign that permission set** to the configuring user via `POST /services/data/v63.0/sobjects/PermissionSetAssignment`.
116
- 5. **Only then insert records** (Steps 3-5 below in this SKILL).
117
-
118
- **Why the permission set is mandatory (org-verified).** Neither Tooling CustomField creates NOR
119
- Metadata API CustomField deploys auto-grant FLS to any profile/permission set. Immediately after the
120
- field create the fields exist in `FieldDefinition` but are invisible to the running admin — record
121
- inserts fail with `No such column '<field>__c' on sobject …` and `sobject describe` shows zero custom
122
- fields. Skipping steps 3-4 makes step 5 fail. Ordering rule inside the permission set: a
123
- PermissionSet's `objectPermissions` elements must all precede its `fieldPermissions` elements or the
124
- deploy fails with *"Element objectPermissions is duplicated at this location."*
125
-
126
- **Entitlement.** `/headless/metadata` writes require the `FileBasedMetadataCrud` org entitlement
127
- (distinct from the standard ModifyMetadata perm). Missing entitlement returns 500 `METADATA_CRUD_ERROR`
128
- "Missing org permissions for FileBasedMetadataDao" — the message references the internal Dao class;
129
- the entitlement to enable is `FileBasedMetadataCrud`.
130
-
131
- **`Number(16,2)` may be capped by the org.** `TierValue__c` deployed as Number(16,2) was stored as
132
- Number(14,2) on the target org. Describe the field after deploy and use the actual precision; do
133
- not assume the requested scale persisted.
134
-
135
- **Custom source objects may not be usable as BRE decision-table sources — attempt first, defer only
136
- on captured evidence.** The credit-score and term objects created here are consumed by the nested
137
- `decision-tables` sibling, whose create endpoint resolves sources from a curated registry that has
138
- been observed to reject freshly-deployed custom objects on some orgs
139
- (`INVALID_CROSS_REFERENCE_KEY … does not exist`, persisting >10 min) and accept them on others. This
140
- skill's contract is: **always attempt the deploy so `decision-tables` can run its probe.** Do NOT
141
- skip the deploy on the assumption the BRE registry will reject — the acceptance/rejection is
142
- per-org and only knowable via probe. If the downstream probe (see `decision-tables` SKILL,
143
- "Mandatory deploy-first sequence for Tables 2/3") returns `INVALID_CROSS_REFERENCE_KEY` with every
144
- predicate satisfied, THEN this data foundation is complete-with-DEFERRED-downstream. Without the
145
- probe rejection captured, DEFERRED is not authorized.
146
-
147
- In `credit-score` phase, create or verify only the credit-score object. In `term` phase, create or
148
- verify only the term object. Do not create either adjustment object during `product-list-rate` phase,
149
- and do not create the later term object early merely because it is documented in this skill.
150
-
151
- After every deploy, describe the object and every field. Metadata deployment success without a
152
- successful describe is not proof.
153
-
154
- ## Step 3 - Product List Rate records
155
-
156
- Use standard sObject REST or Composite API; there is no dedicated Product List Rate SOR.
157
-
158
- 1. Query existing rates by product and effective range.
159
- 2. Reject or ask about overlapping effective ranges for the same product.
160
- 3. Create one base-rate record per product with product reference, List Rate, start date, and
161
- end date. Default the List Rate to **5% (Percent)** — the fixed Digital Origination default; do
162
- not stop to ask the admin for a rate. Override only when the admin explicitly supplies a
163
- different rate.
164
- 4. Re-query and report the created/reused record IDs and values.
165
-
166
- ## Step 4 - Credit-score adjustment records
167
-
168
- 1. Validate each range: lower bound <= upper bound; bounds fit Number(3,0); product exists; tier type
169
- is a valid picklist value; tier value fits Number(16,2).
170
- 2. Sort ranges by product and lower bound. Detect overlaps and unexplained gaps; ask before proceeding
171
- when the business rule is ambiguous.
172
- 3. Query by Product, LowerBound, UpperBound, TierType, and TierValue before insert.
173
- 4. Create only missing records through sObject REST or Composite API.
174
- 5. Re-query all intended ranges.
175
-
176
- Documentation example only, never an automatic default: Home Loan 801-900/50/Percentage,
177
- 701-800/10/Percentage, 601-700/5/Percentage, 0-600/20/Override.
178
-
179
- ## Step 5 - Term adjustment records
180
-
181
- Validate terms, products, tier types, and values; query before create; insert only missing records;
182
- then re-query every intended product/term pair. Duplicate Product+Term rows require explicit business
183
- justification.
184
-
185
- ## Idempotency and rollback
186
-
187
- - Reuse exact matching records.
188
- - Do not update a differing rate or tier silently; present the current and requested values.
189
- - Rollback can delete only records created by this run after checking that no decision-table version
190
- or recipe depends on them.
191
- - Never automatically delete custom objects or fields; schema rollback is destructive and requires an
192
- explicit request.
193
-
194
- ## Output contract
195
-
196
- Return actual API names for all three source objects, actual field names, source-record IDs grouped by
197
- product, effective ranges, score ranges, term values, and any metadata deploy job. This output is the
198
- input contract for nested `decision-tables`.
199
-
200
- ## Definition of done
201
-
202
- All artifacts for the requested phase are describable and exist exactly once, and fresh queries match
203
- the requested values. **For the credit-score and term phases, the source custom object MUST have been
204
- deploy-attempted on this org** — either it exists (verified via EntityDefinition + describe) or the
205
- deploy call was executed and its failure captured (entitlement-missing, name-collision, etc.). A
206
- "skipped deploy → DEFERRED downstream" flow is not accepted. For a phase that deploys a custom
207
- object, the FLS permission set is deployed and assigned so the fields describe and query for the
208
- running user. No decision tables are created by this sibling.