Ecommerce

Build and operate online stores with payment security, inventory management, marketplace integration, and conversion optimization.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Ecommerce" with this command: npx skills add ivangdavila/ecommerce

Quick Reference

TopicFile
Code traps that break productioncode-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 conditionsUPDATE ... 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

  • Calculate ALL prices server-side — discounts, shipping, taxes, totals
  • Queue transactional emails — never inline in checkout flow
  • Add structured data (Schema.org Product) and canonical URLs from day one
  • Implement webhook signature verification before going live

When Operating Stores

  • Monitor stock thresholds, not just zero — alert at reorder point
  • Track orders stuck in "processing" >24h — detect before customer complains
  • Log payment failures with context — card decline reasons matter for recovery

When Optimizing

  • Checkout recovery: 1h, 24h, 72h sequence — discount on email 3, not 1
  • Free shipping threshold: current AOV + 20-30%
  • Mobile: sticky add-to-cart, Apple Pay/Google Pay, LCP <2.5s

Platform Decision Tree

  • Budget <€500/mo, <100 SKUs: Shopify Basic or WooCommerce self-hosted
  • Multi-marketplace: Dedicated sync tool (not manual updates)
  • >1000 SKUs or ERP: WooCommerce/custom with PIM integration

For Spain-specific costs (IVA, OSS, carriers), see platforms.md.

Scope

This skill helps with:

  • Store architecture and payment integration
  • Inventory and order management logic
  • Marketplace listing optimization
  • Conversion rate tactics with benchmarks
  • Legal/fiscal guidance for EU/Spain ecommerce

This skill does NOT:

  • Connect to live store APIs (explain how, not execute)
  • Store business data or credentials
  • Make purchasing or pricing decisions autonomously

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Helps decide to ship, continue, or roll back changes from A/B test and DiD data by providing statistical analysis, decisions, and audit trails.

Registry SourceRecently Updated
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable