ecommerce-patterns

Featured

E-commerce: cart, checkout, payments (Stripe/Adyen), order state, inventory, promos, tax. Triggers: cart, checkout, SKU, payment, Stripe, Shopify, Medusa, Magento, coupon, refund.

AI & Automation 161 stars 21 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# E-commerce Patterns Skill ## Platform Selection | Scenario | Platform | |----------|----------| | Enterprise B2B | OroCommerce | | Enterprise B2C | Magento 2 | | Mid-market | Shopify Plus | | Small business | WooCommerce, PrestaShop | | Custom/Headless | Medusa, Saleor | --- ## Magento 2 Patterns ### Module Structure ``` app/code/Vendor/Module/ ├── Api/ │ └── Data/ │ └── EntityInterface.php ├── Block/ ├── Controller/ │ └── Index/ │ └── Index.php ├── etc/ │ ├── module.xml │ ├── di.xml │ ├── routes.xml │ └── frontend/ ├── Model/ │ └── ResourceModel/ ├── Setup/ ├── view/ │ └── frontend/ │ ├── layout/ │ └── templates/ ├── registration.php └── composer.json ``` ### Dependency Injection ```xml <!-- etc/di.xml --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Vendor\Module\Api\ServiceInterface" type="Vendor\Module\Model\Service"/> <type name="Vendor\Module\Model\Service"> <arguments> <argument name="logger" xsi:type="object">Psr\Log\LoggerInterface</argument> </arguments> </type> </config> ``` ### GraphQL ```graphql type Query { customProducts( search: String pageSize: Int = 20 currentPage: Int = 1 ): CustomProductOutput @resolver(class: "Vendor\\Module\\Model\\Resolver\\Products") } ``` --- ## Cart & Checkout Patterns ### Cart State Machine ``` ...

Details

Author
softspark
Repository
softspark/ai-toolkit
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ecommerce-engineer

Use when building, reviewing, or operating online stores, storefronts, catalogs, carts, checkouts, inventory, order management, fulfillment, returns, and promotions. Covers product / variant / SKU modeling, PIM, external identifiers (GTIN, EAN, MPN), cart and checkout flows, pricing and promotion rule engines, tax (Avalara, TaxJar, Stripe Tax), shipping rates, OMS, ATP and reservations, RMA, fraud and chargeback workflows, peak readiness (Black Friday, drops, flash sales), and platform choice (Shopify, BigCommerce, commercetools, Magento, Adobe Commerce, headless on Next.js). Triggers: ecommerce, store, storefront, catalog, PIM, SKU, GTIN, cart, checkout, conversion, abandoned cart, shipping, fulfillment, OMS, inventory, ATP, returns, RMA, refund, promotion, discount, coupon, gift card, BNPL, Black Friday, fraud, chargeback, Shopify, BigCommerce, headless commerce. Produces catalog schemas, checkout sequences, order state machines. Not for regulated money movement or PCI scope, see fintech-engineer.

0 Updated 1 weeks ago
iamdemetris
AI & Automation Solid

api-commerce-stripe

Stripe payment processing — Checkout Sessions, Payment Intents, subscriptions, webhooks, Connect, customer management, error handling

18 Updated 1 weeks ago
agents-inc
AI & Automation Listed

ecommerce-creative-system

Build product-forward creative patterns reusable across ad platforms — product hero shots, lifestyle imagery, comparison/demo formats, and catalog-scale creative systems. Triggers on 'ecommerce ad creative', 'product photography for ads', 'creative system for my catalog', or 'how should I show this product across platforms'. Cross-platform ecommerce creative patterns feeding platform-specific execution.

0 Updated 1 weeks ago
gmmh1