sharedlibrary-invariants

Enforce protocol compatibility and authority boundaries in ArenaMMO SharedLibrary.

Updated May 27, 2026
One-click install
npx skills add https://github.com/KingAlastor/ArenaMMO --skill sharedlibrary-invariants
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharedlibrary-invariants
Source: https://github.com/KingAlastor/ArenaMMO/tree/main/.github/skills/sharedlibrary-invariants
Command: npx skills add https://github.com/KingAlastor/ArenaMMO --skill sharedlibrary-invariants

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enforces protocol compatibility and authority boundaries in ArenaMMO's SharedLibrary, preserving critical shared contracts and ensuring consistent game logic across the Unity client and server components.

Core Features & Use Cases

  • Protocol Compatibility: Manages protocol evolution rules for packets, enums, and data structures.
  • Authority Boundaries: Enforces that server remains authoritative in shared combat and state management.
  • Use Case: When editing the SharedLibrary, this Skill helps developers adhere to guidelines that prevent breaking changes and ensure both the Unity client and server operate as expected.

Quick Start

Utilize the sharedlibrary-invariants skill before modifying the SharedLibrary code in ArenaMMO.

Frequently Asked Questions about sharedlibrary-invariants

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

FAQPage Schema
How do I prevent breaking changes when modifying shared library protocols in a multiplayer game?

To prevent breaking changes when modifying shared library protocols, enforce protocol compatibility rules for packets and enums to ensure the Unity client and server operate consistently without violating established contracts.

What is server authority in shared game combat logic and how is it enforced?

Server authority in shared game combat logic means the server remains the authoritative source for state management. It is enforced by applying boundary checks to shared code to prevent introducing client-side authority.

How do I manage protocol compatibility for game networking packets and enums?

To manage protocol compatibility for game networking packets and enums, apply evolution rules to data structures before modifying shared library code, ensuring both the Unity client and server components maintain consistent game logic.

Does this shared library invariant checker work with Unity client and server components?

Yes, this shared library invariant checker works with Unity client and server components by preserving critical shared contracts and ensuring consistent game logic across both components during SharedLibrary modifications.

Why does my game client have authority over combat state when using a shared library?

If your game client has authority over combat state, the shared library code lacks proper boundary enforcement. You need to apply invariant checks to ensure the server remains authoritative in shared combat and state management.

When do I need to run protocol compatibility checks on shared game logic?

You need to run protocol compatibility checks on shared game logic before modifying the SharedLibrary code, ensuring that packet definitions and shared enums do not violate established game rules or introduce breaking changes.