@salesforce/afv-skills 1.14.0 → 1.16.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 (365) hide show
  1. package/package.json +1 -1
  2. package/skills/activating-datacloud/SKILL.md +0 -1
  3. package/skills/analyzing-omnistudio-dependencies/SKILL.md +0 -1
  4. package/skills/applying-slds/SKILL.md +322 -0
  5. package/skills/applying-slds/checklists.md +83 -0
  6. package/skills/applying-slds/examples.md +283 -0
  7. package/skills/applying-slds/guidance/README.md +83 -0
  8. package/skills/applying-slds/guidance/blueprints-index.md +213 -0
  9. package/skills/applying-slds/guidance/icons-guidance.md +186 -0
  10. package/skills/applying-slds/guidance/overviews/borders.md +236 -0
  11. package/skills/applying-slds/guidance/overviews/color.md +266 -0
  12. package/skills/applying-slds/guidance/overviews/display-density.md +366 -0
  13. package/skills/applying-slds/guidance/overviews/icons.md +240 -0
  14. package/skills/applying-slds/guidance/overviews/illustrations.md +235 -0
  15. package/skills/applying-slds/guidance/overviews/shadows.md +176 -0
  16. package/skills/applying-slds/guidance/overviews/spacing.md +216 -0
  17. package/skills/applying-slds/guidance/overviews/typography.md +323 -0
  18. package/skills/applying-slds/guidance/overviews/utilities.md +542 -0
  19. package/skills/applying-slds/guidance/slds-development-guide.md +288 -0
  20. package/skills/applying-slds/guidance/styling-hooks/borders.md +202 -0
  21. package/skills/applying-slds/guidance/styling-hooks/color/expressive-palette-hooks.md +153 -0
  22. package/skills/applying-slds/guidance/styling-hooks/color/index.md +171 -0
  23. package/skills/applying-slds/guidance/styling-hooks/color/semantic/accent-hooks.md +204 -0
  24. package/skills/applying-slds/guidance/styling-hooks/color/semantic/feedback-hooks.md +768 -0
  25. package/skills/applying-slds/guidance/styling-hooks/color/semantic/surface-hooks.md +337 -0
  26. package/skills/applying-slds/guidance/styling-hooks/color/system-hooks.md +132 -0
  27. package/skills/applying-slds/guidance/styling-hooks/index.md +327 -0
  28. package/skills/applying-slds/guidance/styling-hooks/shadows.md +238 -0
  29. package/skills/applying-slds/guidance/styling-hooks/spacing.md +254 -0
  30. package/skills/applying-slds/guidance/styling-hooks/typography.md +448 -0
  31. package/skills/applying-slds/guidance/utilities/alignment.md +119 -0
  32. package/skills/applying-slds/guidance/utilities/borders.md +131 -0
  33. package/skills/applying-slds/guidance/utilities/box.md +125 -0
  34. package/skills/applying-slds/guidance/utilities/color.md +165 -0
  35. package/skills/applying-slds/guidance/utilities/dark-mode.md +111 -0
  36. package/skills/applying-slds/guidance/utilities/description-list.md +168 -0
  37. package/skills/applying-slds/guidance/utilities/floats.md +117 -0
  38. package/skills/applying-slds/guidance/utilities/grid.md +264 -0
  39. package/skills/applying-slds/guidance/utilities/horizontal-list.md +110 -0
  40. package/skills/applying-slds/guidance/utilities/hyphenation.md +84 -0
  41. package/skills/applying-slds/guidance/utilities/index.md +205 -0
  42. package/skills/applying-slds/guidance/utilities/interactions.md +89 -0
  43. package/skills/applying-slds/guidance/utilities/layout.md +109 -0
  44. package/skills/applying-slds/guidance/utilities/line-clamp.md +131 -0
  45. package/skills/applying-slds/guidance/utilities/margin.md +155 -0
  46. package/skills/applying-slds/guidance/utilities/media-object.md +161 -0
  47. package/skills/applying-slds/guidance/utilities/name-value-list.md +152 -0
  48. package/skills/applying-slds/guidance/utilities/padding.md +155 -0
  49. package/skills/applying-slds/guidance/utilities/position.md +177 -0
  50. package/skills/applying-slds/guidance/utilities/print.md +114 -0
  51. package/skills/applying-slds/guidance/utilities/scrollable.md +126 -0
  52. package/skills/applying-slds/guidance/utilities/sizing.md +190 -0
  53. package/skills/applying-slds/guidance/utilities/themes.md +121 -0
  54. package/skills/applying-slds/guidance/utilities/truncate.md +127 -0
  55. package/skills/applying-slds/guidance/utilities/typography.md +166 -0
  56. package/skills/applying-slds/guidance/utilities/vertical-list.md +166 -0
  57. package/skills/applying-slds/guidance/utilities/visibility.md +228 -0
  58. package/skills/applying-slds/metadata/README.md +84 -0
  59. package/skills/applying-slds/metadata/blueprints/components/accordion.yaml +304 -0
  60. package/skills/applying-slds/metadata/blueprints/components/activity-timeline.yaml +92 -0
  61. package/skills/applying-slds/metadata/blueprints/components/alert.yaml +103 -0
  62. package/skills/applying-slds/metadata/blueprints/components/app-launcher.yaml +94 -0
  63. package/skills/applying-slds/metadata/blueprints/components/avatar-group.yaml +81 -0
  64. package/skills/applying-slds/metadata/blueprints/components/avatar.yaml +97 -0
  65. package/skills/applying-slds/metadata/blueprints/components/badges.yaml +102 -0
  66. package/skills/applying-slds/metadata/blueprints/components/brand-band.yaml +198 -0
  67. package/skills/applying-slds/metadata/blueprints/components/breadcrumbs.yaml +95 -0
  68. package/skills/applying-slds/metadata/blueprints/components/builder-header.yaml +192 -0
  69. package/skills/applying-slds/metadata/blueprints/components/button-groups.yaml +82 -0
  70. package/skills/applying-slds/metadata/blueprints/components/button-icons.yaml +295 -0
  71. package/skills/applying-slds/metadata/blueprints/components/buttons.yaml +230 -0
  72. package/skills/applying-slds/metadata/blueprints/components/cards.yaml +124 -0
  73. package/skills/applying-slds/metadata/blueprints/components/carousel.yaml +140 -0
  74. package/skills/applying-slds/metadata/blueprints/components/chat.yaml +179 -0
  75. package/skills/applying-slds/metadata/blueprints/components/checkbox-button-group.yaml +192 -0
  76. package/skills/applying-slds/metadata/blueprints/components/checkbox-button.yaml +204 -0
  77. package/skills/applying-slds/metadata/blueprints/components/checkbox-toggle.yaml +177 -0
  78. package/skills/applying-slds/metadata/blueprints/components/checkbox.yaml +108 -0
  79. package/skills/applying-slds/metadata/blueprints/components/color-picker.yaml +172 -0
  80. package/skills/applying-slds/metadata/blueprints/components/combobox.yaml +136 -0
  81. package/skills/applying-slds/metadata/blueprints/components/counter.yaml +147 -0
  82. package/skills/applying-slds/metadata/blueprints/components/data-tables.yaml +157 -0
  83. package/skills/applying-slds/metadata/blueprints/components/datepickers.yaml +130 -0
  84. package/skills/applying-slds/metadata/blueprints/components/datetime-picker.yaml +155 -0
  85. package/skills/applying-slds/metadata/blueprints/components/docked-composer.yaml +201 -0
  86. package/skills/applying-slds/metadata/blueprints/components/docked-form-footer.yaml +161 -0
  87. package/skills/applying-slds/metadata/blueprints/components/docked-utility-bar.yaml +175 -0
  88. package/skills/applying-slds/metadata/blueprints/components/drop-zone.yaml +115 -0
  89. package/skills/applying-slds/metadata/blueprints/components/dueling-picklist.yaml +196 -0
  90. package/skills/applying-slds/metadata/blueprints/components/dynamic-icons.yaml +128 -0
  91. package/skills/applying-slds/metadata/blueprints/components/dynamic-menu.yaml +141 -0
  92. package/skills/applying-slds/metadata/blueprints/components/expandable-section.yaml +115 -0
  93. package/skills/applying-slds/metadata/blueprints/components/expression.yaml +143 -0
  94. package/skills/applying-slds/metadata/blueprints/components/feeds.yaml +125 -0
  95. package/skills/applying-slds/metadata/blueprints/components/file-selector.yaml +154 -0
  96. package/skills/applying-slds/metadata/blueprints/components/files.yaml +119 -0
  97. package/skills/applying-slds/metadata/blueprints/components/form-element.yaml +145 -0
  98. package/skills/applying-slds/metadata/blueprints/components/global-header.yaml +120 -0
  99. package/skills/applying-slds/metadata/blueprints/components/global-navigation.yaml +100 -0
  100. package/skills/applying-slds/metadata/blueprints/components/icons.yaml +138 -0
  101. package/skills/applying-slds/metadata/blueprints/components/illustration.yaml +205 -0
  102. package/skills/applying-slds/metadata/blueprints/components/input.yaml +151 -0
  103. package/skills/applying-slds/metadata/blueprints/components/list-builder.yaml +127 -0
  104. package/skills/applying-slds/metadata/blueprints/components/lookups.yaml +132 -0
  105. package/skills/applying-slds/metadata/blueprints/components/map.yaml +118 -0
  106. package/skills/applying-slds/metadata/blueprints/components/menus.yaml +134 -0
  107. package/skills/applying-slds/metadata/blueprints/components/modals.yaml +152 -0
  108. package/skills/applying-slds/metadata/blueprints/components/notifications.yaml +88 -0
  109. package/skills/applying-slds/metadata/blueprints/components/page-headers.yaml +135 -0
  110. package/skills/applying-slds/metadata/blueprints/components/panels.yaml +149 -0
  111. package/skills/applying-slds/metadata/blueprints/components/path.yaml +154 -0
  112. package/skills/applying-slds/metadata/blueprints/components/picklist.yaml +125 -0
  113. package/skills/applying-slds/metadata/blueprints/components/pills.yaml +154 -0
  114. package/skills/applying-slds/metadata/blueprints/components/popovers.yaml +120 -0
  115. package/skills/applying-slds/metadata/blueprints/components/progress-bar.yaml +110 -0
  116. package/skills/applying-slds/metadata/blueprints/components/progress-indicator.yaml +133 -0
  117. package/skills/applying-slds/metadata/blueprints/components/progress-ring.yaml +102 -0
  118. package/skills/applying-slds/metadata/blueprints/components/prompt.yaml +126 -0
  119. package/skills/applying-slds/metadata/blueprints/components/publishers.yaml +178 -0
  120. package/skills/applying-slds/metadata/blueprints/components/radio-button-group.yaml +172 -0
  121. package/skills/applying-slds/metadata/blueprints/components/radio-group.yaml +112 -0
  122. package/skills/applying-slds/metadata/blueprints/components/rich-text-editor.yaml +135 -0
  123. package/skills/applying-slds/metadata/blueprints/components/scoped-notifications.yaml +188 -0
  124. package/skills/applying-slds/metadata/blueprints/components/scoped-tabs.yaml +97 -0
  125. package/skills/applying-slds/metadata/blueprints/components/select.yaml +127 -0
  126. package/skills/applying-slds/metadata/blueprints/components/setup-assistant.yaml +152 -0
  127. package/skills/applying-slds/metadata/blueprints/components/slider.yaml +111 -0
  128. package/skills/applying-slds/metadata/blueprints/components/spinners.yaml +135 -0
  129. package/skills/applying-slds/metadata/blueprints/components/split-view.yaml +112 -0
  130. package/skills/applying-slds/metadata/blueprints/components/summary-detail.yaml +103 -0
  131. package/skills/applying-slds/metadata/blueprints/components/tabs.yaml +138 -0
  132. package/skills/applying-slds/metadata/blueprints/components/textarea.yaml +116 -0
  133. package/skills/applying-slds/metadata/blueprints/components/tiles.yaml +108 -0
  134. package/skills/applying-slds/metadata/blueprints/components/timepicker.yaml +111 -0
  135. package/skills/applying-slds/metadata/blueprints/components/toast.yaml +154 -0
  136. package/skills/applying-slds/metadata/blueprints/components/tooltips.yaml +107 -0
  137. package/skills/applying-slds/metadata/blueprints/components/tree-grid.yaml +116 -0
  138. package/skills/applying-slds/metadata/blueprints/components/trees.yaml +116 -0
  139. package/skills/applying-slds/metadata/blueprints/components/trial-bar.yaml +112 -0
  140. package/skills/applying-slds/metadata/blueprints/components/vertical-navigation.yaml +130 -0
  141. package/skills/applying-slds/metadata/blueprints/components/vertical-tabs.yaml +140 -0
  142. package/skills/applying-slds/metadata/blueprints/components/visual-picker.yaml +150 -0
  143. package/skills/applying-slds/metadata/blueprints/components/welcome-mat.yaml +136 -0
  144. package/skills/applying-slds/metadata/hooks-index.json +6272 -0
  145. package/skills/applying-slds/metadata/icon-metadata.json +38466 -0
  146. package/skills/applying-slds/metadata/utilities-index.json +21912 -0
  147. package/skills/applying-slds/references/component-selection.md +112 -0
  148. package/skills/applying-slds/references/icons-decision-guide.md +124 -0
  149. package/skills/applying-slds/references/styling-decision-guide.md +228 -0
  150. package/skills/applying-slds/references/utilities-quick-ref.md +125 -0
  151. package/skills/applying-slds/scripts/search-blueprints.cjs +117 -0
  152. package/skills/applying-slds/scripts/search-hooks.cjs +139 -0
  153. package/skills/applying-slds/scripts/search-icons.cjs +174 -0
  154. package/skills/applying-slds/scripts/search-utilities.cjs +161 -0
  155. package/skills/building-mobile-apps/SKILL.md +0 -1
  156. package/skills/building-omnistudio-callable-apex/SKILL.md +0 -1
  157. package/skills/building-omnistudio-datamapper/SKILL.md +0 -1
  158. package/skills/building-omnistudio-flexcard/SKILL.md +0 -1
  159. package/skills/building-omnistudio-integration-procedure/SKILL.md +0 -1
  160. package/skills/building-omnistudio-omniscript/SKILL.md +0 -1
  161. package/skills/building-sf-integrations/SKILL.md +0 -1
  162. package/skills/configuring-connected-apps/SKILL.md +0 -1
  163. package/skills/connecting-datacloud/SKILL.md +0 -1
  164. package/skills/creating-b2b-commerce-store/SKILL.md +0 -1
  165. package/skills/debugging-apex-logs/SKILL.md +0 -1
  166. package/skills/deploying-metadata/SKILL.md +0 -1
  167. package/skills/deploying-omnistudio-datapacks/SKILL.md +0 -1
  168. package/skills/developing-agentforce/SKILL.md +0 -1
  169. package/skills/fetching-salesforce-docs/SKILL.md +0 -1
  170. package/skills/generating-custom-lightning-type/SKILL.md +17 -39
  171. package/skills/generating-custom-lightning-type/assets/primitive-types-and-constraints.md +41 -0
  172. package/skills/generating-custom-lightning-type/references/widget-rendition.md +124 -0
  173. package/skills/generating-lwc-components/SKILL.md +0 -1
  174. package/skills/generating-mermaid-diagrams/SKILL.md +0 -1
  175. package/skills/generating-visual-diagrams/SKILL.md +0 -1
  176. package/skills/handling-sf-data/SKILL.md +0 -1
  177. package/skills/harmonizing-datacloud/SKILL.md +0 -1
  178. package/skills/integrating-b2b-commerce-open-code-components/SKILL.md +0 -1
  179. package/skills/investigating-agentforce-architecture/README.md +156 -0
  180. package/skills/investigating-agentforce-architecture/SKILL.md +230 -0
  181. package/skills/investigating-agentforce-architecture/assets/cli/describe_sobject.yaml +16 -0
  182. package/skills/investigating-agentforce-architecture/assets/cli/describe_tooling_sobject.yaml +17 -0
  183. package/skills/investigating-agentforce-architecture/assets/cli/list_metadata_genaiprompttemplate.yaml +17 -0
  184. package/skills/investigating-agentforce-architecture/assets/cli/org_display.yaml +15 -0
  185. package/skills/investigating-agentforce-architecture/assets/cli/retrieve_genai_plugin.yaml +18 -0
  186. package/skills/investigating-agentforce-architecture/assets/cli/show_access_token.yaml +27 -0
  187. package/skills/investigating-agentforce-architecture/assets/mermaid/action_tree.mmd +20 -0
  188. package/skills/investigating-agentforce-architecture/assets/mermaid/data_flow.mmd +19 -0
  189. package/skills/investigating-agentforce-architecture/assets/mermaid/dependency_graph.mmd +19 -0
  190. package/skills/investigating-agentforce-architecture/assets/mermaid/invocation_sequence.mmd +20 -0
  191. package/skills/investigating-agentforce-architecture/assets/mermaid/planner_state.mmd +18 -0
  192. package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_ids.soql +3 -0
  193. package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_names.soql +3 -0
  194. package/skills/investigating-agentforce-architecture/assets/soql/bot_definition_details.soql +3 -0
  195. package/skills/investigating-agentforce-architecture/assets/soql/bot_version_lookup.soql +4 -0
  196. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_by_ids.soql +3 -0
  197. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_ids_by_names.soql +3 -0
  198. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_view_by_durable_ids.soql +4 -0
  199. package/skills/investigating-agentforce-architecture/assets/soql/flow_metadata_by_id.soql +3 -0
  200. package/skills/investigating-agentforce-architecture/assets/soql/functions_by_plugins.soql +5 -0
  201. package/skills/investigating-agentforce-architecture/assets/soql/planner_attrs_by_parent_ids.soql +3 -0
  202. package/skills/investigating-agentforce-architecture/assets/soql/planner_bundle_functions.soql +3 -0
  203. package/skills/investigating-agentforce-architecture/assets/soql/planner_definition_by_agent_chain.soql +3 -0
  204. package/skills/investigating-agentforce-architecture/assets/soql/plugin_functions_by_plugin_ids.soql +3 -0
  205. package/skills/investigating-agentforce-architecture/assets/soql/plugin_instructions_by_plugin_ids.soql +3 -0
  206. package/skills/investigating-agentforce-architecture/assets/soql/plugins_by_planner.soql +4 -0
  207. package/skills/investigating-agentforce-architecture/references/architecture_sections.md +243 -0
  208. package/skills/investigating-agentforce-architecture/references/contract.json +244 -0
  209. package/skills/investigating-agentforce-architecture/references/soql_fields.md +512 -0
  210. package/skills/investigating-agentforce-architecture/scripts/_shared/__init__.py +1 -0
  211. package/skills/investigating-agentforce-architecture/scripts/_shared/fs_guard.py +329 -0
  212. package/skills/investigating-agentforce-architecture/scripts/_shared/paths.py +110 -0
  213. package/skills/investigating-agentforce-architecture/scripts/_shared/runtime.py +59 -0
  214. package/skills/investigating-agentforce-architecture/scripts/_shared/sql.py +10 -0
  215. package/skills/investigating-agentforce-architecture/scripts/cache_check.py +234 -0
  216. package/skills/investigating-agentforce-architecture/scripts/config.py +131 -0
  217. package/skills/investigating-agentforce-architecture/scripts/fetch_soql.py +689 -0
  218. package/skills/investigating-agentforce-architecture/scripts/finalize.py +295 -0
  219. package/skills/investigating-agentforce-architecture/scripts/main.py +2835 -0
  220. package/skills/investigating-agentforce-architecture/scripts/metadata_listing.py +265 -0
  221. package/skills/investigating-agentforce-architecture/scripts/parallel_retrieve.py +69 -0
  222. package/skills/investigating-agentforce-architecture/scripts/parse_bundle.py +215 -0
  223. package/skills/investigating-agentforce-architecture/scripts/parse_wave.py +845 -0
  224. package/skills/investigating-agentforce-architecture/scripts/probe_channels.py +302 -0
  225. package/skills/investigating-agentforce-architecture/scripts/render_architecture.py +1043 -0
  226. package/skills/investigating-agentforce-architecture/scripts/resolve_bot.py +255 -0
  227. package/skills/investigating-agentforce-architecture/scripts/resolve_invocation_target.py +130 -0
  228. package/skills/investigating-agentforce-architecture/scripts/rest_client.py +763 -0
  229. package/skills/investigating-agentforce-architecture/scripts/retrieve_planner.py +13 -0
  230. package/skills/investigating-agentforce-architecture/scripts/sf_cli.py +242 -0
  231. package/skills/investigating-agentforce-architecture/scripts/soql_loader.py +253 -0
  232. package/skills/investigating-agentforce-architecture/scripts/summarize_tree.py +143 -0
  233. package/skills/investigating-agentforce-architecture/scripts/tests/__init__.py +0 -0
  234. package/skills/investigating-agentforce-architecture/scripts/tests/_bootstrap.py +23 -0
  235. package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/__init__.py +0 -0
  236. package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/genai_payloads.py +400 -0
  237. package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check.py +307 -0
  238. package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check_main.py +283 -0
  239. package/skills/investigating-agentforce-architecture/scripts/tests/test_config.py +115 -0
  240. package/skills/investigating-agentforce-architecture/scripts/tests/test_end_to_end_fixture.py +651 -0
  241. package/skills/investigating-agentforce-architecture/scripts/tests/test_finalize.py +278 -0
  242. package/skills/investigating-agentforce-architecture/scripts/tests/test_flow_children_inflation.py +582 -0
  243. package/skills/investigating-agentforce-architecture/scripts/tests/test_fs_guard.py +113 -0
  244. package/skills/investigating-agentforce-architecture/scripts/tests/test_iterative_wave_b.py +478 -0
  245. package/skills/investigating-agentforce-architecture/scripts/tests/test_main_pipeline.py +3359 -0
  246. package/skills/investigating-agentforce-architecture/scripts/tests/test_parallel_retrieve.py +131 -0
  247. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_bundle.py +400 -0
  248. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave.py +644 -0
  249. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_classifiers.py +224 -0
  250. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_helpers.py +380 -0
  251. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_main.py +397 -0
  252. package/skills/investigating-agentforce-architecture/scripts/tests/test_per_branch_visited.py +244 -0
  253. package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_channels.py +359 -0
  254. package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_cli_recipes.py +185 -0
  255. package/skills/investigating-agentforce-architecture/scripts/tests/test_render_architecture.py +810 -0
  256. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_bot.py +203 -0
  257. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_creds.py +157 -0
  258. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_invocation_target.py +145 -0
  259. package/skills/investigating-agentforce-architecture/scripts/tests/test_rest_client.py +1253 -0
  260. package/skills/investigating-agentforce-architecture/scripts/tests/test_runtime_override.py +100 -0
  261. package/skills/investigating-agentforce-architecture/scripts/tests/test_sf_cli.py +261 -0
  262. package/skills/investigating-agentforce-architecture/scripts/tests/test_signature_stamping.py +466 -0
  263. package/skills/investigating-agentforce-architecture/scripts/tests/test_soql_loader.py +501 -0
  264. package/skills/investigating-agentforce-architecture/scripts/tests/test_summarize_tree.py +241 -0
  265. package/skills/investigating-agentforce-architecture/scripts/tests/test_write_emit_ctx.py +480 -0
  266. package/skills/investigating-agentforce-architecture/tools/emit_env.py +157 -0
  267. package/skills/investigating-agentforce-architecture/tools/emit_result.py +262 -0
  268. package/skills/investigating-agentforce-architecture/tools/sanitize.py +33 -0
  269. package/skills/investigating-agentforce-architecture/tools/write_emit_ctx.py +332 -0
  270. package/skills/investigating-agentforce-d360/README.md +123 -0
  271. package/skills/investigating-agentforce-d360/SKILL.md +163 -0
  272. package/skills/investigating-agentforce-d360/assets/dc/app_generation.sql +51 -0
  273. package/skills/investigating-agentforce-d360/assets/dc/content_category.sql +44 -0
  274. package/skills/investigating-agentforce-d360/assets/dc/content_quality.sql +41 -0
  275. package/skills/investigating-agentforce-d360/assets/dc/discover_sessions.sql +36 -0
  276. package/skills/investigating-agentforce-d360/assets/dc/feedback.sql +47 -0
  277. package/skills/investigating-agentforce-d360/assets/dc/feedback_details.sql +38 -0
  278. package/skills/investigating-agentforce-d360/assets/dc/gateway_records.sql +45 -0
  279. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_llm.sql +50 -0
  280. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_metadata.sql +44 -0
  281. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_tags.sql +42 -0
  282. package/skills/investigating-agentforce-d360/assets/dc/gateway_requests.sql +89 -0
  283. package/skills/investigating-agentforce-d360/assets/dc/gateway_responses.sql +43 -0
  284. package/skills/investigating-agentforce-d360/assets/dc/generations.sql +52 -0
  285. package/skills/investigating-agentforce-d360/assets/dc/interactions.sql +53 -0
  286. package/skills/investigating-agentforce-d360/assets/dc/messages.sql +53 -0
  287. package/skills/investigating-agentforce-d360/assets/dc/messaging_session.sql +37 -0
  288. package/skills/investigating-agentforce-d360/assets/dc/moment_interactions.sql +34 -0
  289. package/skills/investigating-agentforce-d360/assets/dc/moments.sql +39 -0
  290. package/skills/investigating-agentforce-d360/assets/dc/participants.sql +48 -0
  291. package/skills/investigating-agentforce-d360/assets/dc/sessions.sql +78 -0
  292. package/skills/investigating-agentforce-d360/assets/dc/steps.sql +64 -0
  293. package/skills/investigating-agentforce-d360/assets/dc/tag_associations.sql +46 -0
  294. package/skills/investigating-agentforce-d360/assets/dc/tag_definition_associations.sql +37 -0
  295. package/skills/investigating-agentforce-d360/assets/dc/tag_definitions.sql +50 -0
  296. package/skills/investigating-agentforce-d360/assets/dc/tags.sql +37 -0
  297. package/skills/investigating-agentforce-d360/assets/dc/telemetry_spans.sql +55 -0
  298. package/skills/investigating-agentforce-d360/references/artifacts.md +50 -0
  299. package/skills/investigating-agentforce-d360/references/dc_dmo_fields.md +823 -0
  300. package/skills/investigating-agentforce-d360/references/dc_pipeline_contract.md +608 -0
  301. package/skills/investigating-agentforce-d360/scripts/_shared/__init__.py +2 -0
  302. package/skills/investigating-agentforce-d360/scripts/_shared/cli_override.py +98 -0
  303. package/skills/investigating-agentforce-d360/scripts/_shared/fs_guard.py +334 -0
  304. package/skills/investigating-agentforce-d360/scripts/_shared/paths.py +155 -0
  305. package/skills/investigating-agentforce-d360/scripts/_shared/runtime.py +59 -0
  306. package/skills/investigating-agentforce-d360/scripts/_shared/sql.py +14 -0
  307. package/skills/investigating-agentforce-d360/scripts/assemble_dc.py +1624 -0
  308. package/skills/investigating-agentforce-d360/scripts/config.py +45 -0
  309. package/skills/investigating-agentforce-d360/scripts/dc.py +188 -0
  310. package/skills/investigating-agentforce-d360/scripts/discover_sessions.py +556 -0
  311. package/skills/investigating-agentforce-d360/scripts/fetch_dc.py +1045 -0
  312. package/skills/investigating-agentforce-d360/scripts/render_dc.py +1750 -0
  313. package/skills/investigating-agentforce-d360/scripts/resolve_session.py +264 -0
  314. package/skills/investigating-agentforce-d360/scripts/storage.py +92 -0
  315. package/skills/investigating-agentforce-d360/scripts/tests/__init__.py +0 -0
  316. package/skills/investigating-agentforce-d360/scripts/tests/_bootstrap.py +15 -0
  317. package/skills/investigating-agentforce-d360/scripts/tests/fixtures/__init__.py +0 -0
  318. package/skills/investigating-agentforce-d360/scripts/tests/fixtures/synthetic_session.py +424 -0
  319. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_bootstrap_and_mode.py +115 -0
  320. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct.py +220 -0
  321. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct_integration.py +158 -0
  322. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_helpers.py +287 -0
  323. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_integration.py +247 -0
  324. package/skills/investigating-agentforce-d360/scripts/tests/test_dc_and_resolve_session.py +433 -0
  325. package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions.py +458 -0
  326. package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions_grep_ci.py +193 -0
  327. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_helpers.py +266 -0
  328. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_identity.py +528 -0
  329. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_main.py +251 -0
  330. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall.py +229 -0
  331. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall_full.py +283 -0
  332. package/skills/investigating-agentforce-d360/scripts/tests/test_identity_coherence.py +327 -0
  333. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_branches.py +256 -0
  334. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_gateway_direct.py +130 -0
  335. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_helpers.py +291 -0
  336. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_integration.py +220 -0
  337. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_planner_llm_calls.py +284 -0
  338. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_show_prompts_gating.py +215 -0
  339. package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_from_disk.py +100 -0
  340. package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_session_main.py +149 -0
  341. package/skills/investigating-agentforce-d360/scripts/tests/test_runtime_override.py +104 -0
  342. package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape.py +95 -0
  343. package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape_dropped_by_stdm.py +85 -0
  344. package/skills/managing-managed-event-subscription/SKILL.md +152 -0
  345. package/skills/managing-managed-event-subscription/assets/managed-event-subscription-template.xml +20 -0
  346. package/skills/managing-managed-event-subscription/references/delete-guide.md +57 -0
  347. package/skills/managing-managed-event-subscription/references/topic-name-formats.md +26 -0
  348. package/skills/managing-managed-event-subscription/references/update-constraints.md +30 -0
  349. package/skills/modeling-omnistudio-epc-catalog/SKILL.md +0 -1
  350. package/skills/observing-agentforce/SKILL.md +0 -1
  351. package/skills/orchestrating-datacloud/SKILL.md +0 -1
  352. package/skills/preparing-datacloud/SKILL.md +0 -1
  353. package/skills/querying-soql/SKILL.md +0 -1
  354. package/skills/retrieving-datacloud/SKILL.md +0 -1
  355. package/skills/running-apex-tests/SKILL.md +0 -1
  356. package/skills/running-code-analyzer/SKILL.md +0 -1
  357. package/skills/segmenting-datacloud/SKILL.md +0 -1
  358. package/skills/testing-agentforce/SKILL.md +0 -1
  359. package/skills/uplifting-components-to-slds2/SKILL.md +3 -2
  360. package/skills/uplifting-components-to-slds2/references/color-hooks-decision-guide.md +30 -9
  361. package/skills/uplifting-components-to-slds2/references/examples.md +24 -6
  362. package/skills/validating-slds/SKILL.md +262 -0
  363. package/skills/validating-slds/references/quality-checks.md +308 -0
  364. package/skills/validating-slds/references/report-format.md +302 -0
  365. package/skills/validating-slds/scripts/analyze-quality.cjs +521 -0
@@ -0,0 +1,126 @@
1
+ ---
2
+ id: slds.guidance.utilities.scrollable
3
+ title: Scrollable Utilities
4
+ description: SLDS scrollable utility classes for managing overflow behavior
5
+ summary: "Utilities for controlling scroll behavior (x, y, both, none)."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: scrollable
10
+
11
+ content_format: structured
12
+ complexity: intermediate
13
+ audience: [implementer]
14
+
15
+ tasks: [implement]
16
+
17
+ refs:
18
+ - slds.guidance.utilities
19
+ - slds.guidance.overview.utilities
20
+
21
+ tags: [utilities, scrollable, overflow, scroll]
22
+ keywords: [slds-scrollable, overflow, scroll, scrollable-x, scrollable-y]
23
+ ---
24
+
25
+ # Scrollable - Overflow Management
26
+
27
+ Controlling scroll behavior in fixed-size containers.
28
+
29
+ ## Core Classes
30
+
31
+ | Class | Purpose |
32
+ |-------|---------|
33
+ | `slds-scrollable` | Enables scrolling on both axes when content exceeds container dimensions |
34
+ | `slds-scrollable_x` | Enables horizontal scrolling only when content exceeds width |
35
+ | `slds-scrollable_y` | Enables vertical scrolling only when content exceeds height |
36
+ | `slds-scrollable_none` | Prevents scrolling and hides overflow content |
37
+
38
+ ## Common Patterns
39
+
40
+ ```html
41
+ <!-- Data table with horizontal scroll -->
42
+ <div class="slds-scrollable_x" style="max-width: 600px;">
43
+ <!-- Table scrolls horizontally when wider than 600px -->
44
+ <table class="slds-table slds-table_bordered">
45
+ <thead>
46
+ <tr>
47
+ <th>Column 1</th>
48
+ <th>Column 2</th>
49
+ <th>Column 3</th>
50
+ <th>Column 4</th>
51
+ <th>Column 5</th>
52
+ <th>Column 6</th>
53
+ </tr>
54
+ </thead>
55
+ <tbody>
56
+ <!-- Table rows -->
57
+ </tbody>
58
+ </table>
59
+ </div>
60
+
61
+ <!-- List with vertical scroll -->
62
+ <div class="slds-scrollable_y" style="height: 300px;">
63
+ <!-- List scrolls vertically when taller than 300px -->
64
+ <ul class="slds-has-dividers_bottom">
65
+ <li class="slds-p-around_small">Item 1</li>
66
+ <li class="slds-p-around_small">Item 2</li>
67
+ <li class="slds-p-around_small">Item 3</li>
68
+ <li class="slds-p-around_small">Item 4</li>
69
+ <li class="slds-p-around_small">Item 5</li>
70
+ <li class="slds-p-around_small">Item 6</li>
71
+ <li class="slds-p-around_small">Item 7</li>
72
+ <li class="slds-p-around_small">Item 8</li>
73
+ </ul>
74
+ </div>
75
+
76
+ <!-- Modal with scrollable content -->
77
+ <div class="slds-modal__container">
78
+ <div class="slds-modal__header">
79
+ <h2>Modal Title</h2>
80
+ </div>
81
+ <div class="slds-modal__content slds-scrollable_y" style="height: 400px;">
82
+ <!-- Content scrolls when exceeding 400px height -->
83
+ <div class="slds-p-around_medium">
84
+ Long form content that exceeds the modal height...
85
+ </div>
86
+ </div>
87
+ <div class="slds-modal__footer">
88
+ <button class="slds-button">Cancel</button>
89
+ <button class="slds-button slds-button_brand">Save</button>
90
+ </div>
91
+ </div>
92
+
93
+ <!-- Code block with both-axis scrolling -->
94
+ <div class="slds-scrollable slds-box" style="max-width: 500px; max-height: 200px;">
95
+ <!-- Code scrolls both horizontally and vertically -->
96
+ <pre class="slds-p-around_small">
97
+ Long code snippet that exceeds both width and height...
98
+ Multiple lines of code...
99
+ With very long lines that exceed the container width...
100
+ </pre>
101
+ </div>
102
+
103
+ <!-- Card with hidden overflow -->
104
+ <div class="slds-card">
105
+ <div class="slds-card__body slds-scrollable_none" style="height: 150px;">
106
+ <!-- Overflow content is hidden, not scrollable -->
107
+ <div class="slds-p-around_medium">
108
+ Content that might exceed the fixed height is clipped
109
+ </div>
110
+ </div>
111
+ </div>
112
+ ```
113
+
114
+ ## Best Practices
115
+
116
+ ✅ Use `slds-scrollable_x` for wide tables in responsive layouts
117
+ ✅ Use `slds-scrollable_y` for long lists with fixed height containers
118
+ ✅ Use `slds-scrollable` for code blocks or content that may overflow in both directions
119
+ ✅ Set explicit height on containers using `slds-scrollable_y`
120
+ ✅ Set explicit width on containers using `slds-scrollable_x`
121
+ ✅ Include touch scrolling support for mobile devices (automatically included)
122
+
123
+ ❌ Avoid nesting multiple scrollable containers
124
+ ❌ Avoid using `slds-scrollable_none` on content users need to access
125
+ ❌ Avoid scrollable areas without visual scroll indicators
126
+ ❌ Avoid horizontal scrolling on mobile when vertical layout works better
@@ -0,0 +1,190 @@
1
+ ---
2
+ id: slds.guidance.utilities.sizing
3
+ title: Sizing Utilities
4
+ description: SLDS width sizing utility classes for responsive layouts
5
+ summary: "Utilities for width sizing. Fractional widths (1-of-2 through 1-of-12), absolute sizes, responsive breakpoints, and flex ordering."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: sizing
10
+
11
+ content_format: structured
12
+ complexity: intermediate
13
+ audience: [implementer]
14
+
15
+ tasks: [implement]
16
+
17
+ refs:
18
+ - slds.guidance.utilities
19
+ - slds.guidance.overview.utilities
20
+ - slds.guidance.utilities.grid
21
+
22
+ tags: [utilities, sizing, width, responsive, fractional]
23
+ keywords: [slds-size, slds-order, fractional width, responsive sizing]
24
+ ---
25
+
26
+ # Sizing - Width Control
27
+
28
+ Width sizing and flex ordering.
29
+
30
+ ## Core Classes
31
+
32
+ ### Fractional Widths
33
+
34
+ Based on 12-column grid system with denominators of 2, 3, 4, 5, 6, 7, 8, and 12.
35
+
36
+ | Class | Purpose |
37
+ |-------|---------|
38
+ | `slds-size_1-of-2` | Sets width to 50% |
39
+ | `slds-size_1-of-3` | Sets width to 33.333% |
40
+ | `slds-size_2-of-3` | Sets width to 66.6667% |
41
+ | `slds-size_1-of-4` | Sets width to 25% |
42
+ | `slds-size_3-of-4` | Sets width to 75% |
43
+ | `slds-size_1-of-5` | Sets width to 20% |
44
+ | `slds-size_2-of-5` | Sets width to 40% |
45
+ | `slds-size_3-of-5` | Sets width to 60% |
46
+ | `slds-size_4-of-5` | Sets width to 80% |
47
+ | `slds-size_1-of-6` | Sets width to 16.6667% |
48
+ | `slds-size_5-of-6` | Sets width to 83.3333% |
49
+ | `slds-size_1-of-7` | Sets width to 14.2857% |
50
+ | `slds-size_1-of-8` | Sets width to 12.5% |
51
+ | `slds-size_1-of-12` | Sets width to 8.3333% |
52
+ | `slds-size_5-of-12` | Sets width to 41.6667% |
53
+ | `slds-size_7-of-12` | Sets width to 58.3333% |
54
+ | `slds-size_11-of-12` | Sets width to 91.6667% |
55
+
56
+ ### Absolute Sizes
57
+
58
+ Fixed widths in rem units.
59
+
60
+ | Class | Purpose |
61
+ |-------|---------|
62
+ | `slds-size_xxx-small` | Sets width to 3rem (48px) |
63
+ | `slds-size_xx-small` | Sets width to 6rem (96px) |
64
+ | `slds-size_x-small` | Sets width to 12rem (192px) |
65
+ | `slds-size_small` | Sets width to 15rem (240px) |
66
+ | `slds-size_medium` | Sets width to 20rem (320px) |
67
+ | `slds-size_large` | Sets width to 25rem (400px) |
68
+ | `slds-size_x-large` | Sets width to 40rem (640px) |
69
+ | `slds-size_xx-large` | Sets width to 60rem (960px) |
70
+ | `slds-size_full` | Sets width to 100% |
71
+
72
+ ### Responsive Breakpoints
73
+
74
+ Breakpoint-specific sizing with mobile-first approach.
75
+
76
+ | Breakpoint | Viewport Width | Prefix |
77
+ |------------|---------------|--------|
78
+ | x-small | ≥ 320px (20em) | `slds-x-small-size_*` |
79
+ | small | ≥ 480px (30em) | `slds-small-size_*` |
80
+ | medium | ≥ 768px (48em) | `slds-medium-size_*` |
81
+ | large | ≥ 1024px (64em) | `slds-large-size_*` |
82
+ | x-large | ≥ 1280px (80em) | `slds-x-large-size_*` |
83
+ | max-small | < 480px (30em) | `slds-max-small-size_*` |
84
+ | max-medium | < 768px (48em) | `slds-max-medium-size_*` |
85
+ | max-large | < 1024px (64em) | `slds-max-large-size_*` |
86
+
87
+ ### Flex Ordering
88
+
89
+ Controls visual order in flexbox layouts.
90
+
91
+ | Class | Purpose |
92
+ |-------|---------|
93
+ | `slds-order_1` | Sets flex order to 1 |
94
+ | `slds-order_2` | Sets flex order to 2 |
95
+ | `slds-order_3` | Sets flex order to 3 |
96
+ | `slds-order_4` | Sets flex order to 4 |
97
+ | `slds-order_5` | Sets flex order to 5 |
98
+ | `slds-order_6` through `slds-order_12` | Sets flex order 6-12 |
99
+
100
+ ## Common Patterns
101
+
102
+ ### Three-Column Layout
103
+ ```html
104
+ <!-- Three equal columns -->
105
+ <div class="slds-grid slds-wrap">
106
+ <div class="slds-size_1-of-3">
107
+ <!-- Column 1: 33.333% width -->
108
+ </div>
109
+ <div class="slds-size_1-of-3">
110
+ <!-- Column 2: 33.333% width -->
111
+ </div>
112
+ <div class="slds-size_1-of-3">
113
+ <!-- Column 3: 33.333% width -->
114
+ </div>
115
+ </div>
116
+ ```
117
+
118
+ ### Responsive Grid
119
+ ```html
120
+ <!-- Full width mobile, half tablet, quarter desktop -->
121
+ <div class="slds-grid slds-wrap">
122
+ <div class="slds-size_1-of-1 slds-medium-size_1-of-2 slds-large-size_1-of-4">
123
+ <!-- Card adapts from 100% → 50% → 25% -->
124
+ </div>
125
+ <div class="slds-size_1-of-1 slds-medium-size_1-of-2 slds-large-size_1-of-4">
126
+ <!-- Card adapts from 100% → 50% → 25% -->
127
+ </div>
128
+ </div>
129
+ ```
130
+
131
+ ### Sidebar Layout
132
+ ```html
133
+ <!-- Fixed sidebar with flexible content -->
134
+ <div class="slds-grid">
135
+ <nav class="slds-size_medium">
136
+ <!-- Sidebar: 320px fixed width -->
137
+ </nav>
138
+ <main class="slds-col">
139
+ <!-- Content: Fills remaining space -->
140
+ </main>
141
+ </div>
142
+ ```
143
+
144
+ ### Reordered Content
145
+ ```html
146
+ <!-- Visual order differs from DOM order -->
147
+ <div class="slds-grid">
148
+ <div class="slds-size_1-of-3 slds-order_3">
149
+ <!-- Appears third visually -->
150
+ </div>
151
+ <div class="slds-size_1-of-3 slds-order_1">
152
+ <!-- Appears first visually -->
153
+ </div>
154
+ <div class="slds-size_1-of-3 slds-order_2">
155
+ <!-- Appears second visually -->
156
+ </div>
157
+ </div>
158
+ ```
159
+
160
+ ### Form Layout
161
+ ```html
162
+ <!-- Two-column form with responsive stacking -->
163
+ <div class="slds-form" role="form">
164
+ <div class="slds-grid slds-wrap slds-gutters">
165
+ <div class="slds-col slds-size_1-of-1 slds-medium-size_1-of-2">
166
+ <!-- First Name field: Full width mobile, half desktop -->
167
+ </div>
168
+ <div class="slds-col slds-size_1-of-1 slds-medium-size_1-of-2">
169
+ <!-- Last Name field: Full width mobile, half desktop -->
170
+ </div>
171
+ <div class="slds-col slds-size_1-of-1">
172
+ <!-- Email field: Always full width -->
173
+ </div>
174
+ </div>
175
+ </div>
176
+ ```
177
+
178
+ ## Best Practices
179
+
180
+ ✅ Use fractional widths for flexible grid layouts
181
+ ✅ Apply responsive classes for mobile-first design
182
+ ✅ Combine with `slds-grid` and `slds-wrap` for proper grid behavior
183
+ ✅ Use `slds-col` for flexible remaining space
184
+ ✅ Apply `slds-gutters` to parent grid for consistent spacing
185
+ ✅ Use semantic HTML elements with sizing utilities
186
+
187
+ ❌ Avoid mixing fractional and absolute sizes on siblings
188
+ ❌ Never use sizing utilities without proper grid container
189
+ ❌ Avoid using more than 12 total columns per row
190
+ ❌ Never rely solely on `slds-order_*` for accessibility - maintain logical DOM order
@@ -0,0 +1,121 @@
1
+ ---
2
+ id: slds.guidance.utilities.themes
3
+ title: Themes Utilities
4
+ description: SLDS theme utility classes for background and text colors
5
+ summary: "Utilities for applying color themes including default, shade, inverse, and semantic states (success, info, warning, error, offline)."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: themes
10
+
11
+ content_format: structured
12
+ complexity: intermediate
13
+ audience: [implementer]
14
+
15
+ tasks: [implement]
16
+
17
+ refs:
18
+ - slds.guidance.utilities
19
+ - slds.guidance.overview.utilities
20
+ - slds.guidance.hooks.color
21
+
22
+ tags: [utilities, themes, colors, backgrounds]
23
+ keywords: [slds-theme, background colors, semantic colors, inverse themes]
24
+ ---
25
+
26
+ # Themes - Color & Background
27
+
28
+ Applying consistent color themes to containers and components.
29
+
30
+ ## Core Classes
31
+
32
+ | Class | Purpose |
33
+ |-------|---------|
34
+ | `slds-theme_default` | White background with default text color |
35
+ | `slds-theme_shade` | Gray background (#F3F3F3) for subtle contrast |
36
+ | `slds-theme_inverse` | Dark blue background with white text |
37
+ | `slds-theme_alt-inverse` | Darker blue background variant |
38
+
39
+ ## Semantic State Themes
40
+
41
+ | Class | Background Color | Text Color |
42
+ |-------|-----------------|------------|
43
+ | `slds-theme_success` | Green (#4BCA81) | White |
44
+ | `slds-theme_info` | Gray-blue (#706E6B) | White |
45
+ | `slds-theme_warning` | Yellow (#FFB75D) | Black |
46
+ | `slds-theme_error` | Red (#EA001E) | White |
47
+ | `slds-theme_offline` | Black (#444) | White |
48
+
49
+ ## Texture Modifier
50
+
51
+ | Class | Purpose |
52
+ |-------|---------|
53
+ | `slds-theme_alert-texture` | Adds diagonal striped pattern overlay |
54
+
55
+ ## Common Patterns
56
+
57
+ ```html
58
+ <!-- Card with default theme -->
59
+ <div class="slds-card slds-theme_default">
60
+ <div class="slds-card__header">Default themed card</div>
61
+ <div class="slds-card__body">Card content with white background</div>
62
+ </div>
63
+
64
+ <!-- Section with shade background -->
65
+ <section class="slds-theme_shade slds-p-around_medium">
66
+ <!-- Gray background for visual separation -->
67
+ <h2>Section Title</h2>
68
+ <p>Content on subtle gray background</p>
69
+ </section>
70
+
71
+ <!-- Success notification banner -->
72
+ <div class="slds-theme_success slds-p-around_small">
73
+ <!-- Green background with white text -->
74
+ <span class="slds-icon_container">
75
+ <svg class="slds-icon slds-icon_small">...</svg>
76
+ </span>
77
+ <span>Operation completed successfully</span>
78
+ </div>
79
+
80
+ <!-- Warning alert with texture -->
81
+ <div class="slds-theme_warning slds-theme_alert-texture slds-p-around_medium">
82
+ <!-- Yellow background with striped texture -->
83
+ <strong>Warning:</strong> This action cannot be undone
84
+ </div>
85
+
86
+ <!-- Inverse header section -->
87
+ <header class="slds-theme_inverse slds-p-around_large">
88
+ <!-- Dark blue background with white text -->
89
+ <h1>Dashboard</h1>
90
+ <p>All text and links are automatically styled for dark backgrounds</p>
91
+ </header>
92
+ ```
93
+
94
+ ## Best Practices
95
+
96
+ ✅ Use `slds-theme_default` for standard white backgrounds
97
+ ✅ Apply `slds-theme_shade` to visually separate sections
98
+ ✅ Use semantic themes (success, error, warning) for status messages
99
+ ✅ Combine `slds-theme_alert-texture` with semantic themes for critical alerts
100
+ ✅ Apply themes to container elements, not individual text elements
101
+ ✅ Use `slds-theme_inverse` for headers and navigation areas
102
+
103
+ ❌ Nest multiple theme classes on the same element
104
+ ❌ Override theme colors with inline styles
105
+ ❌ Use semantic themes for decorative purposes
106
+ ❌ Apply themes to elements smaller than 44×44px touch targets
107
+
108
+ ## Deprecation Notes
109
+
110
+ The following double-dash variants are deprecated but still supported:
111
+ - `slds-theme--default` → Use `slds-theme_default`
112
+ - `slds-theme--shade` → Use `slds-theme_shade`
113
+ - `slds-theme--inverse` → Use `slds-theme_inverse`
114
+ - `slds-theme--alt-inverse` → Use `slds-theme_alt-inverse`
115
+ - `slds-theme--success` → Use `slds-theme_success`
116
+ - `slds-theme--info` → Use `slds-theme_info`
117
+ - `slds-theme--warning` → Use `slds-theme_warning`
118
+ - `slds-theme--error` → Use `slds-theme_error`
119
+ - `slds-theme--offline` → Use `slds-theme_offline`
120
+ - `slds-theme--alert-texture` → Use `slds-theme_alert-texture`
121
+ - `slds-theme--inverse-text` → Use `slds-theme_inverse-text`
@@ -0,0 +1,127 @@
1
+ ---
2
+ id: slds.guidance.utilities.truncate
3
+ title: Truncate Utilities
4
+ description: SLDS text truncation utility classes
5
+ summary: "Utilities for text truncation. Single-line truncation with ellipsis and container-based percentage truncation."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: truncate
10
+
11
+ content_format: structured
12
+ complexity: intermediate
13
+ audience: [implementer]
14
+
15
+ tasks: [implement]
16
+
17
+ refs:
18
+ - slds.guidance.utilities
19
+ - slds.guidance.overview.utilities
20
+ - slds.guidance.utilities.line-clamp
21
+
22
+ tags: [utilities, truncate, text-overflow, ellipsis]
23
+ keywords: [slds-truncate, text overflow, ellipsis, truncation]
24
+ ---
25
+
26
+ # Truncate - Text Overflow
27
+
28
+ Text truncation with ellipsis.
29
+
30
+ ## Core Classes
31
+
32
+ | Class | Purpose |
33
+ |-------|---------|
34
+ | `slds-truncate` | Truncates text at 100% container width with ellipsis |
35
+ | `slds-truncate_container_25` | Truncates text at 25% of parent width |
36
+ | `slds-truncate_container_33` | Truncates text at 33% of parent width |
37
+ | `slds-truncate_container_50` | Truncates text at 50% of parent width |
38
+ | `slds-truncate_container_66` | Truncates text at 66% of parent width |
39
+ | `slds-truncate_container_75` | Truncates text at 75% of parent width |
40
+ | `slds-has-flexi-truncate` | Applied to flex container to enable truncation in nested flexbox layouts |
41
+
42
+ ## Common Patterns
43
+
44
+ ### Table Cell Truncation
45
+ ```html
46
+ <!-- Truncate long text in table cells -->
47
+ <table class="slds-table slds-table_cell-buffer">
48
+ <tbody>
49
+ <tr>
50
+ <td class="slds-truncate" title="Complete text for accessibility">
51
+ <!-- Long customer name truncates with ellipsis -->
52
+ Very Long Customer Name That Will Be Truncated
53
+ </td>
54
+ </tr>
55
+ </tbody>
56
+ </table>
57
+ ```
58
+
59
+ ### List Item with Truncation
60
+ ```html
61
+ <!-- Email recipient list with truncation -->
62
+ <ul class="slds-list_horizontal">
63
+ <li class="slds-list__item">
64
+ <span>To:</span>
65
+ <span class="slds-truncate slds-m-left_xx-small" title="john.doe@example.com">
66
+ <!-- Email truncates to fit available space -->
67
+ john.doe@example.com
68
+ </span>
69
+ </li>
70
+ </ul>
71
+ ```
72
+
73
+ ### Card Header Truncation
74
+ ```html
75
+ <!-- Card with truncated title -->
76
+ <article class="slds-card">
77
+ <div class="slds-card__header">
78
+ <h2 class="slds-truncate" title="Full opportunity name">
79
+ <!-- Title truncates if too long -->
80
+ Very Long Opportunity Name - Q4 2024 Enterprise Deal
81
+ </h2>
82
+ </div>
83
+ </article>
84
+ ```
85
+
86
+ ### Partial Width Truncation
87
+ ```html
88
+ <!-- Truncate at specific percentage of parent -->
89
+ <div class="slds-grid">
90
+ <div class="slds-truncate_container_50">
91
+ <!-- Truncates at 50% of parent container -->
92
+ This text will truncate at half the parent width
93
+ </div>
94
+ <div class="slds-col">
95
+ <!-- Remaining content -->
96
+ </div>
97
+ </div>
98
+ ```
99
+
100
+ ### Flexbox with Truncation
101
+ ```html
102
+ <!-- Use with flexbox layouts -->
103
+ <div class="slds-grid">
104
+ <div class="slds-col slds-has-flexi-truncate">
105
+ <span class="slds-truncate" title="Full file name">
106
+ <!-- Truncates within flexible column -->
107
+ very-long-filename-with-many-words.pdf
108
+ </span>
109
+ </div>
110
+ <div class="slds-col_fixed">
111
+ <button class="slds-button">Download</button>
112
+ </div>
113
+ </div>
114
+ ```
115
+
116
+ ## Best Practices
117
+
118
+ ✅ Always include `title` attribute with full text for accessibility
119
+ ✅ Use `slds-has-flexi-truncate` on flex container when truncating within flexbox
120
+ ✅ Apply truncation to inline or block elements containing text
121
+ ✅ Use container percentage classes for predictable truncation points
122
+ ✅ Test truncation behavior across different viewport sizes
123
+
124
+ ❌ Never truncate text without providing full text in title attribute
125
+ ❌ Avoid truncating critical information like error messages
126
+ ❌ Never use truncation on interactive elements without proper tooltips
127
+ ❌ Avoid nested truncation classes