@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,154 @@
1
+ name: File Selector
2
+ description: A file upload interface that allows users to select and upload files through drag-and-drop areas, browse buttons,
3
+ or direct file input, with support for multiple files, file type restrictions, and upload progress indication.
4
+ category: Input
5
+ slds_classes:
6
+ root: slds-file-selector
7
+ elements:
8
+ - class: slds-file-selector__dropzone
9
+ description: Drag and drop zone for file selection
10
+ purpose: Provides area for dragging and dropping files
11
+ - class: slds-file-selector__body
12
+ description: Main content area of file selector
13
+ purpose: Contains file selection interface and messaging
14
+ - class: slds-file-selector__button
15
+ description: Browse button for file selection
16
+ purpose: Triggers file browser dialog
17
+ - class: slds-file-selector__input
18
+ description: Hidden file input element
19
+ purpose: Actual file input for form submission
20
+ - class: slds-file-selector__text
21
+ description: Instructional text within file selector
22
+ purpose: Provides guidance and instructions to users
23
+ modifiers:
24
+ - class: slds-file-selector_files
25
+ description: File selector with file list display
26
+ usage: When showing selected files is important
27
+ - class: slds-file-selector_images
28
+ description: Image-specific file selector
29
+ usage: When selector is specifically for images
30
+ - class: slds-file-selector_integrated
31
+ description: Integrated file selector within forms
32
+ usage: When file selector is part of a larger form
33
+ states:
34
+ - class: slds-has-drag-over
35
+ description: Drag over state for dropzone
36
+ trigger: Applied when files are being dragged over the dropzone
37
+ - class: slds-has-error
38
+ description: Error state for file selection
39
+ trigger: Applied when file upload or selection fails
40
+ variants:
41
+ - name: Base
42
+ description: Standard file selector with dropzone
43
+ classes:
44
+ - slds-file-selector
45
+ usage_context: Default implementation for file upload
46
+ differences: Basic dropzone with browse functionality
47
+ - name: With Files
48
+ description: File selector displaying selected files
49
+ classes:
50
+ - slds-file-selector
51
+ - slds-file-selector_files
52
+ usage_context: When showing file list is important
53
+ differences: Includes file list display below selector
54
+ - name: Images
55
+ description: Image-specific file selector
56
+ classes:
57
+ - slds-file-selector
58
+ - slds-file-selector_images
59
+ usage_context: Specifically for image uploads
60
+ differences: Optimized for image files with previews
61
+ lightning_component:
62
+ name: lightning-file-upload
63
+ url: https://developer.salesforce.com/docs/component-library/bundle/lightning-file-upload
64
+ mapping_notes: Direct mapping - Lightning component implements SLDS file selector blueprint with upload functionality
65
+ accessibility:
66
+ keyboard_support:
67
+ - Tab navigation to file selector elements
68
+ - Enter/Space to activate browse button
69
+ - Enter/Space to select files in file list
70
+ - Delete/Backspace to remove selected files
71
+ screen_reader:
72
+ - File selector purpose and instructions announced
73
+ - Drag and drop capability communicated
74
+ - Selected files list properly structured
75
+ - Upload progress and status described
76
+ aria_attributes:
77
+ - aria-label for file input elements
78
+ - aria-describedby for instructions
79
+ - role='button' for dropzone areas
80
+ - aria-live for upload status updates
81
+ - aria-expanded for file lists
82
+ usage_guidelines:
83
+ when_to_use:
84
+ - For file upload functionality
85
+ - When users need to attach documents
86
+ - For image or media upload scenarios
87
+ - In forms requiring file attachments
88
+ when_not_to_use:
89
+ - For text input (use input fields)
90
+ - When files aren't actually uploaded
91
+ - For purely decorative file interfaces
92
+ best_practices:
93
+ - Clearly indicate supported file types
94
+ - Provide file size limitations
95
+ - Show upload progress for large files
96
+ - Allow removal of selected files
97
+ - Validate files before upload
98
+ common_mistakes:
99
+ - Not specifying file type restrictions
100
+ - Poor error handling for invalid files
101
+ - Missing progress indicators
102
+ - Unclear instructions for users
103
+ code_examples:
104
+ - title: Basic File Selector
105
+ description: File selector showing upload progress
106
+ code: "<div class=\"slds-form-element\">\n <span class=\"slds-form-element__label\">Upload Files</span>\n <div\
107
+ \ class=\"slds-form-element__control\">\n <div class=\"slds-file-selector slds-file-selector_files\">\n \
108
+ \ <div class=\"slds-file-selector__dropzone\">\n <label class=\"slds-file-selector__body\">\n \
109
+ \ <span class=\"slds-spinner slds-spinner_medium slds-spinner_inline\">\n <span class=\"slds-assistive-text\"\
110
+ >Uploading...</span>\n <div class=\"slds-spinner__dot-a\"></div>\n <div class=\"slds-spinner__dot-b\"\
111
+ ></div>\n </span>\n <span class=\"slds-file-selector__text\">Uploading files...</span>\n \
112
+ \ </label>\n </div>\n </div>\n <div class=\"slds-m-top_small\">\n <div class=\"\
113
+ \">\n <div class=\"slds-media slds-media_center\">\n <span class=\"slds-media__figure\">\n \
114
+ \ <span class=\"\">\n <svg class=\"slds-icon slds-icon_small\" aria-hidden=\"true\">\n \
115
+ \ <use xlink:href=\"/assets/icons/doctype-sprite/svg/symbols.svg#pdf\"></use>\n </svg>\n\
116
+ \ </span>\n </span>\n <span class=\"slds-media__body\">\n <span\
117
+ \ class=\"\">\n <span class=\"\">annual-report.pdf</span>\n <span class=\"\">Uploading...\
118
+ \ 65%</span>\n <div class=\"slds-progress-bar slds-progress-bar_x-small slds-m-top_xx-small\">\n \
119
+ \ <span class=\"slds-progress-bar__value\" style=\"width: 65%\"></span>\n </div>\n \
120
+ \ </span>\n </span>\n </div>\n </div>\n </div>\n </div>\n \
121
+ \ </div>\n"
122
+ dependencies:
123
+ css_files:
124
+ - file-selector.css
125
+ - button.css
126
+ - progress-bar.css
127
+ - spinner.css
128
+ javascript:
129
+ - file-selector.js
130
+ icons:
131
+ - utility-sprite.svg
132
+ - doctype-sprite.svg
133
+ other_components:
134
+ - button
135
+ - progress-bar
136
+ - spinner
137
+ - form-element
138
+ related_components:
139
+ - name: Form Element
140
+ relationship: container
141
+ description: File selector is typically wrapped in form elements
142
+ - name: Button
143
+ relationship: depends-on
144
+ description: Uses buttons for browse and remove actions
145
+ - name: Progress Bar
146
+ relationship: depends-on
147
+ description: Shows upload progress for files
148
+ references:
149
+ official_docs: https://v1.lightningdesignsystem.com/components/file-selector/
150
+ metadata:
151
+ version: 1.0.0
152
+ last_updated: '2025-11-12'
153
+ review_status: complete
154
+ notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
@@ -0,0 +1,119 @@
1
+ name: Files
2
+ description: Components for displaying and interacting with file attachments, uploads, and document management, including
3
+ file previews and actions.
4
+ category: Display
5
+ slds_classes:
6
+ root: slds-file
7
+ elements:
8
+ - class: slds-file__figure
9
+ description: Container for file icon or preview
10
+ purpose: Holds visual representation of the file
11
+ - class: slds-file__title
12
+ description: File name or title
13
+ purpose: Primary label for the file
14
+ - class: slds-file__text
15
+ description: Additional file information
16
+ purpose: Secondary details like size, type, or date
17
+ modifiers:
18
+ - class: slds-file_card
19
+ description: Card-style file display
20
+ usage: File representation in card format
21
+ - class: slds-file_overlay
22
+ description: Overlay-style file display
23
+ usage: File with overlay information
24
+ states:
25
+ - class: slds-file_loading
26
+ description: Loading state for file operations
27
+ trigger: When file is being uploaded or processed
28
+ - class: slds-has-error
29
+ description: Error state for file operations
30
+ trigger: When file operation has failed
31
+ variants:
32
+ - name: Base
33
+ description: Standard file display component
34
+ classes:
35
+ - slds-file
36
+ usage_context: Default file representation with icon and metadata
37
+ differences: Basic file display with icon, name, and actions
38
+ lightning_component:
39
+ name: lightning-file-download
40
+ url: https://developer.salesforce.com/docs/component-library/bundle/lightning-file-download
41
+ mapping_notes: Partially mapped through lightning-file-download - full file management requires custom implementation
42
+ accessibility:
43
+ keyboard_support:
44
+ - Tab navigation through file actions
45
+ - Enter/Space to activate file actions
46
+ - Focus management for file interactions
47
+ screen_reader:
48
+ - File name and type announced
49
+ - File size and metadata communicated
50
+ - Available actions clearly described
51
+ - File status and state changes announced
52
+ aria_attributes:
53
+ - aria-label for file containers
54
+ - aria-describedby for file metadata
55
+ - role='button' for interactive file elements
56
+ - aria-live for status updates
57
+ usage_guidelines:
58
+ when_to_use:
59
+ - For displaying file attachments or uploads
60
+ - In document management interfaces
61
+ - For file download or sharing functionality
62
+ - When users need to interact with files
63
+ when_not_to_use:
64
+ - For decorative images (use image components)
65
+ - For functional icons (use icon components)
66
+ - When file interaction is not needed
67
+ best_practices:
68
+ - Show clear file type indicators
69
+ - Display relevant file metadata (size, date)
70
+ - Provide appropriate actions for file type
71
+ - Handle loading and error states gracefully
72
+ - Use recognizable file type icons
73
+ common_mistakes:
74
+ - Not showing file type or size
75
+ - Poor error handling for file operations
76
+ - Unclear file action buttons
77
+ - Missing loading states for file operations
78
+ code_examples:
79
+ - title: File Card
80
+ code: "<div class=\"slds-file slds-file_card\">\n <figure class=\"slds-file__figure\">\n <a href=\"#\">\n \
81
+ \ <span class=\"slds-icon_container slds-icon-doctype-pdf\">\n <svg class=\"slds-icon\" aria-hidden=\"\
82
+ true\">\n <use xlink:href=\"/assets/icons/doctype-sprite/svg/symbols.svg#pdf\"></use>\n </svg>\n\
83
+ \ </span>\n </a>\n </figure>\n <div class=\"\">\n <div class=\"slds-file__title\">\n\
84
+ \ <a href=\"#\" title=\"Proposal_2024.pdf\">Proposal_2024.pdf</a>\n </div>\n <div class=\"slds-file__text\
85
+ \ slds-text-body_small\">\n PDF • 1.2 MB\n </div>\n </div>\n <div class=\"\">\n <button\
86
+ \ class=\"slds-button slds-button_icon slds-button_icon-border-filled\" title=\"Download\">\n <svg class=\"slds-button__icon\"\
87
+ \ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#download\"></use>\n\
88
+ \ </svg>\n <span class=\"slds-assistive-text\">Download</span>\n </button>\n </div>\n \
89
+ \ </div>\n"
90
+ styling_hooks: []
91
+ dependencies:
92
+ css_files:
93
+ - files.css
94
+ - media-objects.css
95
+ javascript: []
96
+ icons:
97
+ - doctype-sprite.svg
98
+ - utility-sprite.svg
99
+ other_components:
100
+ - icons
101
+ - button-icon
102
+ - media-objects
103
+ related_components:
104
+ - name: Cards
105
+ relationship: container
106
+ description: Often used as container for file components
107
+ - name: Media Objects
108
+ relationship: similar
109
+ description: Similar layout pattern for content with media
110
+ - name: Icons
111
+ relationship: depends-on
112
+ description: File type icons enhance file recognition
113
+ references:
114
+ official_docs: https://v1.lightningdesignsystem.com/components/files/
115
+ metadata:
116
+ version: 1.0.0
117
+ last_updated: '2025-11-12'
118
+ review_status: complete
119
+ notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
@@ -0,0 +1,145 @@
1
+ name: Form Element
2
+ description: A foundational wrapper component that provides consistent structure, labeling, and validation messaging for form
3
+ inputs, ensuring accessibility and visual consistency across form controls.
4
+ category: Input
5
+ slds_classes:
6
+ root: slds-form-element
7
+ elements:
8
+ - class: slds-form-element__label
9
+ description: Label for the form element
10
+ purpose: Provides accessible labeling for form controls
11
+ - class: slds-form-element__control
12
+ description: Container for the form control
13
+ purpose: Wraps the actual input element
14
+ - class: slds-form-element__help
15
+ description: Help text for the form element
16
+ purpose: Provides additional guidance or instructions
17
+ - class: slds-form-element__icon
18
+ description: Icon associated with the form element
19
+ purpose: Visual indicator or status icon
20
+ - class: slds-form-element__addon
21
+ description: Additional content attached to form element
22
+ purpose: Supplementary content like buttons or text
23
+ modifiers:
24
+ - class: slds-form-element_stacked
25
+ description: Stacked layout with label above control
26
+ usage: Default vertical layout for form elements
27
+ - class: slds-form-element_horizontal
28
+ description: Horizontal layout with label beside control
29
+ usage: When horizontal alignment is preferred
30
+ - class: slds-form-element_compound
31
+ description: Compound form element with multiple controls
32
+ usage: For grouped or related form controls
33
+ states:
34
+ - class: slds-has-error
35
+ description: Error state for form element
36
+ trigger: Applied when validation fails
37
+ variants:
38
+ - name: Base
39
+ description: Standard form element wrapper
40
+ classes:
41
+ - slds-form-element
42
+ usage_context: Default wrapper for individual form controls
43
+ differences: Basic structure with label, control, and help text
44
+ - name: Stacked
45
+ description: Vertical layout form element
46
+ classes:
47
+ - slds-form-element
48
+ - slds-form-element_stacked
49
+ usage_context: When vertical layout is preferred
50
+ differences: Label positioned above the form control
51
+ - name: Horizontal
52
+ description: Horizontal layout form element
53
+ classes:
54
+ - slds-form-element
55
+ - slds-form-element_horizontal
56
+ usage_context: When horizontal alignment is needed
57
+ differences: Label positioned beside the form control
58
+ lightning_component:
59
+ name: No direct component
60
+ url: https://developer.salesforce.com/docs/component-library/overview/components
61
+ mapping_notes: No direct Lightning Base Component equivalent - form element structure is built into Lightning input components
62
+ accessibility:
63
+ keyboard_support:
64
+ - Tab navigation to form controls
65
+ - Label association with controls
66
+ - Error message association
67
+ screen_reader:
68
+ - Label text announced with control
69
+ - Required state communicated
70
+ - Error messages read when present
71
+ - Help text associated and announced
72
+ aria_attributes:
73
+ - for attribute linking label to control
74
+ - aria-describedby for help text
75
+ - aria-required for required fields
76
+ - aria-invalid for error states
77
+ - aria-labelledby for complex labeling
78
+ usage_guidelines:
79
+ when_to_use:
80
+ - As wrapper for all form input controls
81
+ - When consistent form structure is needed
82
+ - For accessible form labeling
83
+ - When validation messaging is required
84
+ when_not_to_use:
85
+ - For non-form content
86
+ - When custom form structure is needed
87
+ best_practices:
88
+ - Always include meaningful labels
89
+ - Provide clear error messages
90
+ - Use help text for additional guidance
91
+ - Maintain consistent form element structure
92
+ - Ensure proper label-control association
93
+ common_mistakes:
94
+ - Missing or unclear labels
95
+ - Poor error message placement
96
+ - Inconsistent form element structure
97
+ - Breaking label-control associations
98
+ code_examples:
99
+ - title: Basic Form Element
100
+ description: Form element with multiple related controls
101
+ code: "<fieldset class=\"slds-form-element slds-form-element_compound\">\n <legend class=\"slds-form-element__label\"\
102
+ >Address</legend>\n <div class=\"slds-form-element__control\">\n <div class=\"\">\n <div class=\"\
103
+ \">\n <div class=\"slds-size_1-of-1\">\n <div class=\"slds-form-element\">\n <label\
104
+ \ class=\"slds-form-element__label\" for=\"street\">Street Address</label>\n <div class=\"slds-form-element__control\"\
105
+ >\n <input type=\"text\" id=\"street\" class=\"slds-input\">\n </div>\n </div>\n\
106
+ \ </div>\n </div>\n <div class=\"\">\n <div class=\"slds-size_1-of-2\">\n \
107
+ \ <div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\" for=\"city\">City</label>\n\
108
+ \ <div class=\"slds-form-element__control\">\n <input type=\"text\" id=\"city\" class=\"\
109
+ slds-input\">\n </div>\n </div>\n </div>\n <div class=\"slds-size_1-of-2\"\
110
+ >\n <div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\" for=\"zip\"\
111
+ >ZIP Code</label>\n <div class=\"slds-form-element__control\">\n <input type=\"text\"\
112
+ \ id=\"zip\" class=\"slds-input\">\n </div>\n </div>\n </div>\n </div>\n\
113
+ \ </div>\n </div>\n </fieldset>\n"
114
+ dependencies:
115
+ css_files:
116
+ - form-element.css
117
+ - input.css
118
+ javascript: []
119
+ icons: []
120
+ other_components:
121
+ - input
122
+ - select
123
+ - textarea
124
+ - checkbox
125
+ - radio
126
+ related_components:
127
+ - name: Input
128
+ relationship: container
129
+ description: Form element wraps input components
130
+ - name: Select
131
+ relationship: container
132
+ description: Form element wraps select components
133
+ - name: Textarea
134
+ relationship: container
135
+ description: Form element wraps textarea components
136
+ - name: Checkbox
137
+ relationship: container
138
+ description: Form element wraps checkbox components
139
+ references:
140
+ official_docs: https://v1.lightningdesignsystem.com/components/form-element/
141
+ metadata:
142
+ version: 1.0.0
143
+ last_updated: '2025-11-12'
144
+ review_status: complete
145
+ notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
@@ -0,0 +1,120 @@
1
+ name: Global Header
2
+ description: The primary navigation header that appears at the top of the application, providing access to global navigation,
3
+ search, notifications, and user account functions.
4
+ category: Navigation
5
+ slds_classes:
6
+ root: slds-global-header
7
+ elements:
8
+ - class: slds-global-header__logo
9
+ description: Container for application logo or brand
10
+ purpose: Displays the primary brand identity
11
+ - class: slds-global-header__item
12
+ description: Individual navigation item wrapper
13
+ purpose: Wraps each navigation element
14
+ modifiers: []
15
+ states:
16
+ - class: slds-is-active
17
+ description: Active navigation item state
18
+ trigger: Applied to currently selected navigation item
19
+ - class: slds-has-notification
20
+ description: Notification indicator state
21
+ trigger: Applied when notifications are present
22
+ variants:
23
+ - name: Base
24
+ description: Standard global header with full navigation
25
+ classes:
26
+ - slds-global-header
27
+ usage_context: Default implementation for application header
28
+ differences: Full-featured header with logo, navigation, and user controls
29
+ - name: Minimal
30
+ description: Minimal global header with essential elements only
31
+ classes:
32
+ - slds-global-header
33
+ usage_context: Simplified header for focused experiences
34
+ differences: Reduced elements focusing on core navigation
35
+ lightning_component:
36
+ name: No direct component
37
+ url: https://developer.salesforce.com/docs/component-library/overview/components
38
+ mapping_notes: No direct Lightning Base Component equivalent - typically implemented using lightning-layout and custom components
39
+ accessibility:
40
+ keyboard_support:
41
+ - Tab navigation through header elements
42
+ - Enter/Space to activate navigation items
43
+ - Arrow keys for dropdown navigation
44
+ - Escape to close open menus
45
+ screen_reader:
46
+ - Header landmark identified
47
+ - Navigation structure announced
48
+ - User account information communicated
49
+ - Notification status indicated
50
+ aria_attributes:
51
+ - role='banner' for header landmark
52
+ - role='navigation' for nav sections
53
+ - aria-label for navigation areas
54
+ - aria-expanded for dropdown menus
55
+ - aria-current for active navigation
56
+ - aria-live for notification updates
57
+ usage_guidelines:
58
+ when_to_use:
59
+ - As the primary application header
60
+ - For global navigation and branding
61
+ - When users need access to account functions
62
+ - For consistent cross-application navigation
63
+ when_not_to_use:
64
+ - For page-specific headers (use page headers instead)
65
+ - In embedded or widget contexts
66
+ - When space is extremely limited
67
+ best_practices:
68
+ - Keep navigation items concise and clear
69
+ - Prioritize most important functions
70
+ - Provide clear visual hierarchy
71
+ - Ensure responsive behavior across devices
72
+ - Maintain consistent branding
73
+ common_mistakes:
74
+ - Overcrowding with too many navigation items
75
+ - Poor mobile responsive behavior
76
+ - Inconsistent styling across applications
77
+ - Missing accessibility landmarks
78
+ code_examples:
79
+ - title: Basic Global Header
80
+ description: Simplified global header with essential elements
81
+ code: "<header class=\"slds-global-header\" role=\"banner\">\n <div class=\"slds-global-header__logo\">\n <a\
82
+ \ href=\"#\" class=\"\">\n <img src=\"/assets/images/logo-minimal.svg\" alt=\"Logo\" class=\"\">\n </a>\n\
83
+ \ </div>\n <nav class=\"\" role=\"navigation\" aria-label=\"Primary\">\n <ul class=\"\">\n <li\
84
+ \ class=\"slds-global-header__item\">\n <a href=\"#\" class=\"slds-is-active\">Dashboard</a>\n </li>\n\
85
+ \ <li class=\"slds-global-header__item\">\n <a href=\"#\" class=\"\">Reports</a>\n </li>\n\
86
+ \ </ul>\n </nav>\n <div class=\"\">\n <span class=\"slds-avatar slds-avatar_circle slds-avatar_small\"\
87
+ >\n <img alt=\"User\" src=\"/assets/images/avatar.jpg\">\n </span>\n </div>\n </header>\n"
88
+ dependencies:
89
+ css_files:
90
+ - global-header.css
91
+ - avatar.css
92
+ - button.css
93
+ - input.css
94
+ javascript:
95
+ - global-header.js
96
+ icons:
97
+ - utility-sprite.svg
98
+ - standard-sprite.svg
99
+ other_components:
100
+ - avatar
101
+ - button
102
+ - input
103
+ - notification
104
+ related_components:
105
+ - name: Global Navigation
106
+ relationship: similar
107
+ description: Similar global navigation concept
108
+ - name: Page Headers
109
+ relationship: alternative
110
+ description: Alternative header for page-specific content
111
+ - name: App Launcher
112
+ relationship: depends-on
113
+ description: Often launched from global header
114
+ references:
115
+ official_docs: https://v1.lightningdesignsystem.com/components/global-header/
116
+ metadata:
117
+ version: 1.0.0
118
+ last_updated: '2025-11-12'
119
+ review_status: complete
120
+ notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
@@ -0,0 +1,100 @@
1
+ name: Global Navigation
2
+ description: The primary navigation component that provides consistent access to main application areas, typically positioned
3
+ at the top of the interface.
4
+ category: Navigation
5
+ slds_classes:
6
+ root: ''
7
+ elements: []
8
+ modifiers: []
9
+ states:
10
+ - class: slds-is-active
11
+ description: Active navigation item state
12
+ trigger: Currently selected navigation section
13
+ variants:
14
+ - name: Base
15
+ description: Standard horizontal global navigation
16
+ classes: []
17
+ usage_context: Default global navigation for application header
18
+ differences: Horizontal navigation bar with logo, links, and actions
19
+ lightning_component:
20
+ name: No direct component
21
+ url: https://developer.salesforce.com/docs/component-library/overview/components
22
+ mapping_notes: No direct Lightning Base Component equivalent - typically implemented as custom component or app builder
23
+ accessibility:
24
+ keyboard_support:
25
+ - Tab navigation through navigation items
26
+ - Enter/Space to activate navigation links
27
+ - Arrow keys for navigation between items
28
+ - Skip links for efficient navigation
29
+ screen_reader:
30
+ - Navigation structure and purpose announced
31
+ - Current location clearly identified
32
+ - Logo and branding appropriately labeled
33
+ - Action controls properly described
34
+ aria_attributes:
35
+ - role='navigation' for navigation container
36
+ - aria-label describing navigation purpose
37
+ - aria-current='page' for current section
38
+ - aria-expanded for dropdown navigation items
39
+ - landmark roles for major navigation areas
40
+ usage_guidelines:
41
+ when_to_use:
42
+ - For primary application navigation
43
+ - To provide consistent access to main areas
44
+ - When navigation should be persistent across pages
45
+ - For branding and global actions placement
46
+ when_not_to_use:
47
+ - For secondary or contextual navigation
48
+ - When simpler navigation patterns suffice
49
+ - For single-page applications with minimal navigation
50
+ best_practices:
51
+ - Keep navigation items concise and clear
52
+ - Maintain consistent navigation structure
53
+ - Indicate current location clearly
54
+ - Provide logical grouping of navigation items
55
+ - Ensure responsive behavior across devices
56
+ common_mistakes:
57
+ - Overloading with too many navigation items
58
+ - Unclear or inconsistent labeling
59
+ - Poor mobile responsiveness
60
+ - Not indicating current location
61
+ code_examples:
62
+ - title: Global Navigation
63
+ code: "<nav class=\"\" role=\"navigation\" aria-label=\"Global\">\n <div class=\"\">\n <a href=\"#\" class=\"\
64
+ \">\n <img src=\"/assets/images/logo.svg\" alt=\"Company Logo\" class=\"\" />\n </a>\n </div>\n \
65
+ \ <ul class=\"\">\n <li class=\"slds-is-active\">\n <a href=\"#\" class=\"\" aria-current=\"page\"\
66
+ >\n Dashboard\n </a>\n </li>\n <li class=\"\">\n <a href=\"#\" class=\"\">\n\
67
+ \ Accounts\n </a>\n </li>\n <li class=\"\">\n <a href=\"#\" class=\"\">\n \
68
+ \ Opportunities\n </a>\n </li>\n <li class=\"\">\n <a href=\"#\" class=\"\"\
69
+ >\n Reports\n </a>\n </li>\n </ul>\n <div class=\"\">\n <button class=\"slds-button\
70
+ \ slds-button_icon slds-button_icon-container\" title=\"Notifications\">\n <svg class=\"slds-button__icon\" aria-hidden=\"\
71
+ true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#notification\"></use>\n </svg>\n\
72
+ \ <span class=\"slds-assistive-text\">Notifications</span>\n </button>\n </div>\n </nav>\n"
73
+ styling_hooks: []
74
+ dependencies:
75
+ css_files:
76
+ - global-navigation.css
77
+ - button.css
78
+ javascript: []
79
+ icons:
80
+ - utility-sprite.svg
81
+ other_components:
82
+ - button-icon
83
+ - icons
84
+ related_components:
85
+ - name: Vertical Navigation
86
+ relationship: alternative
87
+ description: Alternative navigation layout for sidebar placement
88
+ - name: Tabs
89
+ relationship: similar
90
+ description: Similar navigation concept for content areas
91
+ - name: Breadcrumbs
92
+ relationship: similar
93
+ description: Provides hierarchical navigation context
94
+ references:
95
+ official_docs: https://v1.lightningdesignsystem.com/components/global-navigation/
96
+ metadata:
97
+ version: 1.0.0
98
+ last_updated: '2025-11-12'
99
+ review_status: complete
100
+ notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'