busic-state-management

Define Riverpod and Notifier orchestration guidelines for Flutter apps.

23|8|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/GlowLED/BuSic --skill busic-state-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: busic-state-management
Source: https://github.com/GlowLED/BuSic/tree/main/.agents/skills/busic-state-management
Command: npx skills add https://github.com/GlowLED/BuSic --skill busic-state-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BuSic state management guidelines provide a centralized reference for choosing Riverpod or manual Provider, coordinating Notifiers, and applying AutoDispose lifecycle patterns within Flutter apps.

Core Features & Use Cases

  • Standardized decision rules for provider selection, lifecycle handling, and cross-feature coordination.
  • Quick reference to codegen and dependency injection practices to ensure consistent architecture across modules.
  • Real-world scenario: guiding a feature team to decide when to use @riverpod vs manual Provider and how to compose Notifiers across layers.

Quick Start

Apply these guidelines by auditing your Notifier usage and refactoring state management to Riverpod- or provider-based patterns.

Frequently Asked Questions about busic-state-management

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

FAQPage Schema
How do I choose between manual Provider and @riverpod codegen in Flutter?

Riverpod provider selection depends on module complexity and cross-feature coordination needs. Apply standardized decision rules to evaluate manual Provider versus @riverpod codegen, ensuring consistent architecture and clear Notifier orchestration across your Flutter application.

When should I use AutoDispose lifecycle management with Notifiers?

AutoDispose lifecycle management is needed when coordinating Notifiers that consume temporary resources or require state resetting. Apply enforceable lifecycle patterns to manage provider disposal automatically, preventing memory leaks across feature boundaries in Flutter apps.

What is the best way to coordinate Notifiers across different Flutter feature layers?

Cross-feature Notifier coordination requires clear rules for composing state across layers. Establish centralized state management guidelines that define dependency injection practices and enforce how Notifiers interact, ensuring predictable data flow and reusable patterns.

How do I start refactoring existing Flutter state management to Riverpod?

Refactoring to Riverpod begins by auditing your current Notifier usage. Apply standardized guidelines to refactor existing state management into Riverpod-based patterns, establishing provider choices and dependency injection guidance for consistent module architecture.

Does Riverpod dependency injection work with manual Provider orchestration?

Dependency injection works with both manual Provider and @riverpod codegen approaches. Concrete codegen references and dependency-injection guidance ensure consistent architecture, allowing you to compose Notifiers across layers regardless of provider selection.