Skip to content
Back to skills

Flutter Cubit Utils Usage

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 25, 2026
ai-agentsreact

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add leancodepl/ai-plugins --skill flutter-cubit-utils-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flutter Cubit Utils Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flutter Cubit Utils Usage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leancodepl-flutter-cubit-utils-usage/badge)](https://www.skillsdirectory.com/skills/leancodepl-flutter-cubit-utils-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flutter-cubit-utils-usage
description: 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.
---

# Cubit Utils Usage

## How to respond

- If the user invoked this skill without a concrete task, start by explaining what this plugin does and when it is the right choice.
- Show how to use it with concrete base-cubit decisions and recipe-style tasks.
- 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.
- If the user already gave a concrete cubit-utils task, briefly explain why this plugin fits and then do the work.
- Do not reply with filler like "skill loaded", "ready for the task", or "what would you like to do?" before explaining the plugin.

## What this plugin does

- Covers base classes from `leancode_cubit_utils` and `leancode_cubit_utils_cqrs`.
- Helps choose between `RequestCubit`, `ArgsRequestCubit`, `PaginatedCubit`, `QueryCubit`, and `PaginatedQueryCubit`.
- Provides canonical recipes for paginated list, details, and action cubits.
- Clarifies the boundary between cubit-utils rules here, CQRS contracts in `flutter-cqrs`, and broader state-management guidance in `flutter-bloc`.

## How to use it

- Ask which base cubit fits a new screen or use case.
- Ask to scaffold or refactor a list, details, or action cubit.
- Ask to migrate an ad-hoc cubit to one of the standard base classes.
- Ask whether a problem belongs here, in `flutter-cqrs`, or in `flutter-bloc`.

## Example requests

- "Which cubit base class should I use for a paginated bookings list?"
- "Refactor this details cubit to `ArgsReactiveQueryCubit`."
- "Do I need `flutter-cubit-utils` here, or is this just a plain BLoC task?"

## Reach for these assets

- `references/cubit-utils.md` - base classes and when to use them.
- `references/cubit-list.md` - paginated list cubit recipe.
- `references/cubit-details.md` - details and single-object cubit recipe.
- `references/cubit-action.md` - command and action cubit variants.
- Related plugin: `flutter-cqrs` - CQRS contracts, commands, queries, and data-access boundaries.
- Related plugin: `flutter-bloc` - general BLoC/Cubit state modeling and presentation patterns.

Files in this skill

  • SKILL.md2.4 KB
  • references/cubit-action.md7.6 KB
  • references/cubit-details.md1.9 KB
  • references/cubit-list.md4.6 KB
  • references/cubit-utils.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.