mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-03 05:41:08 +08:00
Split widget-rendition.md: extract meta directives (forEach/forItem/if) into a focused references/widget-meta-directives.md so the iteration and conditional rules can grow independently. widget-rendition.md now owns workflow, layout, and styling. Layout primitives are anchored on the base-lightning-types tile/* schemas. Styling principles are anchored on the AXL playground tutorial 02 (button variants), Salesforce HIG conventions, and the schemas' own enums. Add three widget renderer examples adapted from playground tutorials 04/05/07: single-object profile (root binding), list-of-products (root forEach + nested forEach over a per-item array), and conditional-rendering (if on the meta object, including if + forEach combined). Tutorials are wired into workflow step 5 and the Reference File Index. Slim SKILL.md: collapse five overlapping widget-routing instructions into a single Step 4 fork; standardize trigger keywords on widget / mosaic / fragment; drop the structurally-wrong "STOP before step 1" header (widget needs schema.json from steps 1-2 first); add a Reference File Index pointing at widget-rendition.md. Tighten the conditional-rendering rule to require a strict lightning__booleanType schema property. Strings, numbers, and nullable fields are not supported as if expressions. gitignore: ignore .agents/, .claude/, skills-lock.json (skills CLI install artifacts) and .claude/ (per-user Claude Code state). |
||
|---|---|---|
| .. | ||
| applying-slds | ||
| building-ui-bundle-app | ||
| building-ui-bundle-frontend | ||
| creating-b2b-commerce-store | ||
| creating-sf-skill | ||
| deploying-ui-bundle | ||
| developing-agentforce | ||
| developing-datacloud-code-extension | ||
| generating-apex | ||
| generating-apex-test | ||
| generating-custom-application | ||
| generating-custom-field | ||
| generating-custom-lightning-type | ||
| generating-custom-object | ||
| generating-custom-tab | ||
| generating-eval-seed-data | ||
| generating-experience-lwr-site | ||
| generating-flexipage | ||
| generating-flow | ||
| generating-images | ||
| generating-lightning-app | ||
| generating-list-view | ||
| generating-permission-set | ||
| generating-ui-bundle-features | ||
| generating-ui-bundle-metadata | ||
| generating-ui-bundle-site | ||
| generating-validation-rule | ||
| getting-datacloud-schema | ||
| implementing-ui-bundle-agentforce-conversation-client | ||
| implementing-ui-bundle-file-upload | ||
| observing-agentforce | ||
| searching-media | ||
| switching-org | ||
| testing-agentforce | ||
| uplifting-components-to-slds2 | ||
| using-ui-bundle-salesforce-data | ||
| validating-slds | ||