Skip to content

forcedotcom/sf-skills / skills/omnistudio-epc-catalog-generate

omnistudio-epc-catalog-generate

Verified

Salesforce 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 when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use omnistudio-omniscript-generate, omnistudio-flexcard-generate, or omnistudio-integration-procedure-generate), implementing Apex business logic (use platform-apex-generate), or troubleshooting deployment pipelines (use platform-metadata-deploy).

FileKindSize
README.mdmarkdown4.4 KB
SKILL.mdskill md21.6 KB
assets/attribute-assignment-template.jsonconfig21.6 KB
assets/compiled-attribute-overrides-template.jsonconfig20.4 KB
assets/completion-block-template.txtmarkdown219 B
assets/decomposition-relationships-template.jsonconfig17.1 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_AttributeAssignments.jsonconfig24.9 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_CompiledAttributeOverrides.jsonconfig9.0 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_DataPack.jsonconfig30.6 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_DecompositionRelationships.jsonconfig13.1 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_ObjectFieldAttributes.jsonconfig7.8 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_OrchestrationScenarios.jsonconfig3.2 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_OverrideDefinitions.jsonconfig17.7 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_ParentKeys.jsonconfig1.1 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_PriceListEntries.jsonconfig3.1 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_PricebookEntries.jsonconfig1.6 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_ProductChildItems.jsonconfig1.8 KB
assets/examples/business-internet-premium-fttc-simple-offer/Business-Internet-Premium-FTTC_RuleAssignments.jsonconfig999 B
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_AttributeAssignments.jsonconfig21.9 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_DataPack.jsonconfig23.5 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_DecompositionRelationships.jsonconfig2.2 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_ObjectFieldAttributes.jsonconfig7.9 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_OrchestrationScenarios.jsonconfig1.6 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_ParentKeys.jsonconfig1.1 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_PriceListEntries.jsonconfig12.9 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_PricebookEntries.jsonconfig1.6 KB
assets/examples/business-internet-pro-vpl-simple-offer/Business-Internet-Pro-VPL_ProductChildItems.jsonconfig23.3 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_AttributeAssignments.jsonconfig18.6 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_DataPack.jsonconfig25.8 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_DecompositionRelationships.jsonconfig2.0 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_ObjectFieldAttributes.jsonconfig5.9 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_OrchestrationScenarios.jsonconfig1.6 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_ParentKeys.jsonconfig567 B
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_PriceListEntries.jsonconfig6.1 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_PricebookEntries.jsonconfig1.6 KB
assets/examples/samsung-galaxy-s22-bundle/Samsung-Galaxy-S22-Bundle_ProductChildItems.jsonconfig3.9 KB
assets/examples/static-ip-simple-offer/Static-IP_AttributeAssignments.jsonconfig6.7 KB
assets/examples/static-ip-simple-offer/Static-IP_DataPack.jsonconfig17.4 KB
assets/examples/static-ip-simple-offer/Static-IP_DecompositionRelationships.jsonconfig2.2 KB
assets/examples/static-ip-simple-offer/Static-IP_ObjectFieldAttributes.jsonconfig2.0 KB
assets/examples/static-ip-simple-offer/Static-IP_ParentKeys.jsonconfig315 B
assets/examples/static-ip-simple-offer/Static-IP_PriceListEntries.jsonconfig3.1 KB
assets/examples/static-ip-simple-offer/Static-IP_PricebookEntries.jsonconfig1.5 KB
assets/examples/static-ip-simple-offer/Static-IP_ProductChildItems.jsonconfig1.7 KB
assets/object-field-attributes-template.jsonconfig7.9 KB
assets/orchestration-scenarios-template.jsonconfig3.1 KB
assets/override-definitions-template.jsonconfig8.9 KB
assets/parent-keys-template.jsonconfig1.4 KB
assets/price-list-entries-template.jsonconfig9.2 KB
assets/pricebook-entries-template.jsonconfig1.6 KB
assets/product-child-item-template.jsonconfig19.0 KB
assets/product2-offer-template.jsonconfig23.3 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_AttributeAssignments.jsonconfig5.2 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_CompiledAttributeOverrides.jsonconfig3 B
examples/business-internet-plus-bundle/Business-Internet-Plus_DataPack.jsonconfig8.2 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_DecompositionRelationships.jsonconfig1.7 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_ObjectFieldAttributes.jsonconfig5.3 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_OrchestrationScenarios.jsonconfig1.1 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_OverrideDefinitions.jsonconfig3 B
examples/business-internet-plus-bundle/Business-Internet-Plus_ParentKeys.jsonconfig587 B
examples/business-internet-plus-bundle/Business-Internet-Plus_PriceListEntries.jsonconfig1.8 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_PricebookEntries.jsonconfig1.1 KB
examples/business-internet-plus-bundle/Business-Internet-Plus_ProductChildItems.jsonconfig5.7 KB
examples/business-internet-plus-bundle/TRANSCRIPT.mdmarkdown2.5 KB
references/epc-field-guide.mdmarkdown3.5 KB
references/naming-conventions.mdmarkdown1.7 KB
references/scoring-model.mdmarkdown2.2 KB
scripts/cli-validation-commands.shscript859 B
scripts/sample-invocations.shscript1.3 KB
# omnistudio-epc-catalog-generate

Salesforce Industries CME EPC product-modeling skill for Product2-based catalog design. Build offer bundles, attributes, Product Child Items, and companion DataPack JSON artifacts with a 120-point quality rubric.

## Features

- **Offer Bundle Modeling**: Create `Product2` offers with `SpecificationType=Offer` and `SpecificationSubType=Bundle`
- **Attribute Modeling**: Define attribute metadata, defaults, valid values, and assignment payloads
- **Bundle Composition**: Build root and child `%vlocity_namespace%__ProductChildItem__c` rows with quantity semantics
- **Companion DataPack Generation**: Produce pricing, orchestration, decomposition, override, and parent-key files
- **DataPack Integrity Controls**: Keep global keys, source keys, and lookup references consistent
- **120-Point Scoring**: Validate bundle quality across 6 EPC-focused categories

## Quick Start

### 1. Invoke the skill

```yaml
Skill: omnistudio-epc-catalog-generate
Request: "Create a Product2 offer bundle named Business Internet Plus with ProductCode BIZ-INT-PLUS-01, 3 child products, and generate all companion DataPack JSON files from the assets templates."
```

### 2. Typical operations

| Operation | Example Request |
|-----------|-----------------|
| Create bundle | "Create a Product2 offer bundle for Business Fiber Pro with 3 child products and full companion metadata." |
| Add attributes | "Add Contract Term and Download Speed attributes with defaults and valid values." |
| Build child items | "Create root and child ProductChildItem records with min/max/default quantity rules." |
| Generate companions | "Generate pricebook, price list, object field attribute, orchestration, decomposition, override, and parent key files." |
| Review and score | "Review this bundle DataPack and score it with the 120-point rubric." |

## Companion Files for Full Bundle Payload

When generating a complete bundle, include:

- `*_DataPack.json`
- `*_AttributeAssignments.json`
- `*_ProductChildItems.json`
- `*_PricebookEntries.json`
- `*_PriceListEntries.json`
- `*_ObjectFieldAttributes.json`
- `*_OrchestrationScenarios.json`
- `*_DecompositionRelationships.json`
- `*_CompiledAttributeOverrides.json`
- `*_OverrideDefinitions.json`
- `*_ParentKeys.json`

## Bundled Examples

- [assets/](assets/) - canonical EPC bundle template set for DataPack authoring
- [assets/examples/](assets/examples/) - additional bundle and simple-offer sample packs
- [examples/business-internet-plus-bundle/](examples/business-internet-plus-bundle/) - generated Business Internet Plus example with transcript

## Scoring System (120 Points)

| Category | Points | Focus |
|----------|--------|-------|
| Catalog Identity and Naming | 20 | Product naming, ProductCode quality, stable key strategy |
| EPC Product Structure | 20 | Required Product2/EPC fields, lifecycle and activation coherence |
| Attribute Modeling | 25 | Category quality, valid values/defaults, required/display behavior |
| Offer Bundle Composition | 25 | Root PCI, child integrity, quantity semantics |
| DataPack Integrity | 15 | Namespace placeholder usage, lookup portability, key consistency |
| Documentation and Handoff | 15 | Intent clarity, risks, verification guidance |

**Thresholds**: `>=95` Deploy-ready | `70-94` Needs review | `<70` Block and fix

## Cross-Skill Integration

| Related Skill | When to Use |
|---------------|-------------|
| omnistudio-dependencies-analyze | Inventory namespace and dependencies before modeling |
| omnistudio-omniscript-generate | Build guided selling UX on top of modeled catalog |
| omnistudio-integration-procedure-generate | Orchestrate product and pricing interactions server-side |
| omnistudio-callable-apex-generate | Implement callable Apex actions used by OmniStudio/IP flows over EPC selections |
| platform-metadata-deploy | Validate and deploy generated metadata artifacts |

## Documentation

- [SKILL.md](SKILL.md) - Full EPC workflow, guardrails, and scoring
- [references/epc-field-guide.md](references/epc-field-guide.md) - EPC field-level guidance
- [references/naming-conventions.md](references/naming-conventions.md) - Naming and keying conventions
- [../omnistudio-callable-apex-generate/README.md](../omnistudio-callable-apex-generate/README.md) - Companion callable Apex patterns

## Requirements

- Salesforce Industries org with EPC enabled
- sf CLI v2 (for validation/deploy workflows)
- Compatible namespace model (`%vlocity_namespace%`, `vlocity_cmt`, or Core)
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall