Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Utopia-USSv0.5.0BSD-2-ClauseIn 1 marketplace
👾 Migrate Flutter BLoC/Cubit codebases to utopia_hooks. Two-phase migration (global states first, then screens) with per-commit granularity, service extraction for logic-heavy Cubits, deferred provider registration (no dual-run side effects), a flutter-test behavioral gate, staged plans for god-screens, dart analyze baseline (Dart MCP preferred), and a --finalize cleanup mode. Includes the /utopia-hooks-migrate-bloc:migrate orchestrator coordinating five sub-agents: migrate-inventory, migrate-foundation, migrate-global-state, migrate-screen, and migrate-review. Recommended companion: utopia-hooks plugin.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that migrates Flutter BLoC/Cubit codebases to utopia_hooks: two-phase (global states first, then screens), one commit per migrated unit, driven by an orchestrator command and five sub-agents.
migrate-bloc-to-utopia-hooks, plus 8 references covering state translation, widget translation, complex Cubit patterns, global-state migration, the step sequence, screen migration flow, pubspec migration, and a post-migration refactor checklist./utopia-hooks-migrate-bloc:migrate - the orchestrator.migrate-inventory - read-only scanner. Builds the screen inventory, the global-state dependency graph and the next-wave plan, and regenerates MIGRATION.md.migrate-foundation - one-time setup: pubspec dependency, _providers.dart, a useInjected bridge to existing DI, and HookProviderContainerWidget at the app root alongside the existing MultiBlocProvider.migrate-global-state - migrates one Cubit/Bloc to a parallel hook-based global state with no screen changes, and marks the original @Deprecated. One diff, one commit. When domain logic lives in the Cubit itself, it extracts a service first (behavior-preserving commit) instead of duplicating the logic into the hook. Registration in _providers.dart is deferred to the first migrated consumer screen, so the hook never runs side by side with the live Cubit.migrate-screen - migrates one screen plus any global states it still needs. Produces the diff, does not commit. Oversized screens get a staged multi-commit plan instead of a one-shot rewrite.migrate-review - independent review against the exit gate, with fresh context that never sees the migration agent's reasoning.scripts/screen_gate.sh).# Claude Code
/plugin marketplace add Utopia-USS/utopia-flutter-skills
/plugin install utopia-hooks-migrate-bloc@utopia-flutter-skills
utopia-hooks plugin. It carries the target architecture; the skill stops and asks you to install it if it is missing.dart mcp-server, or fvm dart mcp-server in fvm projects). The orchestrator stops and asks you to set it up rather than silently falling back to bash.jq, for the PostToolUse gate. Without it the gate exits silently./utopia-hooks-migrate-bloc:migrate --budget 5
Flags: [--budget N] [--screens a,b,c] [--status] [--finalize], plus --allow-bash-fallback to proceed without the Dart MCP server (expect brittler reviews). --finalize runs the endgame cleanup (delete deprecated Cubits, drop BLoC packages, repo-wide exit-gate sweep) once every screen is migrated. If the project has a test suite, the orchestrator captures a flutter test baseline and enforces "zero new failures" per batch.
The orchestrator does not migrate code itself; it coordinates the sub-agents and commits their work per screen. Every run runs migrate-inventory before any migration work; it regenerates MIGRATION.md at the repo root while preserving the Skipped section you edited by hand.
The gate is active only while the pubspec declares BOTH utopia_hooks and a bloc package (flutter_bloc, bloc, hydrated_bloc, bloc_concurrency) - that combination is the mid-migration signal, so the hook stays quiet before and after the migration.
On every Dart edit it classifies the file as state, screen or view, then flags the leftovers for that role: bloc imports, BLoC widgets, context.read/watch/select, emit(, extends Equatable, extends StatefulWidget in a screen, hook calls from a view, and size budgets per file kind.
UTOPIA_MIGRATE_MODE=warn (the default) surfaces the violations to the model as additional context on every edit; block rejects the edit until fixed. Both use the PostToolUse JSON contract, so the feedback always reaches the model - not just the terminal.
| Plugin | What it adds |
|---|---|
| utopia-hooks | Required companion - the target architecture this migration writes toward |
| utopia-dart-lsp | Live analyzer diagnostics on every .dart edit while migrating |
| utopia-cms | Admin panels on the same utopia_hooks foundation |
| utopia-ai-arch | The project-level .claude/ layer around all of this |
Built by UtopiaSoftware.
👾 Issues and PRs welcome - skills are designed to be forked: copy one into your own Claude Code or Codex setup, tweak the rules, ship it.
BSD 2-Clause - see LICENSE.
npx claudepluginhub utopia-uss/utopia-flutter-skills --plugin utopia-hooks-migrate-blocBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground