GenshinUID 插件开发与维护指南(核心入口)

SkillCommunication

Triggers this SKILL when the user asks about "maintaining/developing GenshinUID", "how to add commands to the Genshin plugin", "how to render character panels / Enka", "binding UID / Cookie", "resin notifications / check-in", "gacha records", "Abyss / Imaginarium Theater / Perilous Trail", "how to w

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the GenshinUID 插件开发与维护指南(核心入口) skill

What this skill tells your AI

The instructions your AI receives, as published by kimigaiiwuyi/genshinuid in .agents/skills/genshinuid-development/SKILL.md and read by ahel’s review.

面向本插件维护者。源码是唯一事实源。需要某专题时按表 Read 一篇 references/, 不要一次塞进上下文。改核心机制后同步对应章节。

谁该读这个 SKILL

你的任务该读的文档
改 GenshinUID 业务(命令 / 面板 / 绑定 / 出图 / AI)本 SKILL
版本更新命座/武器/圣遗物效果 JSONupdate-enka-effects
写通用 GsCore 插件Core gscore-plugin-development
改框架核心Core gscore-development
代码红线本仓库 AGENTS.md + Core 根 AGENTS.md

文档目录索引

章节主题链接
架构与模块全景references/01-architecture-and-modules.md
命令与触发器references/02-commands-and-triggers.md
UID / Cookie / 米游社 / Enka APIreferences/03-bind-cookie-and-api.md
面板、伤害与 effect JSONreferences/04-enka-panel-and-effects.md
AI:to_ai / ai_return / @ai_tools / RAGreferences/05-ai-integration.md
配置、订阅、启动、帮助references/06-config-database-lifecycle.md
渲染与资源路径references/07-rendering-and-resources.md
坑点与代码规范references/08-pitfalls-and-conventions.md

推荐阅读顺序

  1. 第一次接触:
  2. 加命令: → 需要战绩时
  3. 改面板 / 伤害:
  4. 接 AI:
  5. 动手前:

关键概念速记

  • 前缀 gs;运行时 PREFIX = get_plugin_available_prefix("GenshinUID")
  • 绑定 GsBind(框架表),Cookie GsUser。本插件无自己的 Bind 模型。
  • UID 抽取正则 \d{9}utils/convert.py::get_uid)。
  • 面板:genshinuid_enka/;无 CK 只有展柜最多 12 名。
  • 出图命令用 to_ai + 数据层 ai_return;纯文本用 genshinuid_ai_func@ai_tools
  • 知识库 utils/rag/,检索必须 plugin_filter=["GenshinUID"]
  • 配置变量名历史拼写 CONIFG_DEFAULT,不要无意义重命名。
  • 订阅任务名带 [原神],走 gs_subscribe

验证命令

# 插件根目录
uv run ruff check GenshinUID tests
uv run pytest tests -q

Signals

GitHub stars
865
Forks
108
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
genshinuid-development
Source
github.com/kimigaiiwuyi/genshinuid