·adding-mod-parsers
</>

adding-mod-parsers

aclinia/torchlight-of-building

添加新的 Mod 解析器以将游戏 Mod 字符串转换为类型化 Mod 对象时使用 - 指导基于模板的解析模式(项目)

7安装·2热度·@aclinia

安装

$npx skills add https://github.com/aclinia/torchlight-of-building --skill adding-mod-parsers

SKILL.md

The mod parser converts raw mod strings (e.g., "+10% all stats") into typed Mod objects used by the calculation engine. It uses a template-based system for pattern matching.

| Mod type definitions | src/tli/mod.ts | | Parser templates | src/tli/mod-parser/templates.ts | | Enum registrations | src/tli/mod-parser/enums.ts | | Calculation handlers | src/tli/calcs/offense.ts | | Tests | src/tli/mod-parser.test.ts |

Look in src/tli/mod.ts under ModDefinitions. If the mod type doesn't exist, add it:

添加新的 Mod 解析器以将游戏 Mod 字符串转换为类型化 Mod 对象时使用 - 指导基于模板的解析模式(项目) 来源:aclinia/torchlight-of-building。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/aclinia/torchlight-of-building --skill adding-mod-parsers
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 adding-mod-parsers?

添加新的 Mod 解析器以将游戏 Mod 字符串转换为类型化 Mod 对象时使用 - 指导基于模板的解析模式(项目) 来源:aclinia/torchlight-of-building。

如何安装 adding-mod-parsers?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aclinia/torchlight-of-building --skill adding-mod-parsers 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/aclinia/torchlight-of-building

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01