Token导航 LogoToken导航

Agent Skill · 开发

ecommerce-data-warehouse(电子商务数据仓库)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

ecommerce-data-warehouse 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 16,500。

总安装 494周安装 20GitHub Stars 19下载 155核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ecommerce-data-warehouse(电子商务数据仓库)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/ecommerce-data-warehouse
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ecommerce-data-warehouse
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ecommerce-data-warehouse

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

整合店铺、广告、物流与财务数据的中央仓库,突破单平台分析局限。适用于 ROAS 测算、归因分析与自定义 cohort 研究,需 SQL 级别访问权限。支持从 Shopify、Google Ads 等源头抽取数据,构建统一事实源。涉及敏感信息时应实施脱敏与权限隔离,防止数据滥用或越权访问。

ecommerce-data-warehouse 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/ecommerce-data-warehouse

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill eco…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ecommerce-data-warehouse 怎么安装?

在终端执行 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ecommerce-dat…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ecommerce-data-warehouse 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ecommerce-data-warehouse 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ecommerce-data-warehouse 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

ecommerce-data-warehouse 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ecommerce-data-warehouse 用的人多吗?

公开数据是累计安装 494 次,近一周安装 20 次,下载 155 次,GitHub 19 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ecommerce-data-warehouse 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
ecommerce-data-warehouse

电子商务数据仓库 · 本页

49419执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

E-commerce Data Warehouse

Overview

An ecommerce data warehouse centralizes data from your store, ad platforms, shipping carriers, and accounting system into a single analytics layer — enabling reports that no single platform can produce on its own. Most merchants start needing a warehouse when they outgrow their platform's built-in analytics (typically around $1M+ ARR or when managing multiple channels), want to combine ad spend with order data for true ROAS, or need SQL-level access to run custom cohort and attribution analyses.

This skill guides you through extracting data from your platform, loading it into BigQuery (recommended for cost), and transforming it with dbt so your team can build dashboards in Looker Studio, Metabase, or Tableau.

When to Use This Skill

  • When your platform's built-in analytics cannot answer important business questions
  • When you need to combine data from multiple sources (Shopify + Meta Ads + Google Ads + shipping)
  • When you want to build custom cohort retention, LTV, and attribution models
  • When analysts or data scientists need SQL access to raw order data
  • When you need a single source of truth across multiple sales channels

Core Instructions

Step 1: Choose your warehouse and set up the infrastructure

For most ecommerce merchants, BigQuery is the best starting point:

  • Free tier: first 10 GB storage + 1 TB queries per month free
  • No infrastructure to manage — serverless
  • Excellent integrations with Looker Studio (free BI tool), dbt, and every major data integration tool

Alternatives:

  • Snowflake: Better for teams that need time-travel, data sharing, or advanced concurrency; more expensive at small scale
  • Redshift: Good if you are already in AWS; more operational overhead than BigQuery or Snowflake

Set up BigQuery:

  1. Go to console.cloud.google.com and create a new Google Cloud project
  2. Enable the BigQuery API
  3. Create a dataset (e.g., ecommerce_raw) for raw ingested data and a second dataset (ecommerce_analytics) for transformed tables

Step 2: Extract data from your ecommerce platform

The easiest way to get platform data into BigQuery is a managed connector. Avoid building custom extractors unless you have a specific requirement.


Shopify

Option A: Fivetran (recommended, $$$)

  1. Sign up at fivetran.com
  2. Add the Shopify connector — enter your shop URL and grant API access
  3. Fivetran syncs orders, customers, products, inventory, and financial data incrementally to BigQuery
  4. Pre-built dbt package: dbt-fivetran/shopify — provides staging and mart models out of the box

Option B: Stitch (mid-price)

  1. Sign up at stitchdata.com
  2. Add the Shopify integration — select tables to sync (orders, order_line_items, customers, products)
  3. Stitch loads raw data to BigQuery; you transform with dbt

Option C: Shopify's native data export (free, manual)

  1. Go to Analytics → Reports → [any report] and click Export — available for orders, customers, products
  2. For bulk data: Go to Settings → Bulk operations or use the Shopify Admin API bulk query to export all data as JSONL
  3. Load JSONL files to BigQuery using bq load CLI command or Google Cloud Storage

Option D: Polar Analytics (simplest, all-in-one)

  • Install Polar Analytics from the Shopify App Store — it connects Shopify + all ad platforms + shipping and provides a pre-built BigQuery export with a standard schema; skip building the pipeline yourself

WooCommerce

Option A: Stitch or Airbyte

  1. Stitch: Does not have a native WooCommerce connector; use their MySQL connector to connect directly to your WordPress database
  2. Airbyte (open source, self-hosted): Has a WooCommerce connector; run on a $20/month VM or use Airbyte Cloud

Option B: Direct MySQL replication WooCommerce stores all data in MySQL. For a technical team:

  1. Enable binary log replication on your MySQL instance
  2. Use Debezium or Airbyte's MySQL CDC connector to stream changes to BigQuery
  3. This requires DevOps expertise but provides the most real-time data

Option C: Metorik export

  1. Use Metorik to pull and transform WooCommerce data into clean CSVs
  2. Schedule CSV exports and load to BigQuery via Cloud Functions or a simple Google Apps Script

BigCommerce

Option A: Fivetran BigCommerce connector

  • BigCommerce is available as a Fivetran source; set up the same way as Shopify

Option B: BigCommerce Data Solutions

  • BigCommerce offers a native Insights product (available on higher-tier plans) that provides pre-built analytics; check if this meets your needs before building a warehouse

Option C: Stitch BigCommerce connector

  • Available in Stitch; syncs orders, customers, and products to BigQuery

Step 3: Install and configure dbt

dbt (data build tool) transforms raw ingested data into clean analytics-ready tables using SQL. It handles dependency management, testing, and documentation.

Install dbt:

pip install dbt-bigquery  # for BigQuery
# or: pip install dbt-snowflake / dbt-redshift

Initialize a project:

dbt init ecommerce_analytics
cd ecommerce_analytics

Configure your profile in ~/.dbt/profiles.yml (points to your BigQuery project).

Step 4: Build dbt models for your ecommerce data

If using Fivetran + Shopify, install the pre-built Shopify dbt package:

# packages.yml
packages:
  - package: fivetran/shopify
    version: [">=0.10.0", "<0.11.0"]

Run dbt deps to install, then dbt run to build all models.

For other platforms or custom schemas, build models in this three-layer pattern:

Staging layer — clean raw data, no business logic:

-- models/staging/stg_orders.sql
with source as (select * from {{ source('shopify_raw', 'order') }}),
renamed as (
    select
        id::varchar as order_id,
        name as order_number,
        customer_id::varchar as customer_id,
        email,
        financial_status,
        fulfillment_status,
        total_price::numeric(12,2) as total_price,
        subtotal_price::numeric(12,2) as subtotal_price,
        total_discounts::numeric(10,2) as total_discounts,
        currency,
        source_name as channel,
        created_at as ordered_at
    from source
    where _fivetran_deleted = false
)
select * from renamed

Mart layer — business-ready tables for dashboards:

-- models/marts/fct_orders.sql
with orders as (select * from {{ ref('stg_orders') }}),
customers as (select * from {{ ref('stg_customers') }}),
first_orders as (
    select customer_id, min(ordered_at) as first_order_at
    from orders group by 1
)
select
    o.order_id,
    o.order_number,
    o.customer_id,
    o.ordered_at,
    o.total_price,
    o.subtotal_price,
    o.total_discounts,
    o.channel,
    o.ordered_at = fo.first_order_at as is_first_order,
    date_trunc(o.ordered_at, month) as order_month
from orders o
left join first_orders fo on o.customer_id = fo.customer_id
where o.financial_status not in ('voided', 'pending')

Step 5: Add data quality tests

Add tests in your schema YAML files so broken pipelines are caught before they reach dashboards:

# models/marts/schema.yml
models:
  - name: fct_orders
    columns:
      - name: order_id
        tests: [unique, not_null]
      - name: total_price
        tests:
          - not_null
          - dbt_utils.accepted_range:
              min_value: 0

Run tests: dbt test

Step 6: Connect a BI tool to your warehouse

Once data is in BigQuery, connect a visualization layer:

  • Google Looker Studio (free): Go to lookerstudio.google.com → Add data source → BigQuery → select your project and tables; build dashboards with drag-and-drop
  • Metabase (open source, self-hosted): Install on a $10/month VM; connect to BigQuery; lets non-technical users browse data and build charts with a GUI
  • Tableau, Looker, Power BI: Standard enterprise options; Looker is the most powerful for ecommerce analytics but has significant cost and setup overhead

Best Practices

  • Start with managed connectors, not custom code — Fivetran or Stitch cost $200–$500/month but save 40+ engineering hours; the breakeven is fast unless you have a very low traffic store
  • Use the dbt Shopify package if you are on Shopify + Fivetran — it provides production-quality models for 15+ commonly needed tables out of the box; no need to reinvent
  • Implement Slowly Changing Dimensions (SCD Type 2) for products and customers — track historical changes so you can analyze orders with the attributes that were true at the time of purchase
  • Build a date dimension table — pre-populate with a full calendar including fiscal periods, holidays, and week numbers; every fact table should join to it
  • Add dbt tests before connecting dashboards — uniqueness, not-null, and referential integrity tests catch data pipeline failures before they produce wrong numbers in reports
  • Separate staging, intermediate, and mart layers — staging cleans raw data, intermediate models join and enrich, marts are the final analytics-ready tables your BI tool queries

Common Pitfalls

ProblemSolution
Revenue in warehouse does not match platform analyticsVerify currency handling (cents vs. dollars), discount application order, and tax inclusion/exclusion; build a daily reconciliation check that compares warehouse totals to platform API totals
Historical product prices not capturedImplement SCD Type 2 on the product dimension and join fact tables to the product row that was current at the time of the order
ETL fails mid-run leaving partial dataUse dbt's on_schema_change: sync_all_columns and atomic table swaps; for incremental models, configure a unique_key to handle re-runs idempotently
Dashboard queries are too slowPre-aggregate in daily summary fact tables; partition large tables by date in BigQuery; avoid running heavy SQL on load
Customer identity not resolved across channelsBuild a customer identity resolution table that maps email, phone, and platform-specific IDs to a single canonical customer key

Related Skills

  • @attribution-modeling
  • @customer-analytics
  • @sales-reporting-dashboard
  • @product-analytics

平台分布

Codex

40.27%
按下载量换算62

Claude

29.48%
按下载量换算46

Cursor

18.03%
按下载量换算28

Gemini CLI

9.16%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill ecommerce-data-warehouse 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills