flutter_bloc_skeleton

Standardize Flutter BLoC project structure with clean architecture and testing guidelines.

1|2|Updated Mar 21, 2023
One-click install
npx skills add https://github.com/readytowork-org/flutter_bloc_skeleton --skill flutter-bloc-skeleton-readytowork-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter_bloc_skeleton
Source: https://github.com/readytowork-org/flutter_bloc_skeleton/tree/main
Command: npx skills add https://github.com/readytowork-org/flutter_bloc_skeleton --skill flutter-bloc-skeleton-readytowork-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the inconsistency and technical debt caused by unstandardized Flutter BLoC project structures, coding practices, and testing workflows, enabling development teams to build and maintain scalable mobile applications efficiently.

Core Features & Use Cases

  • Standardized Clean Architecture: Enforces a feature-first folder structure with clear separation of domain, data, and presentation layers, ensuring modularity and testability.
  • Unified Coding Standards: Provides strict linting rules, naming conventions, and formatting requirements to maintain code consistency across team members.
  • Built-in Automation: Includes makefile commands and shell scripts for common tasks like code generation, environment configuration, Firebase setup, and keystore management.
  • Comprehensive Testing Guidelines: Offers detailed templates and best practices for unit, widget, and integration tests using mocktail and bloc_test, with coverage targets.
  • Use Case: A Flutter development team onboarding new members can use this guide to ensure all contributors follow the same patterns, reducing bugs and accelerating feature delivery.

Quick Start

Use the flutter_bloc_skeleton engineering guide to implement a new authentication feature following the project's clean architecture standards, including BLoC state management, DI registration, and widget tests.

Frequently Asked Questions about flutter_bloc_skeleton

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Flutter app with BLoC and clean architecture?

Structure a Flutter app with BLoC using a feature-first folder layout that separates domain, data, and presentation layers. This enforces modularity and testability while standardizing error handling and atomic design UI patterns across the team.

What is the best way to standardize Flutter BLoC coding standards for a team?

The best way to standardize Flutter BLoC coding is to apply strict linting rules, naming conventions, and formatting requirements. This unified engineering guide reduces inconsistency and technical debt across team members building scalable mobile applications.

Can I use go_router and GetIt with this Flutter BLoC project structure?

Yes, you can use go_router and GetIt with this Flutter BLoC project structure. The guide specifically covers projects using GetIt for dependency injection, Dio for HTTP networking, and go_router for navigation within clean architecture principles.

How do I automate code generation and Firebase setup in a Flutter project?

Automate code generation and Firebase setup in a Flutter project using the included makefile commands and shell scripts. These built-in automation tools also handle environment configuration and keystore management for common workflows.

How do I write tests for Flutter BLoC using mocktail and bloc_test?

Write tests for Flutter BLoC using mocktail and bloc_test by following the provided comprehensive testing guidelines. These offer detailed templates and best practices for unit, widget, and integration tests with specific coverage targets.

When do I need a unified engineering guide for Flutter development?

You need a unified engineering guide for Flutter development when onboarding new team members to ensure all contributors follow the same BLoC patterns and clean architecture standards. This reduces bugs and accelerates feature delivery in scalable mobile apps.