skills/flutter-bloc-development/README.md

1.3 KiB

Flutter BLoC + Clean Architecture

A set of instructions to help your AI coding assistant build Flutter apps with proper architecture with BLoC state management, clean layers, and consistent design themes.

Flutter Dart BLoC License

What's Inside

  • SKILL.md: The architecture rules and patterns
  • examples/: Working code samples

How It Works

UI → BLoC → Repository → Datasource → Backend

No business logic in widgets. No hardcoded colors. No magic numbers.

Get Started

Install with the Skills CLI:

npx skills add https://github.com/abdelhakrazi/flutter-bloc-clean-architecture-skill --skill flutter-bloc-development

Or grab this repo and add it to your AI coding assistant manually.

Examples

  • earnings/: Full feature with feature-first structure (official BLoC pattern)
  • shared/data/: Shared datasources and models used across features
  • shared/widgets/: Reusable design-system-compliant widgets

License

Apache 2.0