@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,166 @@
1
+ ---
2
+ id: slds.guidance.utilities.typography
3
+ title: Typography Utilities
4
+ description: SLDS text styling and typography utility classes
5
+ summary: "Utilities for text styling. Headings, body text, alignment, colors, and special formatting. Link utilities are documented in [Interactions](ref:slds.guidance.utilities.interactions)."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: typography
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.interactions
21
+ - slds.guidance.hooks.typography
22
+
23
+ tags: [utilities, typography, text, headings, alignment]
24
+ keywords: [slds-text-heading, slds-text-body, slds-text-color, slds-text-align]
25
+ ---
26
+
27
+ # Typography - Text Styling
28
+
29
+ Text styling, headings, alignment, and colors.
30
+
31
+ ## Core Classes
32
+
33
+ ### Heading Sizes
34
+
35
+ | Class | Purpose |
36
+ |-------|---------|
37
+ | `slds-text-heading_large` | Large heading (28px, line-height 1.25) |
38
+ | `slds-text-heading_medium` | Medium heading (20px, line-height 1.25) |
39
+ | `slds-text-heading_small` | Small heading (16px, line-height 1.25) |
40
+
41
+ ### Title Styles
42
+
43
+ | Class | Purpose |
44
+ |-------|---------|
45
+ | `slds-text-title` | Standard title (12px, line-height 1.25) |
46
+ | `slds-text-title_caps` | Uppercase title (12px, weight 400, letter-spacing 0.0625rem) |
47
+ | `slds-text-title_bold` | Bold title (12px, weight 700) |
48
+
49
+ ### Body Text
50
+
51
+ | Class | Purpose |
52
+ |-------|---------|
53
+ | `slds-text-body_regular` | Regular body text (13px) |
54
+ | `slds-text-body_small` | Small body text (12px) |
55
+
56
+ ### Text Alignment
57
+
58
+ | Class | Purpose |
59
+ |-------|---------|
60
+ | `slds-text-align_left` | Aligns text to start |
61
+ | `slds-text-align_center` | Centers text |
62
+ | `slds-text-align_right` | Aligns text to end |
63
+
64
+ ### Text Colors
65
+
66
+ | Class | Purpose |
67
+ |-------|---------|
68
+ | `slds-text-color_default` | Default text color |
69
+ | `slds-text-color_weak` | De-emphasized text color |
70
+ | `slds-text-color_error` | Error state text (red) |
71
+ | `slds-text-color_destructive` | Destructive action text (red) |
72
+ | `slds-text-color_success` | Success state text (green) |
73
+ | `slds-text-color_inverse` | Light text on dark background |
74
+ | `slds-text-color_inverse-weak` | De-emphasized inverse text |
75
+
76
+ ### Special Formatting
77
+
78
+ | Class | Purpose |
79
+ |-------|---------|
80
+ | `slds-text-longform` | Applies default spacing to content blocks |
81
+ | `slds-text-font_monospace` | Applies monospace font family |
82
+ | `slds-line-height_reset` | Resets line-height to 1 |
83
+
84
+ ## Common Patterns
85
+
86
+ ### Page Header
87
+ ```html
88
+ <!-- Main page title with subtitle -->
89
+ <div class="slds-page-header">
90
+ <h1 class="slds-text-heading_large">
91
+ <!-- 28px heading -->
92
+ Account Details
93
+ </h1>
94
+ <p class="slds-text-body_regular slds-text-color_weak">
95
+ <!-- 13px de-emphasized text -->
96
+ View and manage account information
97
+ </p>
98
+ </div>
99
+ ```
100
+
101
+ ### Section Headers
102
+ ```html
103
+ <!-- Section with title caps -->
104
+ <section class="slds-m-top_large">
105
+ <h2 class="slds-text-title_caps slds-m-bottom_small">
106
+ <!-- 12px uppercase title -->
107
+ CONTACT INFORMATION
108
+ </h2>
109
+ <div class="slds-text-body_regular">
110
+ <!-- Content -->
111
+ </div>
112
+ </section>
113
+ ```
114
+
115
+ ### Status Messages
116
+ ```html
117
+ <!-- Success message -->
118
+ <div class="slds-text-color_success slds-text-align_center">
119
+ <!-- Green centered text -->
120
+ Record saved successfully
121
+ </div>
122
+
123
+ <!-- Error message -->
124
+ <div class="slds-text-color_error slds-m-top_small">
125
+ <!-- Red error text -->
126
+ Required field missing
127
+ </div>
128
+ ```
129
+
130
+ ### Long-Form Content
131
+ ```html
132
+ <!-- Article with automatic spacing -->
133
+ <article class="slds-text-longform">
134
+ <!-- Automatic margins for h1, h2, h3, p, ul, ol -->
135
+ <h1>Article Title</h1>
136
+ <p>First paragraph with automatic bottom margin.</p>
137
+ <ul>
138
+ <!-- Disc bullets with proper indentation -->
139
+ <li>First item</li>
140
+ <li>Second item</li>
141
+ </ul>
142
+ </article>
143
+ ```
144
+
145
+ ### Code Display
146
+ ```html
147
+ <!-- Monospace text for code -->
148
+ <code class="slds-text-font_monospace slds-text-body_small">
149
+ <!-- 12px monospace font -->
150
+ SELECT Id, Name FROM Account
151
+ </code>
152
+ ```
153
+
154
+ ## Best Practices
155
+
156
+ ✅ Use semantic HTML elements (h1-h6) with text utility classes
157
+ ✅ Apply `slds-text-heading_*` classes to maintain consistent sizing
158
+ ✅ Use `slds-text-color_weak` for secondary information
159
+ ✅ Apply `slds-text-title_caps` for section labels and tabs
160
+ ✅ Use `slds-text-longform` for user-generated content areas
161
+ ✅ Combine text utilities with spacing utilities for proper layout
162
+
163
+ ❌ Avoid using heading classes on non-heading elements for sizing
164
+ ❌ Never use color utilities as the only indicator of state
165
+ ❌ Avoid mixing multiple text size classes on the same element
166
+ ❌ Never override line-height unless using `slds-line-height_reset`
@@ -0,0 +1,166 @@
1
+ ---
2
+ id: slds.guidance.utilities.vertical-list
3
+ title: Vertical-list Utilities
4
+ description: SLDS vertical list utility classes for list formatting and spacing
5
+ summary: "Utilities for vertical lists including dividers, cards, spacing, link blocks, and list styles (dotted, ordered)."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: vertical-list
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, lists, vertical-list, dividers]
22
+ keywords: [slds-list, slds-has-dividers, vertical spacing, list formatting]
23
+ ---
24
+
25
+ # Vertical List - Formatting & Spacing
26
+
27
+ Creating and styling vertical lists with consistent spacing, dividers, and interactive states.
28
+
29
+ ## Core Classes
30
+
31
+ | Class | Purpose |
32
+ |-------|---------|
33
+ | `slds-list_vertical` | Base vertical list container |
34
+ | `slds-list__item` | Individual list item |
35
+ | `slds-item` | Generic item (alternative to `slds-list__item`) |
36
+ | `slds-is-selected` | Marks selected state with accent border |
37
+ | `slds-is-nested` | Indents nested lists by 16px |
38
+
39
+ ## List Styles
40
+
41
+ | Class | Purpose |
42
+ |-------|---------|
43
+ | `slds-list_dotted` | Unordered list with disc bullets |
44
+ | `slds-list_ordered` | Ordered list with decimal numbers |
45
+
46
+ ## Spacing Variants
47
+
48
+ | Class | Spacing Between Items |
49
+ |-------|----------------------|
50
+ | `slds-list_vertical-space` | 8px (`x-small`) |
51
+ | `slds-list_vertical-space-medium` | 16px (`medium`) |
52
+
53
+ ## Divider Classes
54
+
55
+ ### Line Dividers
56
+ | Class | Purpose |
57
+ |-------|---------|
58
+ | `slds-has-dividers` | Bottom border on items with hover states |
59
+ | `slds-has-dividers_top` | Top border on each item |
60
+ | `slds-has-dividers_bottom` | Bottom border on each item |
61
+ | `slds-has-dividers_top-space` | Top border with 8px padding |
62
+ | `slds-has-dividers_bottom-space` | Bottom border with 8px padding |
63
+
64
+ ### Card Dividers
65
+ | Class | Purpose |
66
+ |-------|---------|
67
+ | `slds-has-cards` | Bordered cards with rounded corners |
68
+ | `slds-has-cards_space` | Bordered cards with 12px padding |
69
+ | `slds-has-dividers_around` | Full border around each item |
70
+ | `slds-has-dividers_around-space` | Full border with 12px padding |
71
+
72
+ ### Single Dividers
73
+ | Class | Purpose |
74
+ |-------|---------|
75
+ | `slds-has-divider` | Single top divider (8px margin + padding) |
76
+ | `slds-has-divider_top` | Top border only |
77
+ | `slds-has-divider_bottom` | Bottom border only |
78
+ | `slds-has-divider_top-space` | Top border with padding |
79
+ | `slds-has-divider_bottom-space` | Bottom border with padding |
80
+ | `slds-has-divider_right` | Right border only |
81
+ | `slds-has-divider_left` | Left border only |
82
+
83
+ ## Link Blocks
84
+
85
+ | Class | Purpose |
86
+ |-------|---------|
87
+ | `slds-has-block-links` | Makes links display block |
88
+ | `slds-has-block-links_space` | Block links with 12px padding |
89
+ | `slds-has-inline-block-links` | Makes links display inline-block |
90
+ | `slds-has-inline-block-links_space` | Inline-block links with 12px padding |
91
+
92
+ ## Interactive States
93
+
94
+ | Class | Purpose |
95
+ |-------|---------|
96
+ | `slds-has-list-interactions` | Enables hover and active states |
97
+
98
+ ## Common Patterns
99
+
100
+ ```html
101
+ <!-- Basic vertical list with dividers -->
102
+ <ul class="slds-list_vertical slds-has-dividers">
103
+ <li class="slds-list__item">Item 1</li>
104
+ <li class="slds-list__item">Item 2</li>
105
+ <li class="slds-list__item slds-is-selected">Selected Item</li>
106
+ </ul>
107
+
108
+ <!-- Card-style list with spacing -->
109
+ <ul class="slds-has-cards_space">
110
+ <li class="slds-list__item">
111
+ <!-- Each item appears as a card with padding -->
112
+ <h3>Card Title</h3>
113
+ <p>Card content with 12px padding</p>
114
+ </li>
115
+ <li class="slds-list__item">
116
+ <h3>Another Card</h3>
117
+ <p>Automatically spaced 8px apart</p>
118
+ </li>
119
+ </ul>
120
+
121
+ <!-- List with block links -->
122
+ <ul class="slds-has-block-links_space">
123
+ <li class="slds-list__item">
124
+ <a href="/page1">
125
+ <!-- Entire area is clickable with padding -->
126
+ <h3>Link Title</h3>
127
+ <p>Description text</p>
128
+ </a>
129
+ </li>
130
+ <li class="slds-list__item">
131
+ <a href="/page2">Another clickable item</a>
132
+ </li>
133
+ </ul>
134
+
135
+ <!-- Nested list with bullets -->
136
+ <ul class="slds-list_dotted">
137
+ <li>Parent item</li>
138
+ <li>
139
+ Another parent
140
+ <ul class="slds-list_dotted slds-is-nested">
141
+ <li>Nested child 1</li>
142
+ <li>Nested child 2</li>
143
+ </ul>
144
+ </li>
145
+ </ul>
146
+
147
+ <!-- Interactive list with hover states -->
148
+ <ul class="slds-list_vertical slds-has-dividers slds-has-list-interactions">
149
+ <li class="slds-list__item">Hover for gray background</li>
150
+ <li class="slds-list__item">Click for active state</li>
151
+ </ul>
152
+ ```
153
+
154
+ ## Best Practices
155
+
156
+ ✅ Use `slds-list_vertical` with `slds-has-dividers` for navigation menus
157
+ ✅ Apply `slds-has-cards_space` for distinct content sections
158
+ ✅ Use `slds-has-block-links_space` for clickable list items
159
+ ✅ Add `slds-is-selected` to indicate current selection
160
+ ✅ Combine `slds-list_dotted` or `slds-list_ordered` for structured content
161
+ ✅ Use `slds-is-nested` for hierarchical lists
162
+
163
+ ❌ Mix card styles with line dividers on the same list
164
+ ❌ Apply multiple divider types to the same element
165
+ ❌ Use `slds-list__item` and `slds-item` interchangeably in the same list
166
+ ❌ Nest lists more than 3 levels deep
@@ -0,0 +1,228 @@
1
+ ---
2
+ id: slds.guidance.utilities.visibility
3
+ title: Visibility Utilities
4
+ description: SLDS show/hide and responsive display utility classes
5
+ summary: "Utilities for controlling element visibility including basic show/hide, responsive breakpoints, screen reader support, and collapsed/expanded states."
6
+
7
+ artifact_type: reference
8
+ domain: utilities
9
+ topic: visibility
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, visibility, responsive, accessibility]
22
+ keywords: [slds-show, slds-hide, slds-assistive-text, responsive visibility, screen reader]
23
+ ---
24
+
25
+ # Visibility - Show/Hide Elements
26
+
27
+ Controlling element visibility and responsive display.
28
+
29
+ ## Basic Visibility
30
+
31
+ | Class | Effect |
32
+ |-------|--------|
33
+ | `slds-show` | Display block |
34
+ | `slds-hide` | Display none (!important, hidden from screen readers) |
35
+ | `slds-hidden` | Visibility hidden (!important, maintains space) |
36
+ | `slds-visible` | Visibility visible |
37
+ | `slds-is-visually-empty` | Removes element from layout flow |
38
+
39
+ **Display Variants**:
40
+ - `slds-show_inline` - Display inline
41
+ - `slds-show_inline-block` - Display inline-block
42
+
43
+ ## Screen Reader Support
44
+
45
+ | Class | Purpose |
46
+ |-------|---------|
47
+ | `slds-assistive-text` | Visually hidden but readable by screen readers |
48
+ | `slds-assistive-text_focus` | Becomes visible when focused (for skip links) |
49
+
50
+ ```html
51
+ <!-- Icon with screen reader label -->
52
+ <button class="slds-button slds-button_icon">
53
+ <svg class="slds-icon">...</svg>
54
+ <span class="slds-assistive-text">Edit Record</span>
55
+ </button>
56
+
57
+ <!-- Skip navigation link -->
58
+ <a href="#main" class="slds-assistive-text slds-assistive-text_focus">
59
+ Skip to main content
60
+ </a>
61
+ ```
62
+
63
+ ## Collapsed/Expanded States
64
+
65
+ | Class | Effect |
66
+ |-------|--------|
67
+ | `slds-is-collapsed` | Height: 0, overflow: hidden |
68
+ | `slds-is-expanded` | Height: auto, overflow: visible |
69
+
70
+ ```html
71
+ <!-- Collapsible section -->
72
+ <div class="slds-section">
73
+ <button aria-expanded="false" aria-controls="section-content">
74
+ Toggle Section
75
+ </button>
76
+ <div id="section-content" class="slds-is-collapsed">
77
+ <!-- Content hidden by default -->
78
+ Collapsible content here
79
+ </div>
80
+ </div>
81
+ ```
82
+
83
+ ## Transition Visibility
84
+
85
+ | Class | Effect |
86
+ |-------|--------|
87
+ | `slds-transition-hide` | Opacity: 0 |
88
+ | `slds-transition-show` | Opacity: 1 |
89
+
90
+ Add CSS transitions for smooth animations:
91
+ ```css
92
+ .slds-transition-hide,
93
+ .slds-transition-show {
94
+ transition: opacity 0.3s ease;
95
+ }
96
+ ```
97
+
98
+ ## Responsive Visibility
99
+
100
+ **Breakpoints**:
101
+ - `x-small`: 320px
102
+ - `small`: 480px
103
+ - `medium`: 768px
104
+ - `large`: 1024px
105
+ - `x-large`: 1280px
106
+
107
+ ### Show Classes (Hidden Below, Visible At/Above)
108
+
109
+ | Class | Visible From |
110
+ |-------|--------------|
111
+ | `slds-x-small-show` | 320px+ |
112
+ | `slds-small-show` | 480px+ |
113
+ | `slds-medium-show` | 768px+ |
114
+ | `slds-large-show` | 1024px+ |
115
+
116
+ **Display Variants**:
117
+ - `slds-x-small-show_inline-block`
118
+ - `slds-x-small-show_inline`
119
+ - `slds-small-show_inline-block`
120
+ - `slds-small-show_inline`
121
+ - `slds-medium-show_inline-block`
122
+ - `slds-medium-show_inline`
123
+ - `slds-large-show_inline-block`
124
+ - `slds-large-show_inline`
125
+
126
+ ### Show Only Classes (Visible Only Within Range)
127
+
128
+ | Class | Visible Range |
129
+ |-------|---------------|
130
+ | `slds-x-small-show-only` | 320px - 479px |
131
+ | `slds-small-show-only` | 480px - 767px |
132
+ | `slds-medium-show-only` | 768px - 1023px |
133
+
134
+ **Display Variants**:
135
+ - `slds-x-small-show-only_inline-block`
136
+ - `slds-x-small-show-only_inline`
137
+ - `slds-small-show-only_inline-block`
138
+ - `slds-small-show-only_inline`
139
+ - `slds-medium-show-only_inline-block`
140
+ - `slds-medium-show-only_inline`
141
+
142
+ ### Hide Classes
143
+
144
+ | Class | Hidden At/Above | Visible Below |
145
+ |-------|-----------------|---------------|
146
+ | `slds-hide_x-small` | 320px+ | < 320px |
147
+ | `slds-hide_small` | 480px+ | < 480px |
148
+ | `slds-hide_medium` | 768px+ | < 768px |
149
+ | `slds-hide_large` | 1024px+ | < 1024px |
150
+ | `slds-hide_x-large` | 1280px+ | < 1280px |
151
+
152
+ ### Max Hide Classes (Hidden Below Breakpoint)
153
+
154
+ | Class | Hidden Below |
155
+ |-------|--------------|
156
+ | `slds-max-x-small-hide` | < 480px |
157
+ | `slds-max-small-hide` | < 768px |
158
+ | `slds-max-medium-hide` | < 1024px |
159
+
160
+ ### Inverse Show Classes (Hidden At/Above)
161
+
162
+ | Class | Visible Below | Hidden At/Above |
163
+ |-------|---------------|-----------------|
164
+ | `slds-show_x-small` | < 320px | 320px+ |
165
+ | `slds-show_small` | < 480px | 480px+ |
166
+ | `slds-show_medium` | < 768px | 768px+ |
167
+ | `slds-show_large` | < 1024px | 1024px+ |
168
+ | `slds-show_x-large` | < 1280px | 1280px+ |
169
+
170
+ ## Common Patterns
171
+
172
+ ```html
173
+ <!-- Mobile menu / Desktop nav -->
174
+ <button class="slds-button slds-hide_medium">
175
+ <!-- Visible on mobile, hidden 768px+ -->
176
+ <svg class="slds-icon">...</svg>
177
+ <span class="slds-assistive-text">Open Menu</span>
178
+ </button>
179
+
180
+ <nav class="slds-medium-show">
181
+ <!-- Hidden below 768px, visible 768px+ -->
182
+ <ul class="slds-list_horizontal">...</ul>
183
+ </nav>
184
+
185
+ <!-- Responsive table/card view -->
186
+ <div class="slds-max-small-hide">
187
+ <!-- Table hidden below 768px -->
188
+ <table class="slds-table">...</table>
189
+ </div>
190
+
191
+ <div class="slds-small-show-only">
192
+ <!-- Cards shown only 480px-767px -->
193
+ <div class="slds-card">...</div>
194
+ </div>
195
+
196
+ <!-- Progressive disclosure -->
197
+ <div class="slds-small-show">
198
+ <!-- Additional details shown 480px+ -->
199
+ Extended information for larger screens
200
+ </div>
201
+
202
+ <!-- Accessible expandable section -->
203
+ <section class="slds-section slds-is-open">
204
+ <h2>
205
+ <button aria-expanded="true" aria-controls="content-id">
206
+ Section Title
207
+ </button>
208
+ </h2>
209
+ <div id="content-id" class="slds-is-expanded">
210
+ Section content
211
+ </div>
212
+ </section>
213
+ ```
214
+
215
+ ## Best Practices
216
+
217
+ ✅ Use `slds-assistive-text` for all icon-only buttons
218
+ ✅ Use `slds-hide` with `!important` to ensure hiding
219
+ ✅ Test responsive classes at each breakpoint
220
+ ✅ Pair `aria-expanded` with `slds-is-collapsed/expanded`
221
+ ✅ Use `slds-assistive-text_focus` for skip links
222
+ ✅ Apply mobile-first approach: hide by default, show at breakpoints
223
+
224
+ ❌ Combine `slds-hide` and `slds-show` on the same element
225
+ ❌ Use `slds-hidden` and `slds-visible` together
226
+ ❌ Hide essential content from screen readers
227
+ ❌ Use visibility classes for layout (use Grid or Flexbox instead)
228
+ ❌ Rely only on `display: none` for animations (use transitions)
@@ -0,0 +1,84 @@
1
+ # SLDS Metadata
2
+
3
+ Structured data for all SLDS artifacts. Use the search scripts in `../scripts/` or grep directly.
4
+
5
+ Source: `packages/metadata/`
6
+
7
+ ---
8
+
9
+ ## Files
10
+
11
+ ### `blueprints/components/*.yaml` (85 files)
12
+
13
+ One YAML file per SLDS blueprint component. Each contains:
14
+
15
+ - `name`, `description`, `category`
16
+ - `slds_classes.root` -- the BEM root class (e.g., `slds-modal`)
17
+ - `slds_classes.elements[]` -- child element classes with purpose
18
+ - `slds_classes.modifiers[]` -- variant modifier classes with usage guidance
19
+ - `slds_classes.states[]` -- state classes (active, disabled, open, etc.)
20
+ - `accessibility` -- required ARIA roles, attributes, keyboard interactions
21
+ - `example_html` -- reference markup
22
+
23
+ **Search**: `node ../scripts/search-blueprints.js --search "dialog"`
24
+
25
+ **Direct grep**: `grep -rl "category: Overlay" blueprints/components/`
26
+
27
+ ### `hooks-index.json` (523 hooks)
28
+
29
+ All SLDS styling hooks with computed values and CSS property mappings.
30
+
31
+ Each hook entry:
32
+ ```json
33
+ {
34
+ "token": "--slds-g-color-accent-1",
35
+ "category": "color",
36
+ "value": "#0176d3",
37
+ "properties": ["background-color", "color", "border-color", "fill"]
38
+ }
39
+ ```
40
+
41
+ Categories: color (325), font (57), spacing (48), shadow (44), sizing (27), duration (8), radius (6), ratio (5), fontFamily (3)
42
+
43
+ **Search**: `node ../scripts/search-hooks.js --category "color"`
44
+
45
+ **Direct grep**: `grep -i "accent" hooks-index.json`
46
+
47
+ ### `icon-metadata.json` (1,732 icons)
48
+
49
+ All SLDS icons with synonyms for semantic search across 5 categories.
50
+
51
+ Each icon entry:
52
+ ```json
53
+ {
54
+ "displayName": "add_contact",
55
+ "category": "action",
56
+ "description": "Represents adding a new contact...",
57
+ "synonyms": ["add", "user", "contact", "create", "new", "person", "plus"]
58
+ }
59
+ ```
60
+
61
+ Categories: action, custom, doctype, standard, utility
62
+
63
+ **Search**: `node ../scripts/search-icons.js --query "save button"`
64
+
65
+ **Direct grep**: `grep -B1 -A5 '"save"' icon-metadata.json`
66
+
67
+ ### `utilities-index.json` (1,147 utilities)
68
+
69
+ All SLDS utility classes organized by category with CSS rules.
70
+
71
+ Each utility entry:
72
+ ```json
73
+ {
74
+ "class": "slds-m-bottom_small",
75
+ "css": { "margin-bottom": "0.75rem" },
76
+ "category": "margin"
77
+ }
78
+ ```
79
+
80
+ 27 categories: grid (80), margin (119), padding (120), sizing (613), color (48), text (24), and more.
81
+
82
+ **Search**: `node ../scripts/search-utilities.js --category "grid"`
83
+
84
+ **Direct grep**: `grep -i "slds-grid" utilities-index.json`