genshin-data-generator

Process Genshin data into AI-ready data.json configurations.

72|8|Updated Apr 30, 2022
One-click install
npx skills add https://github.com/Kurarion/Genshin-Calc --skill genshin-data-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genshin-data-generator
Source: https://github.com/Kurarion/Genshin-Calc/tree/main/.claude/skills/genshin-data-generator
Command: npx skills add https://github.com/Kurarion/Genshin-Calc --skill genshin-data-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, go, and includes scripts (resource) and references (resource) components.

What problem does it solve?

该工具简化原神数据的提取、预处理和组织,以便AI生成数据配置。

Core Features & Use Cases

  • 数据抽取:从解包数据 avatar_map.json、weapon_map.json、reliquary_set_map.json 提取核心字段,生成小型、统一的处理格式。
  • 预处理优化:移除冗余字段(如 levelMap),显著减小数据体积并保护上下文。
  • 数据输出与校验:导出 processed_data.json、name_id_map.json,并支持按版本进行对比和导出。
  • AI 配置生成:基于 interface.ts、const.ts、calculator.service.ts 的约束,辅助 AI 生成符合规范的 data.json 配置。

Quick Start

运行数据生成流程以初始化数据并生成 data.json 草案。

Frequently Asked Questions about genshin-data-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preprocess Genshin unpacked data for AI configuration generation?

Preprocessing Genshin unpacked data for AI configuration involves running scripts to extract core fields from avatar_map.json, weapon_map.json, and reliquary_set_map.json, outputting a unified processed format and a data.json draft.

How does data preprocessing reduce Genshin data volume before generating data.json?

Data preprocessing reduces Genshin data volume by stripping redundant fields like levelMap from source files, significantly shrinking the processed output size while preserving the necessary context for AI configuration generation.

Do I need Python and Go to run the Genshin data generation scripts?

Yes, you need both Python and Go environments installed to run the Genshin data generation scripts, as these dependencies are required to orchestrate the pipeline and execute the preprocessing and exporting tasks.

Can I compare and export Genshin data across multiple versions?

Yes, you can compare and export Genshin data across multiple versions. The workflow enforces versioned outputs and supports version comparison during the export of processed_data.json and name_id_map.json files.

What is the best way to validate AI-generated data.json configurations for Genshin?

The best way to validate AI-generated data.json configurations is to use the constraints defined in interface.ts, const.ts, and calculator.service.ts, ensuring the generated outputs strictly conform to the required system specifications.