ManageProviderCommand

Community

Standardize Riverpod command providers.

Authorpretodev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guidelines for creating and maintaining command providers, which handle mutations and side effects in Flutter/Riverpod.

Core Features & Use Cases

  • Enforces a consistent CommandMixin<T> adoption to manage AsyncValue state transitions (loading, data, error).
  • Defines standard methods and lifecycle patterns (invalidState, emitLoading, emitData, emitError, emitResult) to simplify error handling and success flows.
  • Provides maintenance and modification guidance, naming conventions, and anti-pattern prevention for scalable command-based workflows.

Quick Start

Create a new Dart command by extending _$YourCommand with CommandMixin<YourEntity>, implement build() using invalidState(), and implement call() to perform the mutation and emit loading and the final result.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ManageProviderCommand
Download link: https://github.com/pretodev/nice_app/archive/main.zip#manageprovidercommand

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.