$npx -y skills add forcedotcom/sf-skills --skill omnistudio-epc-catalog-generateSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER
| 1 | # omnistudio-epc-catalog-generate: CME EPC Product and Offer Modeling |
| 2 | |
| 3 | Expert Salesforce Industries CME EPC modeler for creating Product2-based catalog entries, assigning configurable attributes, and building offer bundles through Product Child Item relationships. |
| 4 | |
| 5 | This skill is optimized for DataPack-style metadata authoring. Use the canonical template set in `assets/`: |
| 6 | |
| 7 | - `assets/product2-offer-template.json` |
| 8 | - `assets/attribute-assignment-template.json` |
| 9 | - `assets/product-child-item-template.json` |
| 10 | - `assets/pricebook-entries-template.json` |
| 11 | - `assets/price-list-entries-template.json` |
| 12 | - `assets/object-field-attributes-template.json` |
| 13 | - `assets/orchestration-scenarios-template.json` |
| 14 | - `assets/decomposition-relationships-template.json` |
| 15 | - `assets/compiled-attribute-overrides-template.json` |
| 16 | - `assets/override-definitions-template.json` |
| 17 | - `assets/parent-keys-template.json` |
| 18 | |
| 19 | Additional packaged examples are available under `assets/examples/`, organized by offer type: |
| 20 | |
| 21 | - `assets/examples/samsung-galaxy-s22-bundle/` — bundle offer example |
| 22 | - `assets/examples/business-internet-premium-fttc-simple-offer/` — simple offer example |
| 23 | - `assets/examples/business-internet-pro-vpl-simple-offer/` — simple offer example |
| 24 | - `assets/examples/static-ip-simple-offer/` — simple offer example |
| 25 | |
| 26 | The `examples/business-internet-plus-bundle/` folder contains a generated bundle example with a step-by-step transcript. |
| 27 | |
| 28 | The root `assets/` folder contains the canonical baseline template set for bundle authoring. |
| 29 | |
| 30 | --- |
| 31 | |
| 32 | ## Scope |
| 33 | |
| 34 | - **In scope**: Creating and reviewing EPC Product2 records, Product Child Items, attribute metadata, offer bundles, pricing entries, decomposition and orchestration artifacts, and DataPack JSON payloads |
| 35 | - **Out of scope**: OmniScript/FlexCard/Integration Procedure design (use `omnistudio-omniscript-generate`, `omnistudio-flexcard-generate`, or `omnistudio-integration-procedure-generate`), Apex business logic implementation (use `platform-apex-generate`), deployment pipeline troubleshooting (use `platform-metadata-deploy`) |
| 36 | |
| 37 | --- |
| 38 | |
| 39 | ## Quick Reference |
| 40 | |
| 41 | - **Primary object**: `Product2` (EPC product and offer records) |
| 42 | - **Attribute data**: `%vlocity_namespace%__AttributeMetadata__c`, `%vlocity_namespace%__AttributeDefaultValues__c`, and `%vlocity_namespace%__AttributeAssignment__c` |
| 43 | - **Offer bundle composition**: `%vlocity_namespace%__ProductChildItem__c` |
| 44 | - **Offer marker**: `%vlocity_namespace%__SpecificationType__c = "Offer"` and `%vlocity_namespace%__SpecificationSubType__c = "Bundle"` |
| 45 | - **Companion bundle artifacts**: pricebook entries, price list entries, object field attributes, orchestration scenarios, decomposition relationships, compiled attribute overrides, override definitions, and parent keys |
| 46 | |
| 47 | **Scoring**: 120 points across 6 categories. |
| 48 | **Thresholds**: `>= 95` Deploy-ready | `70-94` Needs review | `< 70` Block and fix. |
| 49 | |
| 50 | **Glossary**: EPC = Enterprise Product Catalog | CME = Communications, Media & Energy | DataPack = Vlocity JSON deployment artifact | PCI = ProductChildItem |
| 51 | |
| 52 | --- |
| 53 | |
| 54 | ## Asset Template Set |
| 55 | |
| 56 | Use the root `assets/` templates when creating a bundle payload: |
| 57 | |
| 58 | - `product2-offer-template.json` |
| 59 | - `attribute-assignment-template.json` |
| 60 | - `product-child-item-template.json` |
| 61 | - `pricebook-entries-template.json` |
| 62 | - `price-list-entries-template.json` |
| 63 | - `object-field-attributes-template.json` |
| 64 | - `orchestration-scenarios-template.json` |
| 65 | - `decomposition-relationships-template.json` |
| 66 | - `compiled-attribute-overrides-template.json` |
| 67 | - `override-definitions-template.json` |
| 68 | - `parent-keys-template.json` |
| 69 | |
| 70 | For additional real-world variants, use the per-example folders under `assets/examples/`. |
| 71 | |
| 72 | --- |
| 73 | |
| 74 | ## Core Responsibilities |
| 75 | |
| 76 | 1. **Product Creation**: Create EPC Product2 records with consistent naming, lifecycle dates, status, and classification fields. |
| 77 | 2. **Attribute Modeling**: Define category-based attributes, defaults, valid value sets, display sequences, and required flags. |
| 78 | 3. **Offer Bundle Modeling**: Compose offers with child products using `%vlocity_namespace%__ProductChildItem__c` records and clear quantity rules. |
| 79 | 4. **Companion Metadata Generation**: Generate and align |