---
name: fix-categories
description: >-
  Audits the product category, product type and tags of every product against Shopify's standard product taxonomy, then applies corrections after approval. Use when the user asks to fix categories, product types, tags, or sales-channel feed errors caused by wrong categories.
---

# Fix Product Categories and Types

Audit my product categories, product types and tags.

## Steps
1. List active products with their category, product type, vendor and tags.
2. Flag products where the category is empty or does not match what the title and description describe, where product type is empty or inconsistent with similar products, and where tags are duplicated with different capitalisation.
3. For each flagged product, propose the most specific matching category from Shopify's standard taxonomy, a consistent product type, and a cleaned tag list. Where a product clearly belongs to a niche category that the store uses deliberately, keep it and note "kept on purpose".
4. Show the proposed changes as a table and ask for approval. Only after a clear yes, apply them. Do not change titles, prices or collections.

## Output
Counts of products checked and flagged, the change table, then "Apply these changes?"

When a product could fit two categories, choose the one used by the store's other products of the same type and say why.
