Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计通过

generate-import-template-data生成导入模板数据

Agent Skill

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

总安装

2,493

周安装

106

GitHub Stars

公开资料未说明

下载量

873
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:generate-import-template-data(生成导入模板数据)
来源仓库:https://github.com/huahuaweiwei/generate-import-template-data
安装命令:
openclaw skills install generate-import-template-data
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install generate-import-template-data

简介

根据业务场景从 Excel/CSV 模板生成可导入的数据。

  • 适用于系统集成、数据迁移与批量录入任务。
  • 需用户提供原始模板与字段说明以确保数据一致性。
  • 生成后应人工校验避免字段错位或逻辑错误。
  • generate-import-template-data 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
generate-import-template-data
description
Generate import-ready data from user-provided Excel or CSV import templates based on the customer's described business scenario. Use when Codex receives an uploaded template, workbook, or CSV and the user asks to generate, fill, mock, fabricate, prepare, or output corresponding template data, sample rows, initialization data, test data, or import content. This skill must be used whenever the user uploads a template and requests corresponding template data generation.

Generate Import Template Data

Generate data that can be pasted into or saved as the user's import template while preserving the template's actual column names, order, sheet choice, and business meaning.

Workflow

  1. Inspect the uploaded template before generating any data.

For .xlsx, .xlsm, .csv, or .tsv, run scripts/inspect_template.py to identify candidate sheets, header rows, and sample structure.

  1. Identify the true import target.

Prefer the sheet that contains business headers over instruction sheets such as 填表说明, 字段说明, 模板说明, 数据字典, or 示例.

  1. Extract the scenario requirements from the user request.

Capture the business entity, row count, edge cases, required statuses, date ranges, amounts, codes, and whether the user wants realistic data, extreme test data, or minimum valid data.

  1. Map the scenario to columns conservatively.

Use explicit template names and nearby notes. If a field meaning is ambiguous, state the assumption instead of fabricating hidden business logic.

  1. Generate import-ready rows.

Keep the exact column order. Do not add extra columns. Respect apparent code formats, identifier lengths, enum-like values, and date formats already shown by the template.

  1. Validate before returning.

Re-check that every generated row aligns with the header set, obvious formatting expectations, and any instruction-sheet constraints visible in the workbook.

Generation Rules

  • Preserve the original header text exactly.
  • Preserve the target sheet name when returning workbook-oriented results.
  • Prefer realistic data that matches the user's described customer scene instead of generic placeholders.
  • If the template includes examples, mimic their format but do not duplicate values blindly.
  • If the workbook contains instruction sheets, read them before generating data.
  • If the user requests "template data" without row count, default to 10 rows unless the template clearly implies a smaller fixed sample.
  • If the request is for a single scenario, keep all rows internally consistent with that scenario.
  • If the request is for testing coverage, include a balanced set of normal rows plus a small number of boundary rows only when the user asked for them.
  • Do not invent mandatory codes, dictionaries, or foreign keys when the template suggests an external source is required. In that case, either ask for the missing mapping or clearly label the assumption.

Output Style

  • Prefer returning a Markdown table only for very small outputs.
  • Prefer fenced csv blocks for tabular data the user can copy directly.
  • When working with a spreadsheet file in the workspace, write the generated rows into a new output file instead of overwriting the original template unless the user asked for in-place filling.
  • Briefly state the chosen sheet, detected headers, row count, and any assumptions that materially affect import success.

Template Inspection

Run:

python scripts/inspect_template.py --input <template-file>

Optional flags:

  • --sheet <name> to inspect one Excel sheet
  • --json to print compact machine-readable output

Use the script output to confirm:

  • candidate import sheet
  • detected header row
  • exact header names
  • sample rows or preview cells

Ambiguity Handling

  • If the scenario is missing, ask only for the minimum business details needed to generate rows that are not meaningless.
  • If multiple sheets look importable, say which one you chose and why.
  • If a field cannot be inferred safely, keep the assumption explicit in the final answer.
  • If the template appears to require strict validation rules, read references/generation-guidelines.md and tighten the output accordingly.

References

  • Read references/generation-guidelines.md for scenario-to-field mapping guidance and common output checks.
  • Run scripts/inspect_template.py before generating data from a new template structure.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

77.73%
按下载量换算679

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills