modding-doc-affix-system

Define Hyforged affixes and pools with JSON schemas and API references.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Reign-software/hyforged --skill modding-doc-affix-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modding-doc-affix-system
Source: https://github.com/Reign-software/hyforged/tree/main/.github/skills/modding-doc-affix-system
Command: npx skills add https://github.com/Reign-software/hyforged --skill modding-doc-affix-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Hyforged affix system guides modders through implementing affixes, affix pools, and runtime behavior for Hyforged items, ensuring consistent design and integration with the API and modding docs.

Core Features & Use Cases

  • Step-by-step guidance for adding new affixes in Definitions, creating Pools, and wiring them to runtime services like AffixService.
  • Multi-stat and triggered-effect support, pool targeting rules, and examples for common patterns.
  • References to Modding_Doc for concepts, JSON schemas, and best practices to translate design into data and code.

Quick Start

Define a new affix in src/main/resources/Server/Hyforged/Affixes/Definitions, add it to a pool, then test rolling it onto an item.

Frequently Asked Questions about modding-doc-affix-system

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

FAQPage Schema
How do I define new affixes for game items in Hyforged?

To define new affixes in the Hyforged system, you create JSON stat definitions in the Server/Hyforged/Affixes/Definitions directory, add them to an affix pool, and wire them to the AffixService for runtime rolling onto items.

What is an affix pool and how does it work in game modding?

An affix pool is a JSON-defined collection grouping specific affixes for targeted item rolling. The Hyforged system uses these pools with targeting rules to determine which stat definitions can be randomly applied to a given item during runtime.

Can I create multi-stat and triggered-effect affixes using JSON schemas?

Yes, the Hyforged affix system supports multi-stat and triggered-effect affixes through its JSON schemas. It provides step-by-step guidance and examples for common patterns to translate these complex designs into mod data.

How do I test and debug custom affixes after creating them?

After defining an affix in the resources directory and adding it to a pool, you test it by rolling the affix onto an item. The system provides workflow guidance for testing and debugging affixes, pools, and related runtime rules.

Does the Hyforged affix system require specific frontmatter metadata for JSON definitions?

Yes, the affix system enforces frontmatter metadata and JSON schemas for all affix and pool definitions. This ensures consistent design and proper integration with the API and modding documentation when building content.

Why are my custom affixes not rolling onto items correctly?

Incorrect rolling often stems from misconfigured pool targeting rules or JSON schema validation errors. The system provides debugging guidance to check your definitions, pool wiring, and AffixService integration to resolve these runtime issues.