Marcelo Glasberg
Community@marcglasberg · San Francisco / New York / Rio de Janeiro
Senior Software Engineer • AI • Full stack • Mobile • Web • https://glasberg.dev
Agent Skills by Marcelo Glasberg
Showing 72 vetted skills indexed across 2 GitHub repositories.
add-retry
Adds configurable exponential-backoff retry to Cubit methods via mix.
consume-effect
Consume one-time Effect<T> fields from state using context.effect() in widget builds.
add-optimistic-command
Implement optimistic updates for blocking one-time actions with automatic rollback.
add-optimistic-sync-with-push
Coordinate optimistic updates with server pushes using revision protocols.
search-with-debounce
Debounce user input to reduce API calls during real-time search.
load-with-freshness
Caches API data with freshness windows to eliminate redundant calls in Flutter Cubit/Bloc apps.
consume-effect-queue
Consume and process queued UI effects from Cubits in Flutter widgets.
convert-cubit
Convert manual Cubit loading and error handling into mix-based flows.
create-mix-preset
Convert mix() calls into reusable MixPreset callables with per-call overrides.
create-mix-config
Centralizes reusable mix() settings for consistent Cubit behavior.
use-composite-key
Tracks Dart per-item loading and error states using composite keys.
add-non-reentrant
Prevents concurrent CubitCubit method execution by adding nonReentrant to mix calls.
setup-bloc-superpowers
Integrate bloc_superpowers into Flutter apps with Superpowers widget and error handling.
add-fresh
Add time-bound freshness parameters to Cubit mix calls for cache-aware data loading.
retry-until-internet
Retry startup data loading until internet connectivity is restored.
setup-global-catch-error
Configure Superpowers.globalCatchError to handle Flutter mix() errors.
simplify-state
Migrate Cubit state from isLoading and error fields to context.isWaiting() and context.isFailed().
test-loading-state
Test Cubit isWaiting() loading states using Completers to control async timing.
configure-global-defaults
Set centralized global defaults for bloc_superpowers configuration classes at Flutter app startup.
refresh-with-throttle
Throttle pull-to-refresh actions in Cubit-based list screens.
setup-test
Reset bloc_superpowers state between Dart and Flutter tests using Superpowers.clear().
add-sequential
Queue Cubit method calls to ensure sequential execution in Flutter apps.
add-optimistic-sync
Coalesce rapid UI state changes into a single server update.
add-debounce
Debounce Cubit or Bloc method calls with per-key timers and configurable durations.