@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,192 @@
1
+ name: Builder Header
2
+ description: A specialized global header component designed for builder and editor interfaces. It provides a fixed header
3
+ with navigation, branding, and utility actions, along with an optional toolbar for document-level actions.
4
+ category: Layout
5
+ slds_classes:
6
+ root: slds-builder-header
7
+ elements:
8
+ - class: slds-builder-header_container
9
+ description: Container that fixes the builder header to the top of the viewport
10
+ purpose: Wrapper element that positions the header at the top of the page
11
+ - class: slds-builder-header__item
12
+ description: Direct child item of the builder header
13
+ purpose: Contains navigation items, branding, or utilities
14
+ - class: slds-builder-header__item-label
15
+ description: Non-interactive label inside a header item
16
+ purpose: Displays text or branding within a header item
17
+ - class: slds-builder-header__item-action
18
+ description: Interactive action element inside a header item
19
+ purpose: Clickable button or link within a header item
20
+ - class: slds-builder-header__nav
21
+ description: Container for the navigation region
22
+ purpose: Holds the navigation list within the header
23
+ - class: slds-builder-header__nav-list
24
+ description: List element containing navigation items
25
+ purpose: Unordered list wrapper for navigation items
26
+ - class: slds-builder-header__nav-item
27
+ description: Individual navigation item
28
+ purpose: List item wrapping each navigation element
29
+ - class: slds-builder-header__utilities
30
+ description: Container for utility actions (back, help, etc.)
31
+ purpose: Holds utility links and actions, typically right-aligned
32
+ - class: slds-builder-header__utilities-item
33
+ description: Individual utility item
34
+ purpose: Wrapper for utility actions like back or help buttons
35
+ - class: slds-builder-toolbar
36
+ description: Toolbar region below the builder header
37
+ purpose: Contains document-level actions and controls
38
+ - class: slds-builder-toolbar__actions
39
+ description: Container for toolbar actions
40
+ purpose: Holds action buttons, typically right-aligned
41
+ - class: slds-builder-toolbar__item-group
42
+ description: Group of related toolbar items
43
+ purpose: Visually groups related buttons or controls
44
+ modifiers: []
45
+ states: []
46
+ variants:
47
+ - name: Base
48
+ description: Standard builder header with navigation
49
+ classes:
50
+ - slds-builder-header
51
+ usage_context: Default builder header for editor interfaces
52
+ differences: Fixed header with dark background and navigation items
53
+ - name: With Toolbar
54
+ description: Builder header with toolbar region
55
+ classes:
56
+ - slds-builder-header_container
57
+ - slds-builder-header
58
+ - slds-builder-toolbar
59
+ usage_context: When document-level actions need to be accessible
60
+ differences: Includes a toolbar section below the main header
61
+ lightning_component:
62
+ name: ''
63
+ url: https://developer.salesforce.com/docs/component-library/overview/components
64
+ mapping_notes: No direct Lightning Base Component - typically built with lightning-layout and custom styling
65
+ accessibility:
66
+ keyboard_support:
67
+ - Tab to navigate between header items
68
+ - Enter or Space to activate header actions
69
+ - Arrow keys for navigation within header items
70
+ screen_reader:
71
+ - Header landmark announced
72
+ - Navigation landmark announced
73
+ - Action labels announced
74
+ - Current navigation state indicated
75
+ aria_attributes:
76
+ - role='banner' on header element
77
+ - role='navigation' on nav container
78
+ - aria-label on navigation regions
79
+ - aria-current for active navigation items
80
+ usage_guidelines:
81
+ when_to_use:
82
+ - For builder, editor, or creation interfaces
83
+ - When consistent global navigation is needed
84
+ - For applications with document-level actions
85
+ - In complex editing workflows
86
+ when_not_to_use:
87
+ - For standard application navigation (use global-header)
88
+ - In simple viewing interfaces
89
+ - When header needs to scroll with content
90
+ - For mobile-first experiences
91
+ best_practices:
92
+ - Keep navigation items concise and clear
93
+ - Place most important actions in visible areas
94
+ - Use consistent iconography and labeling
95
+ - Ensure adequate touch targets for mobile
96
+ - Group related toolbar actions together
97
+ - Maintain proper contrast on dark background
98
+ common_mistakes:
99
+ - Overcrowding the header with too many items
100
+ - Inconsistent spacing between elements
101
+ - Poor color contrast on background
102
+ - Missing keyboard navigation support
103
+ - Not indicating current/active state
104
+ code_examples:
105
+ - title: Basic Builder Header
106
+ code: "<div class=\"slds-builder-header_container\">\n <header class=\"slds-builder-header\">\n <div class=\"slds-builder-header__item\"\
107
+ >\n <div class=\"slds-builder-header__item-label\">\n <span class=\"\" title=\"Salesforce\">\n <svg\
108
+ \ class=\"slds-icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/logo-sprite/svg/symbols.svg#salesforce\"\
109
+ ></use>\n </svg>\n </span>\n </div>\n </div>\n <nav class=\"slds-builder-header__item slds-builder-header__nav\"\
110
+ \ role=\"navigation\" aria-label=\"Primary\">\n <ul class=\"slds-builder-header__nav-list\">\n <li class=\"\
111
+ slds-builder-header__nav-item\">\n <a href=\"#\" class=\"slds-builder-header__item-action\">Setup</a>\n \
112
+ \ </li>\n <li class=\"slds-builder-header__nav-item\">\n <a href=\"#\" class=\"slds-builder-header__item-action\"\
113
+ \ aria-current=\"page\">Editor</a>\n </li>\n </ul>\n </nav>\n <div class=\"slds-builder-header__item\
114
+ \ slds-builder-header__utilities\">\n <div class=\"slds-builder-header__utilities-item\">\n <a href=\"#\"\
115
+ \ class=\"slds-builder-header__item-action\">Back</a>\n </div>\n <div class=\"slds-builder-header__utilities-item\"\
116
+ >\n <a href=\"#\" class=\"slds-builder-header__item-action\">Help</a>\n </div>\n </div>\n </header>\n\
117
+ </div>\n"
118
+ description: Basic builder header with branding, navigation, and utilities
119
+ - title: Builder Header with Toolbar
120
+ code: "<div class=\"slds-builder-header_container\">\n <header class=\"slds-builder-header\">\n <div class=\"slds-builder-header__item\"\
121
+ >\n <div class=\"slds-builder-header__item-label\">\n <span>Page Builder</span>\n </div>\n </div>\n\
122
+ \ <nav class=\"slds-builder-header__item slds-builder-header__nav\" role=\"navigation\" aria-label=\"Primary\">\n \
123
+ \ <ul class=\"slds-builder-header__nav-list\">\n <li class=\"slds-builder-header__nav-item\">\n <a\
124
+ \ href=\"#\" class=\"slds-builder-header__item-action\">Properties</a>\n </li>\n <li class=\"slds-builder-header__nav-item\"\
125
+ >\n <a href=\"#\" class=\"slds-builder-header__item-action\" aria-current=\"page\">Content</a>\n </li>\n\
126
+ \ </ul>\n </nav>\n <div class=\"slds-builder-header__item slds-builder-header__utilities\">\n <div class=\"\
127
+ slds-builder-header__utilities-item\">\n <button class=\"slds-button slds-button_neutral slds-builder-header__item-action\"\
128
+ >Cancel</button>\n </div>\n <div class=\"slds-builder-header__utilities-item\">\n <button class=\"slds-button\
129
+ \ slds-button_brand slds-builder-header__item-action\">Save</button>\n </div>\n </div>\n </header>\n <div class=\"\
130
+ slds-builder-toolbar\">\n <div class=\"slds-builder-toolbar__item-group\">\n <button class=\"slds-button slds-button_icon\
131
+ \ slds-button_icon-border\" title=\"Undo\">\n <svg class=\"slds-button__icon\" aria-hidden=\"true\">\n \
132
+ \ <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#undo\"></use>\n </svg>\n <span class=\"\
133
+ slds-assistive-text\">Undo</span>\n </button>\n <button class=\"slds-button slds-button_icon slds-button_icon-border\"\
134
+ \ title=\"Redo\">\n <svg class=\"slds-button__icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#redo\"\
135
+ ></use>\n </svg>\n <span class=\"slds-assistive-text\">Redo</span>\n </button>\n </div>\n <div\
136
+ \ class=\"slds-builder-toolbar__actions\">\n <div class=\"slds-builder-toolbar__item-group\">\n <button class=\"\
137
+ slds-button slds-button_icon slds-button_icon-border\" title=\"Preview\">\n <svg class=\"slds-button__icon\"\
138
+ \ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#preview\"></use>\n\
139
+ \ </svg>\n <span class=\"slds-assistive-text\">Preview</span>\n </button>\n </div>\n \
140
+ \ </div>\n </div>\n</div>\n"
141
+ description: Builder header with toolbar containing document actions
142
+ styling_hooks:
143
+ - name: --slds-g-color-brand-base-20
144
+ description: Background color of the builder header
145
+ css_property: background
146
+ - name: --slds-g-color-neutral-base-100
147
+ description: Text color in the builder header
148
+ css_property: color
149
+ - name: --slds-g-color-brand-base-10
150
+ description: Border color between header items
151
+ css_property: border-color
152
+ - name: --slds-g-shadow-inset-inverse-focus-1
153
+ description: Focus shadow for header actions
154
+ css_property: box-shadow
155
+ - name: --slds-g-color-border-base-1
156
+ description: Toolbar border color
157
+ css_property: border-color
158
+ dependencies:
159
+ css_files:
160
+ - builder-header.css
161
+ - button.css
162
+ javascript:
163
+ - Navigation state management
164
+ - Active item highlighting
165
+ icons:
166
+ - utility:undo
167
+ - utility:redo
168
+ - utility:preview
169
+ - logo:salesforce
170
+ other_components:
171
+ - button
172
+ - icon
173
+ related_components:
174
+ - name: Global Header
175
+ relationship: alternative
176
+ description: Standard application header for non-builder interfaces
177
+ - name: Page Header
178
+ relationship: related
179
+ description: Header for individual pages, not globally fixed
180
+ - name: Docked Utility Bar
181
+ relationship: complementary
182
+ description: Can be used alongside builder header for utilities
183
+ references:
184
+ official_docs: https://v1.lightningdesignsystem.com/components/builder-header/
185
+ metadata:
186
+ version: 1.0.0
187
+ last_updated: '2025-11-11'
188
+ author: SLDS Documentation Team
189
+ slds_version: 2.27.2
190
+ review_status: complete
191
+ source: official-slds
192
+ notes: Created from official SLDS documentation and design-system-internal source code
@@ -0,0 +1,82 @@
1
+ name: "Button Groups"
2
+ description: "A collection of related buttons grouped together, maintaining consistent spacing and visual hierarchy while providing clear action choices."
3
+ category: "Actions"
4
+ slds_classes:
5
+ root: "slds-button-group"
6
+ elements: []
7
+ modifiers: []
8
+ states: []
9
+ variants:
10
+ - name: "Base"
11
+ description: "Standard button group with consistent spacing"
12
+ classes:
13
+ - "slds-button-group"
14
+ usage_context: "Default implementation for related action grouping"
15
+ differences: "Horizontal layout with proper button spacing"
16
+ lightning_component:
17
+ name: "lightning-button-group"
18
+ url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-button-group"
19
+ mapping_notes: "Direct mapping - Lightning component implements SLDS button group blueprint"
20
+ accessibility:
21
+ keyboard_support:
22
+ - "Tab navigation through individual buttons"
23
+ - "Enter/Space to activate buttons"
24
+ - "Arrow keys for group navigation when appropriate"
25
+ screen_reader:
26
+ - "Group structure conveyed through list semantics"
27
+ - "Individual button labels announced"
28
+ - "Button relationships communicated"
29
+ aria_attributes:
30
+ - "role='group' with descriptive aria-label"
31
+ - "role='list' for button container"
32
+ - "role='listitem' for individual button wrappers"
33
+ usage_guidelines:
34
+ when_to_use:
35
+ - "For related actions that should be grouped together"
36
+ - "When you need consistent button spacing"
37
+ - "For toolbar-style interfaces"
38
+ - "When actions are conceptually related but distinct"
39
+ when_not_to_use:
40
+ - "For single actions (use individual buttons)"
41
+ - "When actions are unrelated"
42
+ - "For navigation (use navigation components instead)"
43
+ best_practices:
44
+ - "Group conceptually related actions together"
45
+ - "Maintain consistent button styling within groups"
46
+ - "Order buttons by importance or frequency of use"
47
+ - "Provide clear, action-oriented button labels"
48
+ common_mistakes:
49
+ - "Grouping unrelated actions together"
50
+ - "Using inconsistent button styles within a group"
51
+ - "Creating overly large button groups"
52
+ code_examples:
53
+ - title: "Basic Button Group"
54
+ description: "Basic button group with cancel and save actions"
55
+ code: |
56
+ <div class="slds-button-group" role="group" aria-label="Form actions">
57
+ <button class="slds-button slds-button_neutral">Cancel</button>
58
+ <button class="slds-button slds-button_brand">Save</button>
59
+ </div>
60
+ styling_hooks: []
61
+ dependencies:
62
+ css_files:
63
+ - "button-group.css"
64
+ - "button.css"
65
+ javascript: []
66
+ icons: []
67
+ other_components:
68
+ - "button"
69
+ related_components:
70
+ - name: "Button"
71
+ relationship: "depends-on"
72
+ description: "Individual buttons that make up the group"
73
+ - name: "Button Icons"
74
+ relationship: "depends-on"
75
+ description: "Icon buttons can be used within groups"
76
+ references:
77
+ official_docs: "https://v1.lightningdesignsystem.com/components/button-groups/"
78
+ metadata:
79
+ version: "1.0.0"
80
+ last_updated: "2025-11-12"
81
+ review_status: "complete"
82
+ notes: " Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."
@@ -0,0 +1,295 @@
1
+ name: "Button Icons"
2
+ description: "Icon-only buttons that provide visual actions without text labels. Available in multiple variants including transparent, bordered, filled, and inverse styles for use on different backgrounds."
3
+ category: "Actions"
4
+ slds_classes:
5
+ root: "slds-button_icon"
6
+ elements:
7
+ - class: "slds-button__icon"
8
+ description: "Icon element within the button"
9
+ purpose: "SVG icon that represents the button action"
10
+ - class: "slds-button__icon_hint"
11
+ description: "Hint styling for icon that changes on hover"
12
+ purpose: "Subdued icon color that becomes more visible on hover"
13
+ - class: "slds-button__icon_inverse-hint"
14
+ description: "Hint styling for icon on dark backgrounds"
15
+ purpose: "Subdued inverse icon color for dark backgrounds"
16
+ modifiers:
17
+ - class: "slds-button_icon-container"
18
+ description: "Container-styled button icon with standard dimensions"
19
+ purpose: "Default 32x32px button icon container"
20
+ - class: "slds-button_icon-border"
21
+ description: "Button icon with transparent background and border"
22
+ purpose: "Bordered button icon for light backgrounds"
23
+ - class: "slds-button_icon-border-filled"
24
+ description: "Button icon with filled white background and border"
25
+ purpose: "Bordered button with solid background"
26
+ - class: "slds-button_icon-border-inverse"
27
+ description: "Button icon with border for dark backgrounds"
28
+ purpose: "Bordered button icon for inverse/dark backgrounds"
29
+ - class: "slds-button_icon-inverse"
30
+ description: "Bare button icon for dark backgrounds"
31
+ purpose: "Button icon without border for dark backgrounds"
32
+ - class: "slds-button_icon-brand"
33
+ description: "Button icon with brand color background"
34
+ purpose: "Branded, filled button icon"
35
+ - class: "slds-button_icon-more"
36
+ description: "Button icon for overflow menus with borders"
37
+ purpose: "Typically used for three-dot menu buttons"
38
+ - class: "slds-button_icon-container-more"
39
+ description: "Button icon for overflow menus without borders"
40
+ purpose: "Borderless overflow menu button"
41
+ - class: "slds-button_icon-error"
42
+ description: "Error state styling for button icon"
43
+ purpose: "Indicates error or destructive action"
44
+ - class: "slds-button_icon-warning"
45
+ description: "Warning state styling for button icon"
46
+ purpose: "Indicates caution or warning"
47
+ - class: "slds-button_icon-current-color"
48
+ description: "Applies current text color to icon"
49
+ purpose: "Inherits color from parent context"
50
+ - class: "slds-button_icon-xx-small"
51
+ description: "Extra extra small button icon (16x16px)"
52
+ purpose: "Smallest button icon size"
53
+ - class: "slds-button_icon-x-small"
54
+ description: "Extra small button icon (20x20px)"
55
+ purpose: "Very small button icon size"
56
+ - class: "slds-button_icon-small"
57
+ description: "Small button icon (24x24px)"
58
+ purpose: "Small button icon size"
59
+ - class: "slds-button_icon-large"
60
+ description: "Large button icon (48x48px)"
61
+ purpose: "Large button icon size"
62
+ states:
63
+ - class: "slds-is-selected"
64
+ description: "Selected/active state for button icon"
65
+ trigger: "When button represents active state"
66
+ variants:
67
+ - name: "Bare"
68
+ description: "Icon button with no background or border"
69
+ classes:
70
+ - "slds-button_icon"
71
+ usage_context: "Minimal button style for light backgrounds"
72
+ differences: "Transparent with icon only, no visual container"
73
+ - name: "Container"
74
+ description: "Icon button with container sizing"
75
+ classes:
76
+ - "slds-button_icon"
77
+ - "slds-button_icon-container"
78
+ usage_context: "Standard icon button with defined boundaries"
79
+ differences: "32x32px container for consistent sizing"
80
+ - name: "Border"
81
+ description: "Icon button with border and transparent background"
82
+ classes:
83
+ - "slds-button_icon"
84
+ - "slds-button_icon-border"
85
+ usage_context: "When button needs more visual weight"
86
+ differences: "Border with transparent background"
87
+ - name: "Border Filled"
88
+ description: "Icon button with border and filled background"
89
+ classes:
90
+ - "slds-button_icon"
91
+ - "slds-button_icon-border-filled"
92
+ usage_context: "Maximum visual emphasis for icon button"
93
+ differences: "Border with solid white background"
94
+ - name: "Inverse"
95
+ description: "Icon button for dark backgrounds"
96
+ classes:
97
+ - "slds-button_icon"
98
+ - "slds-button_icon-inverse"
99
+ usage_context: "Use on dark or colored backgrounds"
100
+ differences: "Light colored icon for dark backgrounds"
101
+ - name: "Border Inverse"
102
+ description: "Bordered icon button for dark backgrounds"
103
+ classes:
104
+ - "slds-button_icon"
105
+ - "slds-button_icon-border-inverse"
106
+ usage_context: "Bordered button on dark backgrounds"
107
+ differences: "Border with inverse colors"
108
+ - name: "Brand"
109
+ description: "Icon button with brand color background"
110
+ classes:
111
+ - "slds-button_icon"
112
+ - "slds-button_icon-brand"
113
+ usage_context: "Primary action icon button"
114
+ differences: "Filled with brand blue background"
115
+ lightning_component:
116
+ name: "lightning-button-icon"
117
+ url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-button-icon"
118
+ mapping_notes: "lightning-button-icon provides icon-only buttons with variant support"
119
+ accessibility:
120
+ keyboard_support:
121
+ - "Tab to focus button"
122
+ - "Enter or Space to activate button"
123
+ screen_reader:
124
+ - "Button role announced"
125
+ - "Accessible label must be provided (aria-label or slds-assistive-text)"
126
+ - "Button state announced (pressed, disabled)"
127
+ aria_attributes:
128
+ - "aria-label required for icon-only buttons"
129
+ - "aria-pressed for toggle buttons"
130
+ - "aria-disabled for disabled state"
131
+ - "title attribute for tooltip text"
132
+ usage_guidelines:
133
+ when_to_use:
134
+ - "For actions where icon clearly conveys meaning"
135
+ - "To save space in compact interfaces"
136
+ - "For common, well-understood actions (edit, delete, close)"
137
+ - "In toolbars and action bars"
138
+ when_not_to_use:
139
+ - "For actions that aren't universally understood"
140
+ - "When text label would significantly improve clarity"
141
+ - "As primary call-to-action (use full button instead)"
142
+ - "For complex or ambiguous actions"
143
+ best_practices:
144
+ - "Always provide accessible text via aria-label or assistive text"
145
+ - "Use consistent icons for same actions throughout app"
146
+ - "Provide tooltip on hover for additional context"
147
+ - "Ensure adequate touch target size (minimum 44x44px)"
148
+ - "Choose appropriate variant for background context"
149
+ - "Use hint variant for less important actions"
150
+ common_mistakes:
151
+ - "Missing accessible text label"
152
+ - "Using unclear or ambiguous icons"
153
+ - "Touch targets too small on mobile"
154
+ - "Wrong variant for background color"
155
+ - "Inconsistent icon usage across application"
156
+ code_examples:
157
+ - title: "Basic Icon Button"
158
+ code: |
159
+ <button class="slds-button slds-button_icon" aria-label="Settings" title="Settings">
160
+ <svg class="slds-button__icon" aria-hidden="true">
161
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
162
+ </svg>
163
+ </button>
164
+ - title: "Bordered Icon Button"
165
+ code: |
166
+ <button class="slds-button slds-button_icon slds-button_icon-border" aria-label="Edit" title="Edit">
167
+ <svg class="slds-button__icon" aria-hidden="true">
168
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#edit"></use>
169
+ </svg>
170
+ <span class="slds-assistive-text">Edit</span>
171
+ </button>
172
+ - title: "Filled Bordered Icon Button"
173
+ code: |
174
+ <button class="slds-button slds-button_icon slds-button_icon-border-filled" aria-label="Search" title="Search">
175
+ <svg class="slds-button__icon" aria-hidden="true">
176
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#search"></use>
177
+ </svg>
178
+ <span class="slds-assistive-text">Search</span>
179
+ </button>
180
+ - title: "Brand Icon Button"
181
+ code: |
182
+ <button class="slds-button slds-button_icon slds-button_icon-brand" aria-label="Add" title="Add">
183
+ <svg class="slds-button__icon" aria-hidden="true">
184
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#add"></use>
185
+ </svg>
186
+ <span class="slds-assistive-text">Add</span>
187
+ </button>
188
+ - title: "Inverse Icon Button"
189
+ code: |
190
+ <div class="slds-box" style="background: #16325c; padding: 1rem;">
191
+ <button class="slds-button slds-button_icon slds-button_icon-inverse" aria-label="Close" title="Close">
192
+ <svg class="slds-button__icon" aria-hidden="true">
193
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close"></use>
194
+ </svg>
195
+ <span class="slds-assistive-text">Close</span>
196
+ </button>
197
+ </div>
198
+ - title: "Icon Button with Hint"
199
+ code: |
200
+ <div class="slds-hint-parent">
201
+ <button class="slds-button slds-button_icon slds-button_icon-border-filled" aria-label="Help" title="Help">
202
+ <svg class="slds-button__icon slds-button__icon_hint" aria-hidden="true">
203
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#help"></use>
204
+ </svg>
205
+ <span class="slds-assistive-text">Help</span>
206
+ </button>
207
+ </div>
208
+ - title: "Size Variants"
209
+ code: |
210
+ <div class="slds-grid slds-grid_vertical-align-center slds-gutters_small">
211
+ <div class="slds-col">
212
+ <button class="slds-button slds-button_icon slds-button_icon-border slds-button_icon-xx-small" aria-label="Extra Extra Small">
213
+ <svg class="slds-button__icon" aria-hidden="true">
214
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
215
+ </svg>
216
+ </button>
217
+ </div>
218
+ <div class="slds-col">
219
+ <button class="slds-button slds-button_icon slds-button_icon-border slds-button_icon-x-small" aria-label="Extra Small">
220
+ <svg class="slds-button__icon" aria-hidden="true">
221
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
222
+ </svg>
223
+ </button>
224
+ </div>
225
+ <div class="slds-col">
226
+ <button class="slds-button slds-button_icon slds-button_icon-border slds-button_icon-small" aria-label="Small">
227
+ <svg class="slds-button__icon" aria-hidden="true">
228
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
229
+ </svg>
230
+ </button>
231
+ </div>
232
+ <div class="slds-col">
233
+ <button class="slds-button slds-button_icon slds-button_icon-border" aria-label="Medium (default)">
234
+ <svg class="slds-button__icon" aria-hidden="true">
235
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
236
+ </svg>
237
+ </button>
238
+ </div>
239
+ <div class="slds-col">
240
+ <button class="slds-button slds-button_icon slds-button_icon-border slds-button_icon-large" aria-label="Large">
241
+ <svg class="slds-button__icon" aria-hidden="true">
242
+ <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#settings"></use>
243
+ </svg>
244
+ </button>
245
+ </div>
246
+ </div>
247
+ styling_hooks:
248
+ - name: "--slds-g-color-neutral-base-50"
249
+ description: "Default icon color"
250
+ css_property: "color"
251
+ - name: "--slds-g-color-neutral-base-100"
252
+ description: "Background color for filled variants"
253
+ css_property: "background-color"
254
+ - name: "--slds-g-shadow-outset-focus-1"
255
+ description: "Focus shadow for buttons"
256
+ css_property: "box-shadow"
257
+ - name: "--slds-g-color-error-base-40"
258
+ description: "Color for error state"
259
+ css_property: "color"
260
+ - name: "--slds-g-color-warning-base-50"
261
+ description: "Color for warning state"
262
+ css_property: "color"
263
+ dependencies:
264
+ css_files:
265
+ - "button-icons.css"
266
+ - "button.css"
267
+ - "icon.css"
268
+ javascript:
269
+ - "Click handlers"
270
+ - "Tooltip functionality"
271
+ icons:
272
+ - "Various utility icons"
273
+ other_components:
274
+ - "icon"
275
+ - "tooltip"
276
+ related_components:
277
+ - name: "Button"
278
+ relationship: "parent"
279
+ description: "Base button component"
280
+ - name: "Button Group"
281
+ relationship: "complementary"
282
+ description: "Groups multiple button icons together"
283
+ - name: "Icon"
284
+ relationship: "contains"
285
+ description: "Icon element within button"
286
+ references:
287
+ official_docs: "https://v1.lightningdesignsystem.com/components/button-icons/"
288
+ metadata:
289
+ version: "1.0.0"
290
+ last_updated: "2025-11-12"
291
+ author: "SLDS Documentation Team"
292
+ slds_version: "2.27.2"
293
+ review_status: "complete"
294
+ source: "official-slds"
295
+ notes: "Created from official SLDS documentation and design-system-internal source code Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."