Merchant feed

From tinh2/skills-hub-registry · View interactive version

Merchant feed is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Generate and maintain a multi-channel product feed across Google Merchant Center, Meta Catalog (Instagram + Facebook Shops), TikTok Shop, Pinterest Catalogs, Bing Shopping, and Snapchat Catalogs from a single product source of truth (Shopify, BigCommerce, WooCommerce, custom DB)..

How to use this skill

Skill file

Multi-Channel Merchant Feed Pipeline

You build a feed-as-product-data discipline. In 2026, feed management is less about producing "a feed" and more about running a data product: continuously modifying attributes, enriching missing fields, validating quality, and tying changes to performance.

============================================================

=== PRE-FLIGHT ===

============================================================

Recovery:

============================================================

=== PHASE 1: CANONICAL PRODUCT SCHEMA ===

============================================================

Build the single source of truth. Every channel feed projects from this:

{
  "id": "SKU-12345",
  "title": "...", // primary attribute for Google match
  "description": "...",
  "link": "https://...",
  "mobile_link": "https://...", // optional but recommended
  "image_link": "https://.../primary.jpg", // ≥ 500×500 (2026 requirement)
  "additional_image_link": ["...", "..."], // up to 10
  "availability": "in_stock|out_of_stock|preorder|backorder",
  "availability_date": "2026-08-15", // if preorder
  "price": "29.99 USD",
  "sale_price": "24.99 USD",
  "sale_price_effective_date": "2026-05-23T00:00-07:00/2026-06-30T23:59-07:00",
  "brand": "...",
  "gtin": "00012345678905",
  "mpn": "...",
  "identifier_exists": true,
  "condition": "new|refurbished|used",
  "google_product_category": "Apparel & Accessories > Clothing > Shirts & Tops",
  "product_type": "Mens > Shirts > T-Shirts",
  "color": "navy",
  "size": "L",
  "material": "100% cotton",
  "gender": "male|female|unisex",
  "age_group": "adult|kids|toddler|infant|newborn",
  "item_group_id": "TSHIRT-001", // for variant grouping
  "shipping": [{ "country": "US", "service": "Standard", "price": "4.99 USD" }],
  "tax": [{ "country": "US", "region": "CA", "rate": 9.0, "tax_ship": true }],
  "custom_label_0": "high_margin", // for ad bidding strategy
  "custom_label_1": "summer_collection",
  "custom_label_2": "best_seller",
  "custom_label_3": "new_arrival",
  "custom_label_4": "low_inventory",
  "video": "https://.../product.mp4" // critical for TikTok Shop
}

Persist as products.json with versioning (so feed history is auditable).

VALIDATION: 100% of products have id, title, description, link, image_link, availability, price, brand. ≥ 90% have GTIN.

============================================================

=== PHASE 2: TITLE OPTIMIZATION ===

============================================================

Title is the highest-leverage attribute for Google matching. Use this structure:

[Brand] [Product Type] [Key Attribute] [Variant] [Size/Quantity]

Examples:

Title cap: 150 chars (Google), 65 chars displayed in shopping results. Front-load the most important info.

Maintain a per-product title A/B test queue: rotate one new variant per category per month, measure CTR + ROAS at the keyword level via Search Terms Report.

VALIDATION: Median title length 60-120 chars. No "AAA-promo" stuffing or all-caps.

============================================================

=== PHASE 3: PER-CHANNEL FEED PROJECTION ===

============================================================

Project the canonical product into each channel's format:

Google Merchant Center (XML or TSV):

Meta Catalog (CSV or Catalog Batch API):

TikTok Shop (TSV or Commerce API):

Pinterest Catalogs:

Bing Shopping (close to GMC format):

Snap Catalogs:

Generate per-channel projection in feeds/{channel}/{date}.{ext}.

VALIDATION: Each channel feed validates against the platform's spec (use vendor schema validators / spec linters).

============================================================

=== PHASE 4: VALIDATION & DISAPPROVAL PREVENTION ===

============================================================

Before submission, run pre-flight checks:

| Check | Failure mode | Fix |

| ------------------------------------ | ------------------------------------------------------- | ----------------------------------- |

| Image ≥ 500×500 (Google 2026) | Disapproval warning Apr→reject Jan 2027 | Auto-upscale via CDN transform |

| Title length 30-150 | Truncation in SERP | Tighten to 60-90 chars |

| Description ≥ 30 words | Low relevance score | Auto-augment with attribute join |

| Price > 0 and matches landing page | Price mismatch disapproval | Verify scrape of landing page price |

| GTIN valid checksum | Invalid GTIN disapproval | Validate UPC/EAN/ISBN checksum |

| Availability matches landing | "Out of stock" mismatch | Scrape landing inventory status |

| Brand present | Limited performance | Default to store brand if missing |

| Required GPC category for restricted | Disapproval (apparel needs color+size+age_group+gender) | Enforce per category rules |

| Restricted content | Disapproval (e.g., drug-related claims) | Run vocab filter |

| Landing page returns 200 | Broken landing disapproval | Crawl + verify before submit |

Output feed_validation_{date}.md with per-SKU issues.

VALIDATION: Pre-submission validation catches > 95% of issues that would otherwise be caught downstream.

============================================================

=== PHASE 5: WEEKLY FEED AUDIT CRON ===

============================================================

Schedule a weekly task (Mondays, post-weekend sales data):

  1. Fetch disapproval reports from GMC, Meta Commerce Manager, TikTok Shop, Pinterest.
  2. Map each disapproval to the underlying canonical product issue.
  3. Auto-fix the deterministic ones (image upscale, title tightening, category mapping).
  4. Surface non-deterministic ones (policy violations, restricted content claims) for human review.
  5. Track 48-hour SLA: every new disapproval must be addressed within 48h.
  6. Track custom_label rotation: quarterly review of which custom labels are working (e.g., high-margin label producing top ROAS).

Generate weekly_audit_{date}.md digest.

VALIDATION: SLA met for ≥ 95% of disapprovals.

============================================================

=== PHASE 6: PERFORMANCE FEEDBACK LOOP ===

============================================================

Tie feed changes back to performance:

VALIDATION: Performance attribution joins canonical product ID to channel SKU ID without drift.

============================================================

=== PHASE 7: OUTPUT PACKAGE ===

============================================================

merchant-feed/
├── README.md
├── products.json                # canonical
├── feeds/
│   ├── google/products.xml
│   ├── meta/products.csv
│   ├── tiktok/products.tsv
│   ├── pinterest/products.csv
│   ├── bing/products.xml
│   └── snap/products.csv
├── validation/
│   └── feed_validation_{date}.md
├── audit/
│   └── weekly_audit_{date}.md
├── tests/
│   └── title_ab_tests.csv       # active title variants per SKU
└── perf/
    └── sku_performance_{date}.csv

VALIDATION: Every channel feed validates and submits without disapproval.

============================================================

=== SELF-REVIEW ===

============================================================

Common gap: image upscale missing → silent quality degradation. Verify CDN transform pipeline.

============================================================

=== LEARNINGS CAPTURE ===

============================================================

~/.claude/skills/merchant-feed/LEARNINGS.md.

============================================================

=== STRICT RULES ===

============================================================

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.