CacheSweep
A refactoring CLI for Flutter teams using Riverpod that audits family-provider code, identifies cache-invalidation pain points, and auto-generates a normalized mapSignal-based store with computed projections.
Flutter developers maintaining apps built on Riverpod 3 family providers who are hitting the cache-invalidation wall as filter combinations grow
- Static analysis of Riverpod family provider usage with staleness-risk scoring
- Auto-generated mapSignal and computed scaffold for each entity type
- One-command migration that preserves the existing widget API
- Diff report showing the before/after architecture and expected network-call reduction
The mapSignal pattern is one of the first practical write-ups of an architecture fix for Riverpod 3's family-provider cache problem, and the cited Stack Overflow question shows it is a recurring developer pain point.
The Dev.to source article itself has only 2 reactions, the Stack Overflow question (q/79988023) shows the pain is real but niche, and the GitHub rrousselGit/riverpod#4735 confirms recurring family-invalidation issues with limited discussion volume.How to avoid stale data across multiple Riverpod family providers that fetch ove ↗FamilyProvider does not rebuild after parent provider invalidation and ... ↗
Closest neighbors (river_cli, RzRiverCli, riverpod_devtools) only do feature scaffolding or runtime inspection — no competitor audits family providers or generates mapSignal stores, leaving the specific niche open though very narrow.GitHub - Ahtsham0715/RiverCli: A CLI tool for generating Riverpod ... ↗riverpod_devtools - Dart API docs - Pub ↗
No evidence of paid Flutter CLI tools; riverpod, devtools, river_cli and signals are all free/open-source, and Flutter dev tool pricing searches returned only service-cost guides, indicating very low willingness to pay.riverpod_devtools - Dart API docs - Pub ↗Flutter App Development Cost in 2026 | Complete Pricing Guide ↗
Riverpod 3 is the current major and signals are increasingly adopted, so the underlying pain is likely to persist, but mapSignal is a brand-new pattern that may be absorbed into riverpod core or replaced, shortening this tool's relevance window.Family | Riverpod ↗Solving Riverpod's Family Provider Cache Dilemma with Signals & mapSignal ↗
Buildable with the Dart analyzer and code-generation tooling already used in the ecosystem, but writing a safe AST-based refactor that preserves semantics across family providers is non-trivial for a solo dev.Solving Riverpod's Family Provider Cache Dilemma with Signals & mapSignal ↗