# Build E-commerce Systems

E-commerce teams need clear models for products, carts, orders, payment, and inventory. This skill guides Claude, Codex, and Claude Code through practical architecture, checkout, compliance, and review workflows.

## Install

```bash
npx skillstore add daichihoshina/ecommerce
```

## Metadata

- Status: approved
- Slug: daichihoshina-ecommerce
- Skillstore revision: r1
- Version status: missing
- Tree hash: 081fd85dc50594ccdb6fe6d48c3b71f0f121e9ac6e0d96320b619160896a07b3
- Author: DaichiHoshina
- GitHub username: DaichiHoshina
- License: MIT
- Repository: https://github.com/DaichiHoshina/ai-tools/tree/main/claude-code/skills-archive/ecommerce
- Ref: 34f316ba14ef36c7a620fc09f2676d2429997a77
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 79
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/daichihoshina-ecommerce
- Manifest: https://skillstore.pages.dev/api/skills/daichihoshina-ecommerce/manifest

## Capabilities

- Defines product, variant, cart, order, customer, and payment entities.
- Maps order and inventory state transitions for checkout planning.
- Provides requirements checklists for catalog, cart, payment, customer, and legal pages.
- Shows optimistic locking guidance for stock reservation.
- Lists platform options for Shopify, STORES, custom payments, and search services.

## Use Cases

- Plan a New Store: Create core domain models, state flows, and requirements before implementation.
- Review Checkout Readiness: Check inventory reservation, payment handling, order states, and timeout behavior.
- Choose Platform Integrations: Compare Shopify, STORES, custom payment providers, and search services for a project.

## Prompt Templates

### Create a Store Checklist

```
Build a launch checklist for a small online store. Cover product management, cart behavior, payments, customer accounts, legal pages, and security basics.
```

### Design the Domain Model

```
Design the domain model for an e-commerce site. Include products, variants, carts, orders, customers, payments, inventory states, and key relationships.
```

### Review an Existing Checkout

```
Review my checkout flow for gaps. Check stock reservation, payment status handling, order confirmation, timeout release, and customer error states.
```

### Plan High-Traffic Operations

```
Plan a high-traffic inventory and payment flow. Include optimistic locking, idempotent payment callbacks, stock release rules, audit logging, and recovery paths.
```

## Limitations

- Does not provide a complete production implementation.
- Does not replace legal, tax, or PCI DSS expert review.
- Requires adaptation to the chosen framework, database, and payment provider.
- External platform details should be checked against current vendor documentation.

## Best Practices

- Use optimistic locking or equivalent safeguards for stock reservation.
- Make payment callbacks idempotent to handle duplicate provider events.
- Keep card data outside the application by using trusted payment providers.

## Anti Patterns

- Do not hold cart inventory forever without timeout release.
- Do not store raw credit card numbers in the application database.
- Do not combine every checkout step into one unrecoverable transaction.

## Security Audit

- Audited at: 2026-07-06T09:48:17.746\+00:00
- Summary: No evidence found of command execution, system reconnaissance, obfuscation, malicious networking, or prompt injection. All static findings are false positives from Markdown fences, sample API routes, a public documentation URL, and Unicode-rich Japanese content. The skill provides e-commerce design guidance only.

## Stats

- Views: 165
- Downloads: 9
- Favorites: 0
- Popularity score: 0
