Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

data-importer数据导入器

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

28

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/saleor/configurator --skill data-importer

简介

协助将外部产品数据转换为 Saleor 的 config.yml 格式,支持 CSV 和 Shopify 导出。

  • 引导完成格式检测、列映射和验证流程,避免直接从头编写配置文件。
  • 优先使用 configurator-schema 设计产品类型,而非在此技能中创建。
  • 迁移过程中应保留原始数据备份,防止转换错误导致信息丢失。
  • data-importer 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Data Importer

Overview

This skill helps you convert product data from external sources (CSV files, spreadsheets, Shopify exports) into Saleor's config.yml format. It walks through format detection, column mapping, and validation before generating output.

When to Use

  • "I need to import products from a CSV"
  • "How do I convert my spreadsheet to config.yml?"
  • "I'm migrating from Shopify"
  • "I have product data in Excel"
  • "How do I bulk import products?"
  • When NOT writing config.yml from scratch -- use configurator-schema instead
  • When NOT designing product types -- use product-modeling first

Core Workflow

  1. Detect format -- CSV, Excel, JSON, or unknown
  2. Extract columns -- read headers and sample data
  3. Map interactively -- you confirm field mappings
  4. Transform -- convert to Saleor schema
  5. Validate -- check for issues before output

File Handling

Excel (.xlsx)

Excel files need conversion. Export as CSV from Excel/Sheets, or:

python3 -c "import pandas as pd; pd.read_excel('$FILE').to_csv('${FILE%.xlsx}.csv', index=False)"

CSV

Read directly to inspect headers and sample rows.

Field Mapping

Don't assume column names. The importer will:

  1. Show you all columns with sample values
  2. Ask which column maps to each Saleor field
  3. Mark unmapped columns as potential attributes

Required Fields

Saleor FieldTypical Source Columns
product.name"name", "title", or any descriptive column
product.slugGenerated from name, or "handle"/"ID" column
variant.sku"SKU", "External ID", "Code"
productType"type" column or you specify it

Optional Fields

FieldNotes
priceIf missing, imports as catalog-only
quantityIf missing, skips stock tracking
categoryFrom category/region column
descriptionIf present in source data
Other columnsBecome product attributes

Output Structure

productTypes:
  - name: "[from type column or your input]"
    productAttributes: [unmapped columns become attributes]

categories:
  - name: "[from category column]"
    slug: "[generated]"

products:
  - name: "[from name column]"
    slug: "[generated or from ID]"
    productType: "[reference]"
    variants:
      - sku: "[from SKU column]"
        channelListings: [if price exists]
        stocks: [if quantity exists]

Special Cases

  • No price column -- imports as catalog-only; add pricing later
  • No SKU column -- generates from name or uses any unique ID column
  • Unknown columns -- presented to you as potential attributes
  • Multiple rows with same product -- grouped as variants of one product

Common Mistakes

MistakeFix
Assuming column names without checkingAlways inspect headers first -- column names vary wildly between sources
Not handling missing SKUsGenerate SKUs from product name + variant attributes, or use a unique ID column
Importing without validating firstReview the generated YAML before deploying -- check for duplicates and missing fields
Duplicate products from multi-row variantsEnsure rows sharing a product name are grouped as variants, not separate products
Forgetting to create product types firstDesign your product types before importing -- use product-modeling skill

Validation Checklist

Before generating output, verify:

  • All products have names
  • All variants have unique SKUs
  • Product type references are valid
  • No duplicate slugs

Reference Files

  • references/csv-patterns.md -- CSV/Excel parsing techniques
  • references/field-mapping.md -- Mapping strategies for various data shapes
  • references/shopify-format.md -- Shopify-specific handling
  • references/transformations.md -- Data transformation rules

See Also

Related Skills

  • configurator-schema - Config.yml structure and field requirements
  • product-modeling - Product type design before importing
  • saleor-domain - Entity relationships and identifier rules

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

31.97%
按下载量换算21

Claude

27.45%
按下载量换算18

Cursor

20.59%
按下载量换算14

Gemini CLI

10.29%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills