new-migration

Guide registry data migrations for JellyRock Roku app settings.

37|2|Updated Jun 28, 2025
One-click install
npx skills add https://github.com/jellyrock/jellyrock --skill new-migration-jellyrock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-migration
Source: https://github.com/jellyrock/jellyrock/tree/main/.claude/skills/new-migration
Command: npx skills add https://github.com/jellyrock/jellyrock --skill new-migration-jellyrock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When JellyRock Roku app settings are renamed, removed, or have their data shape modified, existing user registry data becomes incompatible, leading to broken functionality, lost user preferences, or runtime errors. This skill eliminates that risk by providing a step-by-step guided workflow to write, test, and verify safe, backward-compatible registry migrations.

Core Features & Use Cases

  • Scope Selection Guidance: Helps you pick the correct migration loop (global or user) based on where your setting is stored.
  • End-to-End Workflow: Walks you through version numbering, migration function implementation, runner registration, downstream code updates, integration test creation, and hardware verification.
  • Edge Case Handling: Includes guardrails for partial migrations, missing registry keys, and common pitfalls to avoid breaking existing user data.
  • Use Case: For example, if you rename the autoplay setting to playbackAutoplayEnabled, this skill guides you through transferring existing user values to the new key, updating all code references, and testing the change on real Roku hardware to ensure no user data is lost.

Quick Start

Use the new-migration skill to create and verify a registry migration for renaming the existing audioVolume setting to split it into separate main and surround volume keys, then update all downstream code to use the new key names.

Frequently Asked Questions about new-migration

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

FAQPage Schema
How do I handle Roku BrightScript registry data incompatibility when renaming settings?

Roku BrightScript registry data incompatibility is handled by writing a backward-compatible migration that transfers existing user values to the new registry keys. This preserves user preferences and prevents runtime errors from missing or mismatched keys during setting updates.

What's the best way to migrate Roku app settings without losing existing user preferences?

Migrating Roku app settings without losing user preferences requires an end-to-end workflow covering version numbering, migration function implementation, runner registration, and downstream code updates. This ensures backward-compatible setting changes that prevent broken functionality and preserve existing registry data.

When do I need a registry migration for JellyRock Roku app settings?

A registry migration is needed when JellyRock Roku app settings are renamed, removed, or have their data shape modified. Without a migration, existing user registry data becomes incompatible, leading to broken functionality, lost user preferences, or runtime errors from missing registry keys.

How do I create integration tests for Roku registry migrations?

Creating integration tests for Roku registry migrations involves following a guided workflow that includes scope selection, version numbering, function implementation, and hardware verification. This process ensures your migration handles edge cases like partial migrations and missing registry keys correctly.

Can I split a single Roku registry setting into multiple keys without breaking existing user data?

Yes, you can split a single Roku registry setting into multiple keys by implementing a migration function that reads the existing value and writes it to the new keys. The workflow includes updating all downstream code references and verifying the change on real Roku hardware to ensure no user data is lost.

What edge cases should I watch out for when modifying BrightScript registry keys?

When modifying BrightScript registry keys, watch out for partial migrations, missing registry keys, and common pitfalls that can break existing user data. The migration workflow includes guardrails to handle these edge cases and ensure backward-compatible setting changes that prevent runtime errors.