← Back to list

dart-flutter-expert
by abbas133
Claude sub-agents, skills, learnings etc
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: dart-flutter-expert description: Expert Flutter/Dart guidance. Use when working with Flutter projects, implementing BLoC/Riverpod patterns, writing Dart code, optimizing performance, or following Clean Architecture. Provides architecture patterns, widget best practices, and testing strategies.
Dart & Flutter Expert
Architecture (Clean Architecture)
lib/modules/feature/
├── data/ # DTOs, datasources, repository impl
├── domain/ # Entities, contracts, use cases
└── presentation/ # Pages, widgets, providers
State Management
| Complexity | Use |
|---|---|
| Simple | setState, ValueNotifier |
| Medium | Provider, Riverpod |
| Complex | BLoC, Riverpod with codegen |
Widget Best Practices
// Always use const
const MyWidget({super.key});
// Extract widgets, not methods
class _UserAvatar extends StatelessWidget { ... }
// Use freezed for models
@freezed
class User with _$User {
const factory User({required String id}) = _User;
}
// Selective rebuilds
BlocSelector<AuthBloc, AuthState, bool>(
selector: (state) => state is AuthLoading,
builder: (context, isLoading) => ...,
)
Performance
- Use
consteverywhere possible - Use
ListView.builderfor lists - Use
CachedNetworkImagefor images - Avoid FutureBuilder with inline futures
Testing
// BLoC test
blocTest<AuthBloc, AuthState>(
'emits [Loading, Success] on login',
build: () => AuthBloc(useCase: mockUseCase),
act: (bloc) => bloc.add(LoginRequested()),
expect: () => [AuthLoading(), AuthSuccess(user)],
);
Commands
dart run build_runner build --delete-conflicting-outputs
flutter test --coverage
flutter analyze
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon