adding-support-mod-parsers

Convert support skill affix strings into typed SupportMod objects.

40|29|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/aclinia/torchlight-of-building --skill adding-support-mod-parsers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adding-support-mod-parsers
Source: https://github.com/aclinia/torchlight-of-building/tree/main/.claude/skills/adding-support-mod-parsers
Command: npx skills add https://github.com/aclinia/torchlight-of-building --skill adding-support-mod-parsers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Support mod parsing solves the challenge of turning human-readable support skill affixes into typed SupportMod objects that can be consumed by the calculation engine, enabling reliable runtime behavior for support skills.

Core Features & Use Cases

  • Template-driven parsing to convert support skill affixes into typed SupportMod objects.
  • Clear guidance for extending parsing logic, adding new affix patterns, and aligning with mod definitions.
  • Real-world workflow: add a new affix parser, wire it into the templates, and validate it with existing tests.

Quick Start

Follow this guide to implement a new support mod parser for a given affix pattern and validate with tests.

Frequently Asked Questions about adding-support-mod-parsers

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

FAQPage Schema
How do I parse support skill affixes into typed mod objects in TypeScript?

You parse support skill affixes by implementing parsing templates that convert raw strings into typed SupportMod objects at runtime. This template-driven approach enables reliable calculation engine consumption by validating new affix patterns against the test suite.

What is the best way to add a new affix pattern for support skill mod parsing?

Adding a new affix pattern involves implementing templates in the support-mod-templates file, adding mod type references, and validating changes using the parseSupportAffix workflow against the test suite to ensure correct SupportMod object generation.

Why do I need typed SupportMod objects for game calculation engines?

Typed SupportMod objects are needed because they provide reliable runtime behavior for support skills within the calculation engine. Converting human-readable affix strings into structured types ensures the engine processes support skill modifiers consistently and without errors.

Can I extend support mod parsing templates without breaking existing game calculations?

You can extend support mod parsing templates safely by validating changes against the project's test suite. Adding new affix patterns and mod type references requires running the parseSupportAffix workflow to ensure existing SupportMod object generation remains intact.

How do you validate new mod definitions when extending support skill templates?

You validate new mod definitions by running the parseSupportAffix workflow against the existing test suite after implementing the new templates. This confirms raw support skill affix strings accurately convert into expected typed SupportMod objects for the calculation engine.

What are the limitations of template-driven affix parsing for support skills?

Template-driven affix parsing is limited by its reliance on predefined patterns; unrecognized support skill affix strings will not convert into typed SupportMod objects without manually adding the corresponding parsing logic and mod type references.