← 返回
安全合规

Ecommerce

Build and operate online stores with payment security, inventory management, marketplace integration, and conversion optimization.
构建并运营网店,具备支付安全、库存管理、市场整合及转化优化功能。
ivangdavila
安全合规 clawhub v1.0.0 1 版本 98416.7 Key: 无需
★ 11
Stars
📥 5,312
下载
💾 137
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,081
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,592
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,687