AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Oct 16, 2026, 10:00 JST

Before Claude Code writes pages, clean product data

Before Claude Code writes pages, clean product data

3 Key Points

  1. What happened

    In a Zenn article, EC自動化工房 laid out a pre-generation cleanup step for product masters, adding notation rules to CLAUDE.md, saving results to products_clean.csv, and never overwriting the original products.csv.

  2. Why it matters

    Mismatched entries such as "ホワイト", "白" and "WHITE" can hurt search, push byte counts past mall limits, and make Claude Code's output uneven, so the workflow separates cleanup from mall-by-mall writing.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

A previous piece treated the product master — one row per product — as the single source of truth, with Claude Code writing separate pages for each mall. This time the focus is the first stumbling block: notation drift. A sample table for a fictional store shows the same mug entered three ways, with "ホワイト", "白" and "WHITE" for color and "450ml", "450ml" and "250mL" for volume.

These differences have three practical effects: shoppers searching one term may miss products written another way, byte-counted character limits can be exceeded by full-width entries, and AI output tends to mirror the inconsistent input. The proposed fix is to insert a dedicated cleanup step between the product master and the mall-specific writing step — not to fold it into generation — so the corrections stay visible.

The method adds rules to CLAUDE.md, writes to products_clean.csv without overwriting the original, and outputs a list of every changed item. Style codes, JAN codes, brand names and product proper nouns are excluded from automatic correction and sent to a "要確認" list instead. EC自動化工房 says a "商品ページ量産キット" bundling the templates and rules is scheduled for release on 10月31日, with the announcement to be shared on X at @ec_jidoka_kobo.

FAQ
What notation issues should be standardized?
It lists five: full-width versus half-width characters, units like "ml" and "mL", size formats, color names, and symbols such as "〜" and "・".
Which data should not be corrected automatically?
Style codes, JAN codes, brand names and product proper nouns should be left alone and flagged as "要確認" instead of being fixed.
When is the product-page kit scheduled to be released?
A "商品ページ量産キット" is scheduled for release on 10月31日.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleAnthropic's Claude Haiku 4.5 sent false murder tip to police