GenshinUID 插件开发与维护指南(核心入口)
SkillCommunicationTriggers 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.
No other account needed.
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 |
| 版本更新命座/武器/圣遗物效果 JSON | update-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 API | references/03-bind-cookie-and-api.md |
| 四 | 面板、伤害与 effect JSON | references/04-enka-panel-and-effects.md |
| 五 | AI:to_ai / ai_return / @ai_tools / RAG | references/05-ai-integration.md |
| 六 | 配置、订阅、启动、帮助 | references/06-config-database-lifecycle.md |
| 七 | 渲染与资源路径 | references/07-rendering-and-resources.md |
| 八 | 坑点与代码规范 | references/08-pitfalls-and-conventions.md |
推荐阅读顺序
关键概念速记
- 前缀
gs;运行时PREFIX = get_plugin_available_prefix("GenshinUID")。 - 绑定
GsBind(框架表),CookieGsUser。本插件无自己的 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