Asyncredux observers

From marcglasberg/async_redux · View interactive version

Asyncredux observers is an AI agent skill from the GitHub repository marcglasberg/async_redux. Observe AsyncRedux action lifecycles and state transitions for logging and metrics.

How to use this skill

Skill file

Observe actions and state changes

Register typed observers on the store at creation.

observe(ReduxAction<AppState> action, int dispatchCount, {required bool ini}).

Use ini to distinguish start and finish. Use ConsoleActionObserver for

console tracing.

resulting state, error, and dispatch count. Check the error and compare the

relevant slice before recording a change. Use this for state-change logging and

metrics tied to a transition.

translation, and persistence errors.

Keep observer work small and avoid exceptions from observer callbacks. Log only

the fields needed for diagnosis.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.