dart

Codify Dart and Flutter standards for Clean Architecture and null safety.

4|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/hiimtrung/coder --skill dart-hiimtrung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart
Source: https://github.com/hiimtrung/coder/tree/main/.agents/skills/dart
Command: npx skills add https://github.com/hiimtrung/coder --skill dart-hiimtrung

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dart and Flutter projects often diverge in patterns, architectures, and idioms, making onboarding and maintenance harder. This Skill codifies a cohesive set of practices to unify development across teams and projects.

Core Features & Use Cases

  • Clean Architecture: Feature/Data/Domain/Presentation separation to enhance testability and maintainability.
  • Deep Null Safety: Enforce sound null safety and avoid unsafe operations, reducing runtime crashes.
  • State Management: Guidance on BLoC, Provider, and Riverpod for scalable, modular UIs.
  • Immutability & Tooling: Prefer freezed and equatable for predictable, testable models.
  • Use Case: Standardize project scaffolds, code reviews, and new-team onboarding with a single reference.

Quick Start

Create a minimal Flutter module following Clean Architecture with domain, data, and presentation layers to demonstrate a feature end-to-end.

Frequently Asked Questions about dart

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

FAQPage Schema
How do I structure a Flutter project using clean architecture?

Structuring a Flutter project using clean architecture involves separating code into Data, Domain, and Presentation layers. This Skill guides you in creating feature-based modules to enhance testability and maintainability across your codebase.

What is the best way to manage state in Dart with BLoC or Riverpod?

Managing state in Dart with BLoC or Riverpod requires codified standards to ensure scalable, modular UIs. This Skill provides structured rule references for implementing multiple state-management patterns consistently across your team.

How do I enforce null safety in Dart to avoid runtime crashes?

Enforcing null safety in Dart requires applying sound null safety practices and avoiding unsafe operations to reduce runtime crashes. This Skill codifies these practices to help you standardize project scaffolds and code reviews effectively.

Does this Dart development skill work with freezed and equatable for immutability?

Yes, this Dart development skill works with freezed and equatable. It recommends these specific tooling libraries to enforce immutability, ensuring your data models remain predictable and highly testable throughout your application.

How do I onboard new team members to a Flutter project with inconsistent patterns?

Onboarding new team members to a Flutter project with inconsistent patterns requires a single cohesive reference. This Skill solves development inconsistency by providing codified standards for architecture, state management, and tooling.