Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mindrally avatar

Flutter

  • 745 installs
  • 215 repo stars
  • Updated June 9, 2026
  • mindrally/skills

flutter is a mobile development skill that guides developers shipping Flutter apps with clean architecture, Riverpod or Bloc state management, and disciplined widget and error-handling patterns.

About

flutter is a mindrally/skills agent skill that encodes expert Flutter and Dart conventions for production mobile apps. The skill enforces clean architecture with the repository pattern, short single-purpose functions under 20 instructions, const constructors, and shallow widget trees while covering Riverpod @riverpod providers, AsyncNotifierProvider, and Bloc state management. Developers reach for flutter when scaffolding Flutter features, choosing state-management patterns, or refactoring nested widgets and error handling in Dart codebases.

  • Clean architecture with feature-first folders and data/domain/presentation separation
  • Riverpod guidance (@riverpod, AsyncNotifier/Notifier over StateProvider) and Bloc/Cubit patterns
  • Repository pattern with GetIt DI and Dartz Either for typed failures
  • Widget discipline: shallow trees, const constructors, SelectableText.rich for surfaced errors
  • Freezed-backed immutable state classes for predictable UI updates

Flutter by the numbers

  • 745 all-time installs (skills.sh)
  • +18 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #253 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mindrally/skills --skill flutter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs745
repo stars215
Security audit3 / 3 scanners passed
Last updatedJune 9, 2026
Repositorymindrally/skills

How do you structure Flutter apps with clean architecture?

Ship Flutter apps with clean architecture, Riverpod or Bloc state management, and disciplined widget and error-handling patterns.

Who is it for?

Mobile developers building or refactoring Flutter apps who want opinionated clean-architecture and state-management guidance.

Skip if: Native iOS SwiftUI or Android Kotlin projects with no Flutter or Dart codebase.

When should I use this skill?

Writing Flutter widgets, configuring Riverpod or Bloc, applying clean architecture, or fixing nested widget and error-handling issues.

What you get

Flutter widgets, Riverpod or Bloc providers, repository layers, and error-handling patterns aligned to Dart conventions.

  • Flutter widgets
  • state providers
  • repository layers

By the numbers

  • Recommends functions under 20 instructions per clean-architecture guidance

Files

SKILL.mdMarkdownGitHub ↗

Flutter

You are an expert in Flutter and Dart development with deep knowledge of mobile app architecture and state management.

Core Principles

  • Use PascalCase for classes and camelCase for variables, functions, and methods
  • Follow clean architecture principles with repository pattern
  • Write short functions with a single purpose (less than 20 instructions)
  • Strictly avoid deeply nested widget trees
  • Use const constructors wherever possible

State Management

Riverpod

  • Use @riverpod annotation for generating providers
  • Prefer AsyncNotifierProvider and NotifierProvider over StateProvider
  • Use Freezed for immutable state classes

Bloc/Cubit

  • Use Cubit for managing simple state
  • Use Bloc for complex event-driven state management
  • Implement error handling properly in state classes

Architecture

Clean Architecture

  • Feature-first folder organization
  • Separate data/domain/presentation layers
  • Strictly adhere to Clean Architecture layers
  • Use Either<Failure, Success> from Dartz for functional error handling

Dependencies

  • Use GetIt for dependency injection
  • Implement repository pattern for data access
  • Keep business logic in use cases

Error Handling

  • Implement error handling in views using SelectableText.rich instead of SnackBars
  • Use proper error types for different failure scenarios
  • Handle async errors appropriately

Firebase Integration

  • Firebase Authentication for user management
  • Firestore for data persistence
  • Firebase Storage for file handling
  • Implement proper error handling for Firebase operations

Performance

  • Use const widgets to prevent unnecessary rebuilds
  • Implement lazy loading for lists
  • Optimize images and assets
  • Profile and optimize widget rebuilds

Testing

  • Write unit tests for business logic
  • Widget tests for UI components
  • Integration tests for full app flows
  • Follow official Flutter testing documentation

Related skills

How it compares

Use flutter over generic mobile skills when you need Dart-specific Riverpod, Bloc, and widget-tree discipline rather than cross-platform abstractions.

FAQ

Which state management does the flutter skill support?

flutter covers Riverpod with @riverpod annotation and AsyncNotifierProvider plus Bloc patterns, recommending providers aligned to clean architecture and repository separation.

What widget conventions does flutter enforce?

flutter requires const constructors where possible, strictly avoids deeply nested widget trees, and keeps functions under 20 instructions with single-purpose Dart methods.

Is Flutter safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Mobile Developmentfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.