ecommerce-checkout-cart
Use when the user asks about a shopping cart, checkout flow, cart abandonment, guest checkout, order state machine, coupon or discount engine, tax calculation…
от j4flmao★ 47 звёзд на GitHub
Установить ecommerce-checkout-cart в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Checkout & Cart
Purpose
Design shopping cart and checkout systems: cart management, order lifecycle, discount/promotion engine, tax calculation, shipping integration, and checkout optimization.
Agent Protocol
Trigger
- "shopping cart", "checkout flow", "cart management", "order management"
- "discount engine", "coupon system", "promotion", "tax calculation"
- "checkout optimization", "cart abandonment", "order lifecycle"
Input Context
- E-commerce platform (custom, Shopify, Magento, WooCommerce, composable)
- Cart scope (single-session, persistent, cross-device)
- Order complexity (simple goods, subscriptions, digital, B2B with approvals)
- Tax jurisdictions and shipping carriers
Output Artifact
- Cart and checkout architecture design
- Discount engine specification
- Order state machine
- Integration patterns for payments, tax, shipping
Response Format
Cart storage: {client|server|hybrid} + persistence key
Pricing: {server-side recalculation points}
Inventory: {reservation strategy + TTL}
Checkout steps: {list}
Order creation: {idempotency key, state machine}
Payment handoff: {PSP + confirmation via webhook}
Completion Criteria
- Cart data model defined with all edge cases (merge, expiry, concurrent access)
- Order state machine with all transitions and validations
- Discount engine covering all promotion types required
- Tax and shipping integration points documented
- Abandoned cart recovery flow designed
- Checkout optimization recommendations provided
Decision Trees
Cart Persistence Strategy Decision Tree
Are users required to log in before adding items to cart?
- YES -> Server-side cart only. Store in database. Simple model, no merge needed. All cart operations go through authenticated API.
- NO -> Guest cart required. Go to 2.
Do you need cross-device cart persistence for guest users?
- YES -> Server-side guest cart with anonymous session token. Store in cookies or localStorage. Cart persisted on server with session ID. Merge on login.
- NO -> Client-side cart (localStorage). Simpler, lower server cost, but lost if browser data cleared. Best for simple stores.
Is cart value typically high or low?
- High (B2B, luxury): Server-side persistence critical. Users invest time in cart. Expect to return days later. Cart recovery important.
- Low (impulse buy under $50): Client-side acceptable. Short consideration window. Cart recovery less impactful.
Do you need server-side cart features (abandoned cart emails, analytics)?
- YES -> Server-side cart required at checkout minimum. Consider full server-side for accurate analytics.
- NO -> Client-side sufficient for browsing. Sync to server only at checkout.
Discount Engine Type Selection Decision Tree
Does the discount apply to individual items or the entire order?
- Item-level -> Apply before subtotal calculation. Examples: percentage off product, BOGO. Requires item-level price override.
- Order-level -> Apply after subtotal, before tax/shipping. Examples: fixed amount off, percentage off total.
Is the discount automatic or requires a coupon code?
- Automatic (cart rule) -> Evaluate eligibility in discount engine. Apply without user action. Examples: free shipping over $50, 10% off when buying 3+.
- Coupon code -> User enters code. Validate code exists, is active, not expired, not over usage limit. Apply discount.
Can discounts be combined with other discounts?
- Exclusive -> Only one discount per order/category. Best discount wins. Simplest logic. Lowest support volume.
- Stackable -> Multiple discounts apply together. Configure stacking order: item discounts first, then cart discounts, then shipping. Set max N promotions per order.
- Best-of -> Calculate total for each eligible discount. Auto-select the one giving the lowest total for customer.
Does the discount have usage limits?
- Per-customer limit -> Track usage in customer profile. Check before applying. Use Redis counter with TTL for rate limiting.
- Total budget cap -> Track total discount amount disbursed. Stop applying when budget exhausted. Reset per budget period.
- First N customers -> Pre-generate codes or set first-N flag. Race condition: handle with atomic counter (Redis INCR).
Checkout Flow Optimization Decision Tree
Is this a returning customer?
- YES -> Pre-fill saved addresses and payment method. One-click checkout option if express payment method stored. Skip address entry step.
- NO -> Guest checkout available. No forced account creation. Offer account creation after purchase.
Is the cart value below free shipping threshold?
- YES -> Show shipping cost early in checkout. Offer progress bar toward free shipping. Consider suggesting items to reach threshold.
- NO -> Free shipping indicator. No shipping cost surprise at end.
Are there regulatory requirements for checkout?
- YES -> Include mandato
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cart-architecture.md
- references/checkout-cart-advanced.md
- references/checkout-cart-fundamentals.md
- references/checkout-optimization.md
- references/checkout-ux.md
- references/discount-engine.md
- references/merged-checkout-optimization.md
- references/order-fulfillment-strategy.md
- references/payment-flow-integration.md
FAQ
Что делает скилл ecommerce-checkout-cart?
Use when the user asks about a shopping cart, checkout flow, cart abandonment, guest checkout, order state machine, coupon or discount engine, tax calculation or shipping rates. Produces cart, checkout and order designs with conversion fixes. Not for payment gateway integration (use ecommerce-payment-processing) or headless storefronts (use headless-ecommerce).
Как установить скилл ecommerce-checkout-cart?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ecommerce-checkout-cart запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…