fvtt-version-compat
CommunityBridge Foundry API changes with wrappers.
Software Engineering#compatibility#FoundryVTT#API-migration#sheet-registration#template-loading#HTML-enrichment
AuthorImproperSubset
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides compatibility wrappers to migrate Foundry V12/V13/V15+ code away from deprecated globals to modern namespaces, enabling safe cross-version development and maintenance.
Core Features & Use Cases
- Compatibility wrappers for Foundry APIs moved to namespaces (ActorSheet, ItemSheet, TextEditor, and more).
- Deferred sheet registration using the DocumentSheetConfig to support V13+ and V15+ workflows.
- Cross-version template loading and HTML enrichment with a unified approach.
- Clear guidance and patterns for caching lookups and safe fallbacks to ensure stable modules across Foundry versions.
Quick Start
- Set up the compat wrappers described in scripts/compat.js and scripts/compat-helpers.js.
- Obtain the appropriate base class with getActorSheetClass() and extend it for your actor sheets.
- Register sheets in the ready hook using registerActorSheet and registerItemSheet.
- Preload templates with loadHandlebarsTemplates and render them via the modern API.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: fvtt-version-compat Download link: https://github.com/ImproperSubset/hh-agentics/archive/main.zip#fvtt-version-compat Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.