# maxrave/state-and-background-footguns

Reactive state and background-work traps: StateFlow conflation, flatMapLatest, job lifecycles, ViewModel bases, WorkManager, backups, crash reporting, logging, Glance widgets. Use when state lags or flips, or work runs twice or never.

- Author: Minh Nguyen (https://app.skillsync.com/maxrave)
- Price: Free
- Version: 1

## Files

- LICENSE (35149 bytes)
- SKILL.md (15792 bytes)
- references/app-backup-to-zip-mediastore.md (7145 bytes)
- references/combine-two-flags-to-gate.md (6165 bytes)
- references/compose-desktop-runtime-hardening.md (7834 bytes)
- references/compose-multiplatform-viewmodel-base.md (8551 bytes)
- references/datastore-driven-workmanager.md (6287 bytes)
- references/derive-the-flag-dont-store-and-correct-it.md (6612 bytes)
- references/desktop-single-instance-before-di.md (6785 bytes)
- references/distinct-by-key-reset-cancel-per-item.md (6821 bytes)
- references/dual-mode-persist-blocking-or-async.md (6405 bytes)
- references/flatmaplatest-resubscribe-composite-key.md (8492 bytes)
- references/glance-layout-vocabulary.md (8189 bytes)
- references/glance-widget-over-existing-state.md (8900 bytes)
- references/kmp-logger-facade.md (5916 bytes)
- references/named-job-lifecycle-discipline.md (6824 bytes)
- references/on-demand-dictionary-asset.md (7640 bytes)
- references/one-snapshot-per-period-not-many-flows.md (6075 bytes)
- references/pending-state-makes-waiting-legible.md (7459 bytes)
- references/periodic-worker-dedup.md (5893 bytes)
- references/preset-identity-read-back-from-value.md (6342 bytes)
- references/readonly-stateflow-cold-to-hot.md (6144 bytes)
- references/remoteviews-bitmap-budget.md (8047 bytes)
- references/stateflow-conflation-inverts-state.md (6114 bytes)
- references/swappable-crash-reporting-and-dialog.md (7718 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/maxrave/state-and-background-footguns
3. Load it with the get_skill tool: `get_skill("maxrave/state-and-background-footguns")`, then follow its instructions.
