gameconfig 配置管理工具

Load Excel/CSV game configurations with schema migration and mock data generation.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/wangtengda0310/prompt --skill gameconfig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameconfig 配置管理工具
Source: https://github.com/wangtengda0310/prompt/tree/main/skills/gameconfig
Command: npx skills add https://github.com/wangtengda0310/prompt --skill gameconfig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

简化游戏配置管理:支持 Excel/CSV 双模式加载、Mock 数据、条件字段和 Schema 迁移。

Core Features & Use Cases

  • 加载模式选项(ModeAuto/ModeExcel/ModeCSV/ModeMemory)
  • Excel/CSV 解析与结构体映射,及 Mock 数据生成
  • 条件字段支持与 Schema 迁移
  • 热重载与变更监听

Quick Start

直接在对话中提及 gameconfig 相关需求,由 AI 按 SKILL.md 指南加载配置并执行相应操作。

Frequently Asked Questions about gameconfig 配置管理工具

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

FAQPage Schema
How do I load game configurations from both Excel and CSV files in a Go pipeline?

You can load game configurations from Excel and CSV files using a Go-based loader with mode options like ModeAuto, ModeExcel, ModeCSV, and ModeMemory to automate parsing and struct mapping.

What is hot-reload support for game config and how does a watcher work?

Hot-reload support for game config automatically refreshes loaded data at runtime via a pluggable watcher that monitors file changes, triggering validation hooks and updating struct mappings without restarting the application.

How do I generate mock data for game configurations during development?

To generate mock data for game configurations, the tool parses Excel or CSV schema definitions and creates mock data entries automatically, ensuring your conditional fields and struct tags are validated during development.

Can I use conditional fields and schema migration for game config validation?

Yes, you can use conditional fields and schema migration for game config validation by applying struct tagging and validation hooks to ensure safe schema transitions when configurations defined in Excel or CSV evolve.

Does the game config loader support automatic schema migration for Excel files?

Yes, the game config loader supports automatic schema migration for Excel files by applying validation hooks and struct tagging to safely transition configurations when conditional fields or column structures change.

Why does my CSV game config parsing fail when switching to memory mode?

CSV game config parsing in ModeMemory bypasses direct file I/O, requiring pre-loaded mock data or in-memory structs; if struct tags or conditional fields are mismatched, validation hooks will reject the schema migration.