Ecommerce
by @ivangdavila
Build and operate online stores with payment security, inventory management, marketplace integration, and conversion optimization.
clawhub install ecommerceπ About This Skill
name: Ecommerce slug: ecommerce version: 1.0.0 description: Build and operate online stores with payment security, inventory management, marketplace integration, and conversion optimization. metadata: {"clawdbot":{"emoji":"π","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
Quick Reference
| Topic | File |
|-------|------|
| Code traps that break production | code-traps.md |
| Platform comparison (costs, features) | platforms.md |
| Operations (stock, shipping, returns) | operations.md |
| Growth (CRO, upsells, LTV, benchmarks) | growth.md |
Critical Code Traps
These break production and cost real money. See code-traps.md for full patterns.
1. Payment idempotency β Store payment_intent_id, check before processing. Webhooks retry.
2. Inventory race conditions β UPDATE ... WHERE stock > 0 with rowsAffected check, not read-then-write.
3. Frontend price trust β Backend recalculates everything. Never trust client totals.
4. Webhook signatures β Verify stripe-signature or equivalent. Reject unsigned requests.
5. Stock validation timing β Verify at payment moment, not just add-to-cart.
Core Rules
When Building Stores
When Operating Stores
When Optimizing
Platform Decision Tree
For Spain-specific costs (IVA, OSS, carriers), see platforms.md.
Scope
This skill helps with:
This skill does NOT: