riverpod-migration

Migrate Riverpod state management code across versions and patterns.

8|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/serverpod/skills-registry --skill riverpod-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: riverpod-migration
Source: https://github.com/serverpod/skills-registry/tree/main/skills/riverpod/riverpod-migration
Command: npx skills add https://github.com/serverpod/skills-registry --skill riverpod-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers migrate their Riverpod implementations across different versions, addressing breaking changes and simplifying the upgrade process.

Core Features & Use Cases

  • Version Upgrades: Guides users through migrating from older Riverpod versions (e.g., 0.13.x, 0.14.x, 1.0) to newer ones.
  • Notifier Migration: Assists in migrating from StateNotifier to Notifier or AsyncNotifier, and from ChangeNotifier to AsyncNotifier.
  • Use Case: You're upgrading your Flutter app to Riverpod 1.0 and need to understand how useProvider changes to ref.watch and how StateProvider behavior is updated.

Quick Start

Use the riverpod-migration skill to find the guide for migrating from StateNotifier to AsyncNotifier.

Frequently Asked Questions about riverpod-migration

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

FAQPage Schema
How do I migrate Riverpod StateNotifier to AsyncNotifier in Flutter?

To migrate Riverpod StateNotifier to AsyncNotifier, you transition your state management classes to handle asynchronous data natively. Step-by-step reference guides provide instructions for updating your Flutter codebase patterns.

How do I upgrade my Flutter app to Riverpod 1.0?

Upgrading to Riverpod 1.0 requires addressing breaking changes like transitioning useProvider to ref.watch and updating StateProvider behavior. Migration guides provide step-by-step instructions and CLI tool usage for version jumps from older releases.

Does Riverpod migration support upgrading from version 0.13 directly?

Yes, Riverpod migration supports version jumps from 0.13.x and 0.14.x directly to 1.0. The reference guides detail the specific breaking changes and required code modifications for these older version upgrades.

What is the best way to migrate ChangeNotifier to AsyncNotifier in Dart?

The best way to migrate ChangeNotifier to AsyncNotifier is by following the detailed reference guides provided for this transition. This process updates your Dart state management to leverage Riverpod's modern asynchronous patterns.