test-driven-development
OBobra/superpowers298k2,631 new stars in the last 7 days
Use when working with Flutter Bloc/Cubit state management. Covers when to choose Bloc vs Cubit, how to use bloc and flutter_bloc together, lifecycle, testing, and safe defaults.
Use this skill when building Flutter state management with bloc and flutter_bloc.
Cubit for simple, direct state updates.Bloc for event-driven flows, transitions, and replayable business logic.bloc in Dart-only projects.flutter_bloc in Flutter apps when you need widgets like BlocProvider, BlocBuilder, or BlocListener.flutter_bloc, you do not need to add bloc separately in a Flutter app because flutter_bloc depends on it.Choose Cubit when:
Choose Bloc when:
For Dart-only code:
blocflutter_bloc unless Flutter widgets are neededFor Flutter UI code:
flutter_blocbloc transitivelyBlocProvider at the feature boundaryBlocBuilder for rebuilds and BlocListener for side effectsPrefer this structure:
Keep state immutable.
Keep events explicit when using Bloc.
Keep one bloc or cubit per feature responsibility.
close().BlocProvider.BlocProvider or MultiBlocProvider to let Flutter manage disposal.new or a constructor outside the widget tree, you own its lifecycle.Use BlocBuilder when the widget should rebuild from state.
Use BlocListener when the widget should react without rebuilding.
Use BlocConsumer only when both are needed in one place.
Use buildWhen and listenWhen when rebuilds or listeners need narrowing.
Use BlocSelector when only one field should drive rebuilds.
Cubit by calling methods and asserting emitted states.Bloc by adding events and asserting the transition sequence.Bloc for trivial local state.bloc and flutter_bloc in a Flutter app when only flutter_bloc is needed.close() for manually managed instances.When writing code or advising on design:
bloc or flutter_blocbloc = core logic packageflutter_bloc = Flutter UI integration packageCubit = method-based updatesBloc = event-based transitionsclose()close()OBobra/superpowers298k2,631 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
Audit accessibility on Web, iOS, and Android to meet WCAG 2.2, with keyboard navigation and screen-reader support.
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
FIfirecrawl/firecrawl191k2,010 new stars in the last 7 days