Loading...
Loading...
Compare original and translation side by side
reference/design.mdreference/design.mdreference/connecting-to-backend.mdreference/medusa.mdreference/components/navbar.mdreference/components/hero.mdreference/components/footer.mdreference/layouts/home-page.mdreference/components/navbar.mdreference/components/megamenu.mdreference/layouts/product-listing.mdreference/layouts/product-details.mdreference/layouts/checkout.mdreference/seo.mdreference/mobile-responsiveness.mdreference/design.mdreference/design.mdreference/connecting-to-backend.mdreference/medusa.mdreference/components/navbar.mdreference/components/hero.mdreference/components/footer.mdreference/layouts/home-page.mdreference/components/navbar.mdreference/components/megamenu.mdreference/layouts/product-listing.mdreference/layouts/product-details.mdreference/layouts/checkout.mdreference/seo.mdreference/mobile-responsiveness.mdTask 1: Implement Navigation
- Load reference/components/navbar.md
- Follow patterns from navbar.md (dynamic category fetching, cart visibility, etc.)
- Refer to skill for common mistakes (e.g., hardcoding categories)
Task 2: Implement Product Listing Page
- Load reference/layouts/product-listing.md
- Follow pagination/filtering patterns from product-listing.md
- Use reference/components/product-card.md for product grid items
- Check skill for backend integration guidance
Task 3: Implement Checkout Flow
- Load reference/layouts/checkout.md
- Load reference/medusa.md for Medusa payment integration
- Follow component architecture recommendations (separate step components)
- Refer to skill for payment method fetching requirements任务1:实现导航系统
- 加载reference/components/navbar.md
- 遵循navbar.md中的模式(动态分类获取、购物车可见性等)
- 参考本技能中的常见错误(例如,硬编码分类)
任务2:实现产品列表页面
- 加载reference/layouts/product-listing.md
- 遵循product-listing.md中的分页/筛选模式
- 使用reference/components/product-card.md实现产品网格项
- 参考本技能中的后端集成指导
任务3:实现结账流程
- 加载reference/layouts/checkout.md
- 加载reference/medusa.md以获取Medusa支付集成指导
- 遵循组件架构建议(拆分步骤组件)
- 参考本技能中的支付方式获取要求aria-live="polite"aria-live="polite"env(safe-area-inset-bottom)env(safe-area-inset-bottom)loading="lazy"loading="lazy"sdk.store.cart.methodName(params)reference/medusa.mdsdk.store.cart.methodName(params)reference/medusa.md/products/[handle]/products/$handle/products/shirt.tsx/categories/[handle]/categories/$handle/categories/women.tsxapp/products/[handle]/page.tsxapp/products/[id]/page.tsxpages/products/[handle].tsxroutes/products/[handle]/+page.svelteroutes/products/$handle.tsxroutes/products.$handle.tsx/products/[handle]/products/$handle/products/shirt.tsx/categories/[handle]/categories/$handle/categories/women.tsxapp/products/[handle]/page.tsxapp/products/[id]/page.tsxpages/products/[handle].tsxroutes/products/[handle]/+page.svelteroutes/products/$handle.tsxroutes/products.$handle.tsxreference/layouts/checkout.mdreference/components/navbar.mdreference/components/megamenu.mdreference/layouts/product-listing.mdreference/components/search.mdreference/mobile-responsiveness.mdreference/layouts/product-details.mdreference/components/cart-popup.mdreference/layouts/cart.mdreference/layouts/product-details.mdreference/layouts/checkout.mdreference/layouts/checkout.mdreference/components/navbar.mdreference/components/megamenu.mdreference/layouts/product-listing.mdreference/components/search.mdreference/mobile-responsiveness.mdreference/layouts/product-details.mdreference/components/cart-popup.mdreference/layouts/cart.mdreference/layouts/product-details.mdreference/layouts/checkout.mdreference/connecting-to-backend.md - Framework detection, API setup, backend integration patterns
reference/medusa.md - Medusa SDK integration, pricing, regions, TypeScript types
reference/design.md - User preferences, brand identity, design systems
reference/seo.md - Meta tags, structured data, Core Web Vitals
reference/mobile-responsiveness.md - Mobile-first design, responsive breakpoints, touch interactionsreference/connecting-to-backend.md - 框架检测、API设置、后端集成模式
reference/medusa.md - Medusa SDK集成、定价、区域、TypeScript类型
reference/design.md - 用户偏好、品牌标识、设计系统
reference/seo.md - 元标签、结构化数据、Core Web Vitals
reference/mobile-responsiveness.md - 移动端优先设计、响应式断点、触摸交互reference/components/navbar.md - Desktop/mobile navigation, logo, menu, cart icon, load for ALL pages
reference/components/megamenu.md - Category organization, featured products, mobile alternatives
reference/components/cart-popup.md - Add-to-cart feedback, mini cart display
reference/components/country-selector.md - Country/region selection, currency, pricing, Medusa regions
reference/components/breadcrumbs.md - Category hierarchy, structured data markup
reference/components/search.md - Search input, autocomplete, results, filters
reference/components/product-reviews.md - Review display, rating aggregation, submission
reference/components/hero.md - Hero layouts, CTA placement, image optimization
reference/components/popups.md - Newsletter signup, discount popups, exit-intent
reference/components/footer.md - Content organization, navigation, social media, load for ALL pages
reference/components/product-card.md - Product images, pricing, add to cart, badges
reference/components/product-slider.md - Carousel implementation, mobile swipe, accessibilityreference/components/navbar.md - 桌面端/移动端导航、Logo、菜单、购物车图标、所有页面都需加载
reference/components/megamenu.md - 分类组织、特色产品、移动端替代方案
reference/components/cart-popup.md - 加入购物车反馈、迷你购物车显示
reference/components/country-selector.md - 国家/地区选择、货币、定价、Medusa区域
reference/components/breadcrumbs.md - 分类层级、结构化数据标记
reference/components/search.md - 搜索输入、自动完成、结果、筛选
reference/components/product-reviews.md - 评价显示、评分汇总、提交
reference/components/hero.md - 首页横幅布局、CTA位置、图片优化
reference/components/popups.md - 新闻通讯订阅、折扣弹窗、退出意图弹窗
reference/components/footer.md - 内容组织、导航、社交媒体、所有页面都需加载
reference/components/product-card.md - 产品图片、定价、加入购物车、徽章
reference/components/product-slider.md - 轮播实现、移动端滑动、可访问性reference/layouts/home-page.md - Hero, featured categories, product listings
reference/layouts/product-listing.md - Grid/list views, filters, sorting, pagination
reference/layouts/product-details.md - Image gallery, variant selection, related products
reference/layouts/cart.md - Cart items, quantity updates, promo codes
reference/layouts/checkout.md - Multi-step/single-page, address forms, payment
reference/layouts/order-confirmation.md - Order number, summary, delivery info
reference/layouts/account.md - Dashboard, order history, address book
reference/layouts/static-pages.md - FAQ, about, contact, shipping/returns policiesreference/layouts/home-page.md - 首页横幅、特色分类、产品列表
reference/layouts/product-listing.md - 网格/列表视图、筛选、排序、分页
reference/layouts/product-details.md - 图片画廊、变体选择、相关产品
reference/layouts/cart.md - 购物车商品、数量更新、优惠码
reference/layouts/checkout.md - 多步骤/单页、地址表单、支付
reference/layouts/order-confirmation.md - 订单号、摘要、配送信息
reference/layouts/account.md - 仪表盘、订单历史、地址簿
reference/layouts/static-pages.md - FAQ、关于我们、联系我们、配送/退货政策reference/features/wishlist.md - Add to wishlist, wishlist page, move to cart
reference/features/promotions.md - Promotional banners, discount codes, sale badgesreference/features/wishlist.md - 加入收藏夹、收藏夹页面、移至购物车
reference/features/promotions.md - 促销横幅、折扣码、促销徽章1. Discovery Phase → Read design.md for user preferences
2. Foundation Setup → Read connecting-to-backend.md (or medusa.md for Medusa), mobile-responsiveness.md, seo.md
3. Core Components → Implement navbar.md, footer.md
4. Home Page → Read home-page.md
5. Product Browsing → Read product-listing.md, product-card.md, search.md
6. Product Details → Read product-details.md, product-reviews.md
7. Cart & Checkout → Read cart-popup.md, cart.md, checkout.md, order-confirmation.md
8. User Account → Read account.md
9. Additional Features → Read wishlist.md, promotions.md
10. Optimization → SEO audit (seo.md), mobile testing (mobile-responsiveness.md)1. 发现阶段 → 阅读design.md了解用户偏好
2. 基础设置 → 阅读connecting-to-backend.md(Medusa后端请阅读medusa.md)、mobile-responsiveness.md、seo.md
3. 核心组件 → 实现navbar.md、footer.md
4. 首页 → 阅读home-page.md
5. 产品浏览 → 阅读product-listing.md、product-card.md、search.md
6. 产品详情 → 阅读product-details.md、product-reviews.md
7. 购物车与结账 → 阅读cart-popup.md、cart.md、checkout.md、order-confirmation.md
8. 用户账户 → 阅读account.md
9. 附加功能 → 阅读wishlist.md、promotions.md
10. 优化 → SEO审计(seo.md)、移动端测试(mobile-responsiveness.md)Browse → View → Cart → Checkout
Browse: home-page.md → product-listing.md
View: product-details.md + product-reviews.md
Cart: cart-popup.md → cart.md
Checkout: checkout.md → order-confirmation.md浏览 → 查看 → 购物车 → 结账
浏览: home-page.md → product-listing.md
查看: product-details.md + product-reviews.md
购物车: cart-popup.md → cart.md
结账: checkout.md → order-confirmation.mdproduct-listing.mdproduct-card.mdproduct-card.mdnavbar.mdmegamenu.mdsearch.mdcheckout.mdpromotions.mdproduct-listing.mdproduct-card.mdproduct-card.mdnavbar.mdmegamenu.mdsearch.mdcheckout.mdpromotions.mddesign.mddesign.mdreference/medusa.mdreference/connecting-to-backend.mdreference/medusa.mdreference/connecting-to-backend.mdaria-live="polite"position: relativeabsolute left-0right-0w-fullw-auto/products/[handle]/products/shirt.tsxreference/design.mdloading="lazy"@medusajs/typesregion_idssr.noExternal: ['@medusajs/js-sdk']aria-live="polite"position: relativeabsolute left-0right-0w-fullw-auto/products/[handle]/products/shirt.tsxreference/design.mdloading="lazy"@medusajs/typesregion_idssr.noExternal: ['@medusajs/js-sdk']