Claude-skill-registry beam

Beam dropshipping and product sync context

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/beam" ~/.claude/skills/majiayu000-claude-skill-registry-beam && rm -rf "$T"
manifest: skills/data/beam/SKILL.md
source content

Beam Domain Context

What Is Beam?

Beam enables dropshipping by syncing products FROM Violet TO destination e-commerce platforms (Shopify) and processing orders back.

Beam vs Prism

PrismBeam
DirectionRead Products, Write OrdersWrite Products, Read Orders
FlowIngest products from stores → Create orders therePublish Violet products to destinations → Read orders back
CustomerChannels (marketplaces, platforms)Destination merchants (dropshippers)
End UserMerchants (suppliers)Shoppers on destination stores

Key Value Proposition: Enables destination merchants to dropship products from multiple Violet suppliers through their own Shopify stores without holding inventory.

Core Data Model

CollectionPurposeKey Fields
Shops
Destination Shopify storesshopId, accessToken, scopes
Products
Published productsshopId, violetOfferId, shopifyProductId
Variants
Product variantssku, violetSkuId, shopifyVariantId
Orders
Shopify ordersorderId, lineItems, fulfillmentStatus
Fulfillments
Fulfillment trackingorderId, trackingNumber, status
Mappings
Variant SKU mappingssourceSkuId, shopifyVariantId, confidence
SyncLogs
Audit trailtimestamp, action, status, errors

Core Temporal Workflows

WorkflowPurposeTrigger
CatalogSyncWorkflow
Sync products to ShopifyScheduled / manual
ProductPublishWorkflow
Publish single productAPI / event
OrderProcessingWorkflow
Process Shopify orderWebhook
FulfillmentWorkflow
Handle fulfillment updatesViolet event
ReconciliationWorkflow
Fix data inconsistenciesScheduled
VariantMappingWorkflow
Resolve SKU mappingsOn demand

Key Principles

1. Reliability Over Speed

Beam's value is making dropshipping reliable:

  • Order accuracy (right products, right quantities)
  • Fulfillment tracking (customers know where orders are)
  • Data consistency (Shopify ↔ Violet sync)

2. Self-Healing Systems

Design for automatic recovery:

  • Reconciliation workflows detect and fix issues
  • Confidence scoring for variant mappings
  • Retry logic with exponential backoff
  • Dead letter queues for failed webhooks

3. Shopify-First

Focus on Shopify until perfected:

  • Deep integration (OAuth, webhooks, GraphQL)
  • Handle all edge cases (partial fulfillment, cancellations, refunds)
  • Stay current with Shopify API changes

4. Multi-Vendor Complexity

Single Shopify orders can have products from multiple Violet merchants:

  • Split orders into multiple Violet bags
  • Track fulfillment per line item
  • Handle partial fulfillments gracefully

Key Metrics

MetricTargetAlert Threshold
Order Success Rate>98%<95%
Product Sync Latency<5 min>10 min
Webhook Processing<30s>60s
Fulfillment Accuracy>99%<97%
Broken Mappings<0.1%>1%

Key Repositories

RepoPurpose
BeamService
Main backend service (Java 21, Spring Boot)
BeamContextLibrary
Documentation & context
beam-migrations
Database migrations
beam-brain
Product brain (specs, strategy)