adding-mod-parsers

Community

Extend mod parsers with template-based patterns.

Authoraclinia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers convert raw mod strings (e.g., "+10% all stats") into typed Mod objects that the calculation engine can use, ensuring type safety and consistent parsing.

Core Features & Use Cases

  • Template-based parsing patterns guide the pattern matching for mod strings.
  • Guidance across project locations: mod type definitions, parser templates, enum mappings, calculation handlers, and tests.
  • Use Case: Add support for a new mod string pattern or a new mod type and verify the implementation with existing tests.

Quick Start

Follow the checklist to add a new mod parser by updating templates.ts, mod.ts, enums.ts, and offense.ts, then run tests.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: adding-mod-parsers
Download link: https://github.com/aclinia/torchlight-of-building/archive/main.zip#adding-mod-parsers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.