afv-library/skills
Gaurav Bajpai db1aca7221
fix: address PRizm review findings from internal port PR @W-22196528@
Addresses 4 critical findings surfaced during PRizm code review of the
internal plugin port of this skill (internal PR #19). Applying the same
fixes here keeps the external canonical source and the internal port in
sync.

1. Test cleanup discipline: switch `test_invalid_json_raises` from
   `try/finally` to `self.addCleanup(p.unlink, missing_ok=True)` — the
   unittest-idiomatic way to guarantee temp-file cleanup regardless of
   how the test exits.

2. `floor()` description in bdt-function-catalog.md: the old row was
   self-contradictory ("toward zero" AND "toward next integer up" in
   the same cell). Replace with a single coherent definition: rounds
   toward negative infinity; for negatives rounds away from zero
   (e.g., `floor(-2.3) = -3`).

3. Split-node documentation in bdt-node-catalog.md: the old doc claimed
   `split` routes rows into downstream branches via `branches[]` with
   per-branch predicates. That is not the canonical schema. Per
   `SplitParametersInputRepresentation` in core-262-public, `split` is
   a string-splitting operation: one `sourceField` + `delimiter` →
   N `targetFields` (one row in, one row out; columns added). Rewrote
   the section with the correct parameters, lineage effect, gotchas,
   and a canonical example. Row-routing belongs in `filter` nodes.

4. Sample `assets/sample_bdts/append_and_split.json`: the old sample
   used the invented `branches[]` shape AND routed the same split into
   two downstream outputs that each expected different rows — which is
   not how `split` works. Rewrote the sample so:
     - `appendV2` unions two order sources (unchanged intent).
     - `split` uses canonical `{sourceField, delimiter, targetFields}`
       splitting `CustomerFullName__c` into first + last name columns.
     - One downstream output consumes the new columns (removes the
       fake two-branch fan-out).

Tests: 92/92 passing. Sample parses and runs through `bdt_analyze.py
summary` cleanly (5 nodes: 2 load + 1 appendV2 + 1 split + 1 outputD360).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 10:19:36 +05:30
..
applying-slds @W-21965936@ Add applying and validating SLDS skills to afv-library (#187) 2026-04-21 14:43:15 +05:30
building-ui-bundle-app fix: trigger ui-bundle skill for React app prompts @W-21916680@ (#175) 2026-04-07 09:34:42 +05:30
building-ui-bundle-frontend fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
creating-b2b-commerce-store @W-21274365 Add instructions to create commerce b2b store from vibes (#22) 2026-03-27 18:24:35 +05:30
deploying-ui-bundle fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
developing-agentforce feat: replace agentforce-development skill with three specialized skills @W-21937872@ (#184) 2026-04-09 17:04:48 +05:30
explaining-batch-data-transform fix: address PRizm review findings from internal port PR @W-22196528@ 2026-04-24 10:19:36 +05:30
generating-apex @W-21788755 feat: Apex trigger skills UPDATE (#150) 2026-03-31 12:55:08 +05:30
generating-apex-test @W-21788755 feat: Apex trigger skills UPDATE (#150) 2026-03-31 12:55:08 +05:30
generating-custom-application feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-custom-field feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-custom-lightning-type feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-custom-object feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-custom-tab feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-experience-lwr-site refactor: mv skill to dev branch (#182) 2026-04-21 14:43:15 +05:30
generating-flexipage @W-21783760 Update instructions to ensure templates plugin is installed (#124) 2026-03-30 19:36:21 +05:30
generating-flow fix: @W-21915952@ Update SKILL.md to allow user to make changes in the generated flow (#189) 2026-04-21 11:57:05 +05:30
generating-fragment feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-lightning-app W-21661930 Update lex app skill (#88) 2026-03-23 18:32:48 +05:30
generating-list-view feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
generating-permission-set W-21660521 feat: Agentforce Vibes - Unable to assign agent access in permission set (#145) 2026-03-31 22:21:02 +05:30
generating-ui-bundle-features fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
generating-ui-bundle-metadata fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
generating-ui-bundle-site fix: @W-21889983@ Disallow Modifying React Site Metadata Except for Templated Properties (#185) 2026-04-09 00:25:10 +05:30
generating-validation-rule feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
implementing-ui-bundle-agentforce-conversation-client fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
implementing-ui-bundle-file-upload fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
observing-agentforce feat: replace agentforce-development skill with three specialized skills @W-21937872@ (#184) 2026-04-09 17:04:48 +05:30
searching-media @fix @W-21829074 - Updated skill instructions to wait for the user input (#177) 2026-04-21 14:17:29 +05:30
switching-org feat: Add switching-org skill @W-21436488@ (#74) 2026-03-20 18:22:21 -07:00
testing-agentforce feat: replace agentforce-development skill with three specialized skills @W-21937872@ (#184) 2026-04-09 17:04:48 +05:30
trigger-refactor-pipeline feat: consolidate webapp data skills into using-webapp-salesforce-data @W-21338965@ (#81) 2026-03-23 22:25:33 +00:00
uplifting-components-to-slds2 @W-21965936@ Add applying and validating SLDS skills to afv-library (#187) 2026-04-21 14:43:15 +05:30
using-ui-bundle-salesforce-data fix: tighten ui-bundle skill descriptions to reduce false triggers @W-21800526@ (#162) 2026-04-03 09:22:32 +05:30
validating-slds @W-21965936@ Add applying and validating SLDS skills to afv-library (#187) 2026-04-21 14:43:15 +05:30