claude

marcglasberg-async-redux

Async state management with local persistence for Flutter/Dart apps. Implements custom Persistor patterns for throttled, lifecycle-aware data saving.

0 on GitHubupdated 6 months agocode_languages
/

Plugin marcglasberg-async-redux from marketplace cascade-code-languages-misc-2 in joshuarweaver/cascade-code-languages-misc-2. Commands read from the repo's manifest — 1 month ago.

What it installs

Skills (36)

  • asyncredux-abort-dispatch

    Stops an AsyncRedux (Flutter) action from dispatching. Use only when the user mentions abortDispatch(), or explicitly asks to abort or prevent dispatch under certain conditions.

  • asyncredux-action-status

    Checks an AsyncRedux (Flutter) action's completion status using ActionStatus right after the dispatch returns. Use only when you need to know whether an action completed, whether it failed with an error, what error it produced, or how to navigate based on success or failure.

  • asyncredux-actions-no-state-change

    Creates AsyncRedux (Flutter) actions that return null from reduce() to not change the state. Such actions can still do side effects, dispatch other actions, or do nothing.

  • asyncredux-async-actions

    Creates AsyncRedux (Flutter) asynchronous actions for API calls, database operations, and other async work.

  • asyncredux-base-action

    Create a custom base action class for your app. Covers adding getter shortcuts to state parts, adding selector methods, implementing shared wrapError logic, and establishing project-wide action conventions.

  • asyncredux-before-after

    Implement action lifecycle methods `before()` and `after()`. Covers running precondition checks, showing/hiding modal barriers, cleanup logic in `after()`, and understanding that `after()` always runs (like a finally block).

  • asyncredux-check-internet-mixin

    Add the CheckInternet mixin to ensure network connectivity before action execution. Covers automatic error dialogs, combining with NoDialog for custom UI handling, and AbortWhenNoInternet for silent abort.

  • asyncredux-connector-pattern

    Implement the Connector pattern for separating smart and dumb widgets. Covers creating StoreConnector widgets, implementing VmFactory and Vm classes, building view-models, and optimizing rebuilds with view-model equality.

  • asyncredux-debounce-mixin

    Add the Debounce mixin to wait for user input pauses before acting. Covers setting the `debounce` duration, implementing search-as-you-type, and avoiding excessive API calls during rapid input.

  • asyncredux-debugging

    Debug AsyncRedux applications effectively. Covers printing state with store.state, checking actionsInProgress(), using ConsoleActionObserver, StateObserver for state change tracking, and tracking dispatchCount/reduceCount.

  • asyncredux-dependency-injection

    Inject dependencies into actions using the environment, dependencies, and configuration pattern. Covers creating an Environment enum, a Dependencies class, passing them to the Store, accessing them from actions and widgets, and using dependency injection for testability.

  • asyncredux-dispatching-actions

    Dispatch actions using all available methods: `dispatch()`, `dispatchAndWait()`, `dispatchAll()`, `dispatchAndWaitAll()`, and `dispatchSync()`. Covers dispatching from widgets via context extensions and from within other actions.

  • asyncredux-error-handling

    Implement comprehensive error handling for actions. Covers the `wrapError()` method for action-level error wrapping, GlobalErrorObserver for app-wide error transformation and logging/monitoring (including Persistor errors, where the action is null), and the error handling flow (before → reduce → aft

  • asyncredux-events

    Use the Event class to interact with Flutter's stateful widgets (TextField, ListView, etc.). Covers creating Event objects in state, consuming events with `context.event()`, scrolling lists, changing text fields, and the event lifecycle.

  • asyncredux-flutter-hooks

    Integrate AsyncRedux with the flutter_hooks package. Covers adding flutter_hooks_async_redux, using the useSelector hook, and combining hooks with AsyncRedux state management.

  • asyncredux-navigation

    Handle navigation through actions using NavigateAction. Covers setting up the navigator key, dispatching NavigateAction for push/pop/replace, and testing navigation in isolation.

  • asyncredux-nonreentrant-mixin

    Add the NonReentrant mixin to prevent an action from dispatching while already in progress. Covers preventing duplicate form submissions, avoiding race conditions, and protecting long-running operations.

  • asyncredux-observers

    Set up observers for debugging and monitoring. Covers implementing actionObservers for dispatch logging, stateObserver for state change tracking, observing errors with globalErrorObserver, and using observers for analytics.

  • asyncredux-optimistic-update-mixin

    Add the OptimisticUpdate mixin for instant UI feedback before server confirmation. Covers immediate state changes, automatic rollback on failure, and optionally notifying users of rollback.

  • asyncredux-persistence

    Implement local state persistence using Persistor. Covers creating a custom Persistor class, implementing `readState()`, `persistDifference()`, `deleteState()`, handling persistence errors with `wrapError()`, `addError()` and GlobalErrorObserver, using LocalPersist helper, throttling saves, and paus

  • asyncredux-provider-integration

    Integrate AsyncRedux with the Provider package. Covers using provider_for_redux, the ReduxSelector widget, and choosing between StoreConnector and ReduxSelector approaches.

  • asyncredux-retry-mixin

    Add the Retry mixin for automatic retry with exponential backoff on action failure. Covers using Retry alone for limited retries, combining with UnlimitedRetries for infinite retries, and configuring retry behavior.

  • asyncredux-selectors

    Create and cache selectors for efficient state access. Covers writing selector functions, caching with `cache1` and `cache2`, the reselect pattern, and avoiding repeated computations in widgets.

  • asyncredux-setup

    Initialize, setup and configure AsyncRedux in a Flutter app. Use it whenever starting a new AsyncRedux project, or when the user requests.

  • asyncredux-state-access

    Access store state in widgets using `context.state`, `context.select()`, and `context.read()`. Covers when to use each method, setting up BuildContext extensions, and optimizing widget rebuilds with selective state access.

  • asyncredux-state-design

    Design immutable state classes following AsyncRedux best practices. Includes creating the AppState class with a `copy()` method, defining `initialState()`, composing nested state objects, and optionally using the fast_immutable_collections package for IList, ISet, and IMap.

  • asyncredux-streams-timers

    Manage Streams and Timers with AsyncRedux. Covers creating actions to start/stop streams, storing stream subscriptions in store props, dispatching actions from stream callbacks, and proper cleanup with disposeProps().

  • asyncredux-sync-actions

    Creates AsyncRedux (Flutter) synchronous actions that update state immediately by implementing reduce() to return a new state.

  • asyncredux-testing-basics

    Write unit tests for AsyncRedux actions using the Store directly. Covers creating test stores with initial state, using `dispatchAndWait()`, checking state after actions, verifying action errors via ActionStatus, and testing async actions.

  • asyncredux-testing-view-models

    Test StoreConnector view-models in isolation. Covers creating view-models with `Vm.createFrom()`, testing view-model properties, testing callbacks that dispatch actions, and verifying state changes from callbacks.

  • asyncredux-testing-wait-methods

    Use advanced wait methods for complex test scenarios. Covers `waitCondition()`, `waitAllActions()`, `waitActionType()`, `waitAllActionTypes()`, `waitAnyActionTypeFinishes()`, and the `completeImmediately` parameter.

  • asyncredux-throttle-mixin

    Add the Throttle mixin to prevent actions from running too frequently. Covers setting the throttle duration in milliseconds, use cases like price refresh, and how freshness/staleness works.

  • asyncredux-undo-redo

    Implement undo/redo functionality using state observers. Covers recording state history with stateObserver, creating a RecoverStateAction, implementing undo for the full state or partial state, and managing history limits.

  • asyncredux-user-exceptions

    Handle user-facing errors with UserException. Covers throwing UserException from actions, setting up UserExceptionDialog, customizing error dialogs with `onShowUserExceptionDialog`, and using UserExceptionAction for non-interrupting error display.

  • asyncredux-wait-condition

    Use `waitCondition()` inside actions to pause execution until state meets criteria. Covers waiting for price thresholds, coordinating between actions, and implementing conditional workflows.

  • asyncredux-wait-fail-succeed

    Show loading states and handle action failures in widgets. Covers `isWaiting(ActionType)` for spinners, `isFailed(ActionType)` for error states, `exceptionFor(ActionType)` for error messages, and `clearExceptionFor()` to reset failure states.

View source on GitHub

More from joshuarweaver/cascade-code-languages-misc-2

All 86 plugins →

Complete collection of Claude Code configurations for high-performance C++ development, including agents, skills, hooks, commands, and coding rules.

200 skills · 93 commands · 67 agents · 1 MCP server · hooks

0

Bootstrap Android app development using Kotlin with Claude's guidance for mobile application architecture.

73 skills · 25 commands · 1 agent

0

Skill providing Java development conventions including naming standards, exception handling, and Spring Boot best practices.

63 skills · 18 commands

0

Specialized Claude skill for advanced C++ development, architecture, and code optimization. Assists developers with modern C++ practices, performance tuning, and complex system design.

67 skills · 13 commands

0

14-skill plugin for AI-powered Salesforce development including Apex, Flow, LWC, SOQL, and Agentforce with 420+ validation points.

37 skills · 7 agents

0

Similar plugins

Professional UI/UX design intelligence for AI coding assistants. Includes searchable databases of styles, colors, typography, charts, and UX guidelines for React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, and Three.js.

7 skills

nextlevelbuilder/ui-ux-pro-max-skill 148,759

把需要长期跟踪的业务、关系、健康、职业、学习或投资问题建成本地决策知识工程。用户要求决策立案、结果回填、状态画像或长期复盘时使用。

1 skill

dontbesilent2025/dbskill 11,416

UI/UX design intelligence. Searchable local database with 84 styles, 192 palettes, 74 font pairings, 25 charts, and 22 stacks (React, Next.js, Vue, Nuxt.js, Nuxt UI, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.

nyldn/claude-octopus 4,439

swiftui-expert

claudecodex

Expert SwiftUI guidance for state management, view composition, performance, modern SDK APIs, and Liquid Glass patterns.

2 skills

AvdLee/SwiftUI-Agent-Skill 3,897

dart-flutter

claudecodex

The official Claude plugin for Dart and Flutter that installs Flutter/Dart Skills and Dart MCP server for building natively compiled, visually stunning applications for mobile, web, desktop, and embedded devices from a single codebase

31 skills · 1 MCP server

flutter/agent-plugins 3,174

Flutter app development with widget creation and platform channels

2 commands

rohitg00/awesome-claude-code-toolkit 2,836

Maintain marcglasberg-async-redux?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins86 plugins