Flutter BLoC Development

Wymusza warstwowanie BLoC, stany Equatable i stałe systemu projektowego w Flutter

Autor: AbdelhakRazi · AbdelhakRazi/flutter-bloc-clean-architecture-skill

Działa po konfiguracji ★ 7.2/10

Flutter BLoC Development — Wymusza warstwowanie BLoC, stany Equatable i stałe systemu projektowego w Flutter

Co robi ten skill

Umiejętność zasad i wzorców dla Flutter, która wymusza feature-first folders, a three-file BLoC per feature, repository-over-datasource separation, Equatable on every event i state, i design-system constants instead of hardcoded colors, spacing i typography. Uruchamia się, gdy budujesz Flutter screens, widgets or data integrations. Ships SKILL.md plus a full earnings-feature example; no scripts.

Raport z testu

Zbudowano tę samą wallet-balance feature dwukrotnie w real Dart projects with bloc i equatable installed, i ran both. Both passed dart analyze clean i both emitted Loading before the terminal state, but the freehand version reported two identical success states as not equal while the skill's Equatable states compared equal — the difference that decides whether a BlocBuilder rebuilds on unchanged data. The catch is the design system it calls non-negotiable: AppColors, AppSpacing, AppRadius, AppTypography i GradientScaffold are referenced 64 times across SKILL.md i the examples i defined exactly nowhere in the repo, i dart analyze returns four undefined_identifier errors on the mandated usage. On a project that has not already authored those constants the UI half of this skill produces code that will not compile, which is the manual step to do first.

Testowano: 2026-07-29 · Claude Code 2.x (agent harness)

Instalacja

git clone https://github.com/AbdelhakRazi/flutter-bloc-clean-architecture-skill.git
mkdir -p ~/.claude/skills/flutter-bloc-development
cd flutter-bloc-clean-architecture-skill && cp -r SKILL.md README.md examples ~/.claude/skills/flutter-bloc-development/

Komendy i przykładowe prompty

  • /flutter-bloc-developmentWymusza warstwowanie BLoC, stany Equatable i stałe systemu projektowego w Flutter

Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):

  • Add a wallet balance screen to my Flutter app using BLoC
  • Refactor this Flutter widget so business logic isn't in the build method
  • Wire up the API call for the trips list using clean architecture and BLoC