hero-vtt-technical-architecture

Installation
SKILL.md

hero-vtt-technical-architecture

Purpose

Generate production Hero Virtual Tabletop modules using the architecture fixed in inputs/architecture-reference.md — organizing by feature folder, enforcing strict layer purity (Presentation → Domain → COH Integration interfaces), and following the three mechanism patterns the reference defines.

This skill produces real, runnable C# files. Code is co-located by feature (Module.HeroVirtualTabletop/{Feature}/). ViewModels are thin binding adapters. Domain classes hold all business rules and call game operations only through injected interfaces. Every concrete COH type lives exclusively in Library/GameCommunicator/ or Library/ProcessCommunicator/.

When to use this skill

Load this skill when any of the following apply:

  • You are adding a new feature and need the architecture-prescribed folder structure and file set.
  • You are adding a domain class and need the constructor injection pattern wired up correctly.
  • You are writing a ViewModel and need to confirm it stays thin — commands delegate, properties bind direct.
  • You are reviewing a PR for architecture compliance against the reference's principles.
  • You are refactoring a fat ViewModel (like RosterExplorerViewModel) toward the Skinny ViewModel pattern.
  • You are adding a test and need to know which tier it belongs to and which doubles to use.

Installs
1
First Seen
May 19, 2026