17th-dart-patterns

Define canonical Flutter/Dart project architecture with Clean Architecture and Cubit/BLoC.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/SeventeenthEarth/glm-worker-mcp --skill 17th-dart-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 17th-dart-patterns
Source: https://github.com/SeventeenthEarth/glm-worker-mcp/tree/main/skills/17th-dart-patterns
Command: npx skills add https://github.com/SeventeenthEarth/glm-worker-mcp --skill 17th-dart-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flutter/Dart projects often suffer from inconsistent architectures, scattered patterns, and poor maintainability. This Skill provides a canonical blueprint for structuring Flutter/Dart apps, ensuring uniformity and ease of collaboration.

Core Features & Use Cases

  • Clean Architecture blueprint with domain, application, data, and presentation layers.
  • Cubit/BLoC usage guidance and repository/patterns for robust state management.
  • DI via GetIt and standard testing patterns to improve testability and scalability.
  • Use cases include starting new Flutter projects, performing code reviews for pattern conformance, and guiding team migrations.

Quick Start

Reference this skill when starting a new Flutter project to establish the recommended folder structure and conventions.

Frequently Asked Questions about 17th-dart-patterns

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

FAQPage Schema
What is the best way to structure a scalable Flutter app with Cubit and Clean Architecture?

The best way to structure a scalable Flutter app is to use a canonical blueprint separating domain, application, data, and presentation layers. This architecture enforces consistent folder layouts, naming conventions, and reusable contracts to improve maintainability.

How do I organize Flutter project folders for GetIt dependency injection and gRPC?

You organize Flutter project folders by establishing a clear layering structure that standardizes dependency injection via GetIt and gRPC implementations. This ensures uniform patterns across data and presentation layers for better collaboration.

Does this Dart architecture pattern support both Cubit and BLoC for state management?

Yes, this Dart architecture pattern supports both Cubit and BLoC for state management. It provides specific usage guidance and repository patterns to ensure robust state handling across your presentation layer.

Can I use this Clean Architecture blueprint for code reviews in existing Dart projects?

Yes, you can use this Clean Architecture blueprint for code reviews in existing Dart projects. It establishes standard testing patterns and architectural conventions to check pattern conformance and guide team migrations effectively.

When do I need a canonical Flutter project architecture?

You need a canonical Flutter project architecture when your projects suffer from inconsistent patterns, scattered structures, and poor maintainability. It provides a uniform blueprint to ease collaboration and ensure scalable design.