agentsclimarketplace

Flutter architecture

Skill sairam0424/MindForge/.mindforge/skills/flutter-architecture

MindForge: The Enterprise Agentic Framework for Claude Code & Antigravity. High-performance autonomous execution, wave-parallelism, and multi-tier governance for production-grade AI engineering.From the repository description

Install
npx -y skills add sairam0424/MindForge --skill flutter-architecture

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.8 KB, 460 tokens by cl100k_base, as published. Nobody here has run it

Skill — Flutter Architecture & Widget Composition

When this skill activates

This skill activates when building Flutter applications, including widget composition strategies, state management implementation, platform channel integration, or establishing scalable app architecture patterns.

Mandatory actions when this skill is active

Before writing any code

  1. Choose state management approach based on app complexity (Riverpod for large apps, Provider for medium, setState for simple)
  2. Define navigation strategy (GoRouter for declarative routing, Navigator 2.0 for complex flows)
  3. Establish platform channel contracts for native functionality and document method signatures
  4. Plan widget composition hierarchy to maximize reusability and minimize rebuild scope

During implementation

  • Keep widget build() methods pure and deterministic — move side effects to lifecycle methods or controllers
  • Use const constructors wherever possible to enable widget caching and reduce rebuild overhead
  • Implement proper widget keys (GlobalKey, ValueKey, ObjectKey) for stateful widgets in lists
  • Leverage code generation (build_runner, freezed, json_serializable) for data models and state classes
  • Separate business logic from UI using repositories, services, and view models (MVVM pattern)
  • Use platform channels with proper codec (StandardMethodCodec, JSONMethodCodec) and error handling
  • Implement proper dispose() methods to prevent memory leaks in StatefulWidgets and controllers

After implementation

  • Run Flutter DevTools to profile widget rebuilds, identify expensive builds, and check memory usage
  • Test on both iOS and Android with platform-specific behaviors (back button, system gestures, status bar)
  • Verify hot reload works correctly — stateful widgets preserve state, providers remain intact
  • Check widget test coverage for critical UI logic and integration tests for user flows

Self-check before task completion

  • State management solution scales appropriately (no global setState, proper scoping of providers)
  • Platform channels include both method calls and event channels where needed, with proper error codes
  • Widget tree depth is reasonable (use composition over deep nesting, extract widgets strategically)
  • Build performance is acceptable (use flutter run --profile to measure frame rendering times)
  • Navigation handles back button, deep links, and state restoration correctly

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,614. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.