copywriting
Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.
ecom-integrations
Ecommerce integration patterns and decomposer/composer
Full skill instructions
Decomposers transform external platform data → Violet canonical models.
public interface Decomposer<P, V> {
V decompose(P platformEntity);
List<V> decomposeList(List<P> platformEntities);
}
public class ShopifyProductDecomposer implements Decomposer<ShopifyProduct, Offer> {
public static Offer decompose(ShopifyProduct shopifyProduct) {
Offer offer = new Offer();
offer.setExternalId(String.valueOf(shopifyProduct.getId()));
offer.setName(shopifyProduct.getTitle());
offer.setDescription(shopifyProduct.getBodyHtml());
offer.setVendor(shopifyProduct.getVendor());
offer.setSkus(decomposeVariants(shopifyProduct.getVariants()));
offer.setImages(decomposeImages(shopifyProduct.getImages()));
offer.setTags(parseTags(shopifyProduct.getTags()));
offer.setStatus(mapStatus(shopifyProduct.getStatus()));
return offer;
}
private static OfferStatus mapStatus(String shopifyStatus) {
return switch (shopifyStatus) {
case "active" -> OfferStatus.AVAILABLE;
case "draft" -> OfferStatus.DRAFT;
case "archived" -> OfferStatus.UNAVAILABLE;
default -> OfferStatus.UNKNOWN;
};
}
}
Composers transform Violet canonical models → external platform formats.
public interface Composer<V, P> {
P compose(V violetEntity);
List<P> composeList(List<V> violetEntities);
}
public class ShopifyOrderComposer implements Composer<Order, ShopifyOrderInput> {
public static ShopifyOrderInput compose(Order violetOrder) {
ShopifyOrderInput input = new ShopifyOrderInput();
input.setEmail(violetOrder.getCustomer().getEmail());
input.setLineItems(composeLineItems(violetOrder.getItems()));
input.setShippingAddress(composeAddress(violetOrder.getShippingAddress()));
input.setBillingAddress(composeAddress(violetOrder.getBillingAddress()));
input.setFinancialStatus(mapFinancialStatus(violetOrder.getPaymentStatus()));
input.setFulfillmentStatus(mapFulfillmentStatus(violetOrder.getFulfillmentStatus()));
return input;
}
private static String mapFinancialStatus(PaymentStatus status) {
return switch (status) {
case PAID -> "paid";
case PENDING -> "pending";
case REFUNDED -> "refunded";
case PARTIALLY_REFUNDED -> "partially_refunded";
default -> "pending";
};
}
}
@Test
void decompose_shouldMapAllFields() {
ShopifyProduct input = createTestProduct();
Offer result = ShopifyProductDecomposer.decompose(input);
assertThat(result.getExternalId()).isEqualTo("123");
assertThat(result.getName()).isEqualTo("Test Product");
assertThat(result.getStatus()).isEqualTo(OfferStatus.AVAILABLE);
}
@Test
void decompose_shouldHandleNullFields() {
ShopifyProduct input = new ShopifyProduct();
input.setId(123L);
// Other fields null
Offer result = ShopifyProductDecomposer.decompose(input);
assertThat(result.getExternalId()).isEqualTo("123");
assertThat(result.getName()).isNull();
}
@Test
void compose_shouldProduceValidPlatformInput() {
Order violetOrder = createTestOrder();
ShopifyOrderInput result = ShopifyOrderComposer.compose(violetOrder);
assertThat(result.getEmail()).isNotNull();
assertThat(result.getLineItems()).isNotEmpty();
}
@Test
void compose_shouldMapStatusCorrectly() {
Order order = new Order();
order.setPaymentStatus(PaymentStatus.PAID);
ShopifyOrderInput result = ShopifyOrderComposer.compose(order);
assertThat(result.getFinancialStatus()).isEqualTo("paid");
}
Every integration must document status mappings:
| Violet Status | Shopify | BigCommerce | WooCommerce |
|---|---|---|---|
| PENDING | unfulfilled | Awaiting Fulfillment | pending |
| PROCESSING | in_progress | Awaiting Shipment | processing |
| SHIPPED | fulfilled | Shipped | completed |
| DELIVERED | fulfilled | Delivered | completed |
| CANCELLED | cancelled | Cancelled | cancelled |
Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.
Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.
Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.
Systematic improvement of existing marketing copy through seven focused editing passes.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.
Revolutionize Video Creation with AI-Generated Avatars and Voices
Social media on autopilot
Design custom logos instantly with AI.
Text-heavy marketing and design images
Boost Your SEO with Content and SEO Silos
Revolutionize Your Marketing with AI-Powered MarketingBlocks!
10X faster & free AI content creation for 100+ use cases
Tribescaler | Make Your Tweets Go Viral