Imported from vaibh123540/shopifyPlugin (
docs/AGENTS.md). Install upstream withnpx skills add vaibh123540/shopifyPlugin --skill docs. Copyright stays with the author.
Agent Instructions
Project
MerchantFix is a Shopify embedded app that scans product catalogs for Google Shopping / Merchant Center readiness issues.
Rules
- Do not expand scope without asking.
- Do not build storefront widgets.
- Do not build checkout extensions.
- Do not add Google Merchant Center API integration yet.
- Keep scanner rules deterministic.
- Prefer simple code over clever abstractions.
- Use TypeScript.
- Keep database migrations explicit.
- Update docs when architecture, product status, UI behavior, or major decisions change.
- Keep the app focused on the current MVP flow: import products/variants -> run scanner rules -> show issues -> show deterministic fix checklist/action plan.
Current working checkpoint
The embedded dashboard can import product variants from Shopify Admin GraphQL API and run these deterministic scanner rules:
- Missing barcode / GTIN
- Missing vendor / brand
- Missing product image
- Missing product category
- Short product title
- Short product description
- Duplicate product title
The scanner rule set from the first roadmap pass is complete. The current UI checkpoint moved the report toward a store-owner/CEO-friendly dashboard:
- Color-coded store health state after scan.
- Glanceable readiness score and top business impact summary.
- Issue summary cards with quick state labels.
- Numbered Fix order / action plan cards.
- Deterministic Action / Why / Done when guidance for priority issue groups.
- Skeleton loading while a scan is running.
- Catalog details table with simple filters: Needs fixes, Critical, Warnings, Clear, Active, All.
- Color-coded issue states in the catalog details table.
Current key files:
app/routes/app._index.tsxapp/routes/app.tsxapp/lib/shopify/product-import.server.tsapp/lib/scanner/types.tsapp/lib/scanner/run-scan.server.tsapp/lib/scanner/rules/missing-barcode.server.tsapp/lib/scanner/rules/missing-vendor.server.tsapp/lib/scanner/rules/missing-image.server.tsapp/lib/scanner/rules/missing-product-category.server.tsapp/lib/scanner/rules/short-title.server.tsapp/lib/scanner/rules/short-description.server.tsapp/lib/scanner/rules/duplicate-title.server.ts
Before coding
Read:
docs/PRODUCT.mddocs/ARCHITECTURE.mddocs/ROADMAP.mddocs/STATUS.mddocs/DECISIONS.mddocs/AI_HANDOFF.mddocs/TASKS.md
Current next task
After committing the CEO-friendly action plan UI checkpoint, continue Phase 5 report UI polish.
Recommended next task:
Add empty and error states for the scan flow, then improve product-level issue drilldown.
Do not start:
- Shopify Billing
- AI suggestions
- Google Merchant Center API
- CSV export
- Storefront widgets
- Checkout extensions
until the deterministic scanner report UI is stronger.
After coding
Update:
docs/STATUS.mddocs/ROADMAP.mddocs/TASKS.mddocs/AI_HANDOFF.mddocs/DECISIONS.mdif a major decision was madedocs/UPDATE_SUMMARY.mdafter meaningful checkpoints