executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
flutter-layer-based-clean-architectureEnforce inward dependency flow, pure domain layers, and DTO-to-entity mapping in Flutter DDD architecture. Use when structuring layers or boundaries; defer navigation-only routing and feature implementation such as notifications.
Independent GitHub snapshot · Automated classification · Original documentation governs
@freezed in lib/domain/entities/lib/domain/repositories/lib/infrastructure/dtos/ with fromJson/toEntity mapperlib/infrastructure/repositories/lib/application/ consuming repository interfaceget_it injection containerlib/presentation/ using BlocBuilderlib/
├── domain/ # Pure Dart: entities (@freezed), failures, repository interfaces
├── infrastructure/ # Implementation: DTOs, data sources, mappers, repo impls
├── application/ # Orchestration: BLoCs / Cubits
└── presentation/ # UI: Screens, reusable components
Presentation -> Application -> Domain <- Infrastructure. Dependencies point inward.Domain.Either<Failure, Success>.See DTO-to-Entity mapping example.
@freezed for all entities and failures.get_it to inject repository implementations into BLoCs..g.dart or Data class directly in Widget.package:flutter/material.dart in domain layer.shared_preferences directly in Repository; use Data Source.For full implementation templates and DTO-to-Domain mapping examples: See references/REFERENCE.md.
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant: