riverpod-retry

Configure Riverpod provider retries with custom retry functions and exponential backoff.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/masssi164/weave --skill riverpod-retry-masssi164
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: riverpod-retry
Source: https://github.com/masssi164/weave/tree/main/.agent/skills/riverpod-retry
Command: npx skills add https://github.com/masssi164/weave --skill riverpod-retry-masssi164

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Riverpod retries providers when their computations fail, helping apps recover from transient errors without manual retries.

Core Features & Use Cases

  • Per-provider and global retry configuration to tailor retry policies per provider or across the app.
  • Custom retry function support with control over delay and termination conditions.
  • Safe handling of ProviderException vs generic Errors, with options to disable retry if necessary.

Quick Start

Configure a provider with a custom retry function and observe retries on transient failures.

Frequently Asked Questions about riverpod-retry

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

FAQPage Schema
How do I configure Riverpod provider retries for transient failures?

Configure Riverpod provider retries by defining per-provider or global retry policies, including custom retry functions and safe exponential backoff behavior to recover from transient failures.

Can I disable retry behavior for specific Riverpod providers?

Yes, you can disable retry behavior for specific Riverpod providers by configuring the retry scope to exclude certain providers and distinguishing between ProviderException and generic Errors.

What is the function signature for a custom Riverpod retry function?

A custom Riverpod retry function signature allows control over delay and termination conditions, ensuring safe handling of ProviderException versus generic Errors during the provider computation retry process.

How does exponential backoff work when retrying Riverpod providers?

Exponential backoff in Riverpod retries safely increases the delay between subsequent retry attempts, preventing immediate repeated failures while allowing providers to recover from transient errors automatically.

When should I use global versus per-provider retry configuration in Flutter?

Use global retry configuration in Flutter to apply uniform retry policies across the app, while per-provider configuration tailors specific retry scenarios and custom functions for individual Riverpod providers.

Why does my Riverpod provider keep retrying after a generic Error?

Riverpod providers retry to recover from transient failures, but you can control termination conditions and disable retries by properly handling ProviderException versus generic Errors in your custom retry function.