flutter-state-review

Community

Enforce Bloc-based state in Flutter UI.

Authorabdullahbokl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flutter UI often contains business logic or direct Firebase calls, which makes code hard to test and maintain. This skill defines guardrails to ensure UI widgets only render state from Blocs/Cubits and delegate all data access to Repositories.

Core Features & Use Cases

  • Ban Logic in UI: Widgets must not perform business logic or call Firebase/Firestore directly; they should rely on Bloc/Cubit for state and trigger events.
  • Review Bloc Dependencies: Blocs should depend on Repositories, not data sources; the Data layer handles fetching and subscriptions.
  • Stream Safety & One-Way Data Flow: Ensure streams are managed, yield via states, and rebuilds occur from Bloc output only.

Quick Start

Review all UI code paths to remove direct data calls and replace them with Bloc-driven events and states; ensure repositories handle data access.

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: flutter-state-review
Download link: https://github.com/abdullahbokl/Boklo-Wallet/archive/main.zip#flutter-state-review

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.