create-cubit

Community

Auto-load Cubits with error tracking

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building Cubits often requires manual handling of loading and error states, which can clutter logic and degrade UX. This skill introduces a pattern to automatically manage loading indicators and errors using mix() and a clean state.

Core Features & Use Cases

  • Automatic loading state management without a separate isLoading field.
  • Automatic error handling through UserException integration.
  • Simple, scalable Cubit design for common asynchronous operations across screens.

Quick Start

Ask the user for the Cubit name and desired state, then scaffold a Cubit using mix() with key: this.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-cubit
Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#create-cubit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.