1---2name: flutter-cubit-utils-usage3description: Explain what the `flutter-cubit-utils` plugin does and how to use it. Use when the user invokes `/flutter-cubit-utils-usage`, asks what this plugin covers, or needs help choosing a cubit-utils base class or recipe.4---56# Cubit Utils Usage78## How to respond910- If the user invoked this skill without a concrete task, start by explaining what this plugin does and when it is the right choice.11- Show how to use it with concrete base-cubit decisions and recipe-style tasks.12- Route to the matching rule for list, details, or action cubits, and point to sibling plugins only when the task is really about CQRS contracts or general BLoC state modeling.13- If the user already gave a concrete cubit-utils task, briefly explain why this plugin fits and then do the work.14- Do not reply with filler like "skill loaded", "ready for the task", or "what would you like to do?" before explaining the plugin.1516## What this plugin does1718- Covers base classes from `leancode_cubit_utils` and `leancode_cubit_utils_cqrs`.19- Helps choose between `RequestCubit`, `ArgsRequestCubit`, `PaginatedCubit`, `QueryCubit`, and `PaginatedQueryCubit`.20- Provides canonical recipes for paginated list, details, and action cubits.21- Clarifies the boundary between cubit-utils rules here, CQRS contracts in `flutter-cqrs`, and broader state-management guidance in `flutter-bloc`.2223## How to use it2425- Ask which base cubit fits a new screen or use case.26- Ask to scaffold or refactor a list, details, or action cubit.27- Ask to migrate an ad-hoc cubit to one of the standard base classes.28- Ask whether a problem belongs here, in `flutter-cqrs`, or in `flutter-bloc`.2930## Example requests3132- "Which cubit base class should I use for a paginated bookings list?"33- "Refactor this details cubit to `ArgsReactiveQueryCubit`."34- "Do I need `flutter-cubit-utils` here, or is this just a plain BLoC task?"3536## Reach for these assets3738- `references/cubit-utils.md` - base classes and when to use them.39- `references/cubit-list.md` - paginated list cubit recipe.40- `references/cubit-details.md` - details and single-object cubit recipe.41- `references/cubit-action.md` - command and action cubit variants.42- Related plugin: `flutter-cqrs` - CQRS contracts, commands, queries, and data-access boundaries.43- Related plugin: `flutter-bloc` - general BLoC/Cubit state modeling and presentation patterns.