create-mix-preset

Community

Turn mix() into reusable presets.

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Turn mix() usage into reusable MixPreset callables.

Core Features & Use Cases

  • Define a const MixPreset with preset parameters to encapsulate common API call patterns.
  • Use the preset as a callable replacement for mix() with per-call overrides and optional default keys.
  • Access runtime context via .ctx() to inspect retry state and other metadata during actions.
  • Reduce boilerplate and enforce consistent configurations across cubits in your Flutter apps.

Quick Start

Create a MixPreset constant and invoke it with a key and a function to execute the action.

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-mix-preset
Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#create-mix-preset

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.