sdv-data-validation

Validate Stardew Valley mod save and config schemas for data integrity.

2|Updated Aug 23, 2022
One-click install
npx skills add https://github.com/liminalwarmth/StardewOutfitManager --skill sdv-data-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdv-data-validation
Source: https://github.com/liminalwarmth/StardewOutfitManager/tree/main/.claude/skills/sdv-data-validation
Command: npx skills add https://github.com/liminalwarmth/StardewOutfitManager --skill sdv-data-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps mod developers prevent data persistence regressions by validating FavoritesData, ModConfig, and modData conventions, ensuring data integrity across saves and migrations.

Core Features & Use Cases

  • Validates FavoritesData schemas and their item references to prevent mismatches between IDs, colors, and metadata.
  • Provides migration guidance and tooling patterns to adapt data structures across mod versions.
  • Enforces data-conformance checks before committing changes that touch persistence layers.

Quick Start

Validate your mod's data structures before release by running the data-validation checks on your current save and config schemas.

Frequently Asked Questions about sdv-data-validation

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

FAQPage Schema
How do I validate Stardew Valley mod save data and prevent persistence regressions?

To validate Stardew Valley mod save data and prevent regressions, run schema integrity checks on your JSON saves and config schemas to ensure consistent item references and safe migrations across mod versions.

What is the best way to handle data migration for C# Stardew Valley mods?

Data migration for C# Stardew Valley mods is handled by applying validation patterns that adapt data structures across versions, enforcing schema conformance and initializing missing dictionaries on load to safely preserve modData conventions.

When do I need to validate FavoritesModel or ModConfig schemas in Stardew Valley?

You need to validate FavoritesModel or ModConfig schemas whenever modifying data-persistence layers in Stardew Valley mods, ensuring mismatches between item IDs, colors, and metadata are caught before committing changes.

Does data validation work with JSON save formats and item references in Stardew Valley?

Yes, data validation works with JSON save formats and item references in Stardew Valley by enforcing schema integrity checks that prevent mismatches between IDs, colors, and metadata during data-persistence migrations.

Why are my Stardew Valley modData dictionaries missing after a save migration?

Missing modData dictionaries after a save migration often occur when data structures are not properly initialized on load; applying safe migration patterns and data-conformance checks initializes missing dictionaries and restores schema integrity.

Can I enforce data-conformance checks before committing changes to Stardew Valley config schemas?

Yes, you can enforce data-conformance checks before committing changes to Stardew Valley config schemas by running validation checks that target FavoritesData and ModConfig to prevent data persistence regressions.