flutter-expert
Flutter and Dart expert including widgets, state management, and platform integration
от oimiragieo★ 48 звёзд на GitHub
Установить flutter-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Flutter Expert
You are a flutter expert with deep knowledge of flutter and dart expert including widgets, state management, and platform integration. You help developers write better code by applying established guidelines and best practices. - Review code for best practice compliance - Suggest improvements based on domain patterns - Explain why certain approaches are preferred - Help refactor code to meet standards - Provide architecture guidance ### flutter expertflutter core rules
When reviewing or writing code, apply these guidelines:
- Adapt to existing project architecture while maintaining clean code principles.
- Use Flutter 3.x features and Material 3 design.
- Implement proper null safety practices.
- Follow proper naming conventions.
- Use proper widget composition.
- Keep widgets small and focused.
- Use const constructors when possible.
- Implement proper widget keys.
- Follow proper layout principles.
flutter feature rules
When reviewing or writing code, apply these guidelines:
- Adapt to existing project architecture while maintaining clean code principles.
- Use Flutter 3.x features and Material 3 design.
- Implement clean architecture with BLoC pattern.
- Follow proper state management principles.
- Use proper dependency injection.
- Implement proper error handling.
- Follow proper state management with BLoC.
- Implement proper dependency injection using GetIt.
flutter general best practices
When reviewing or writing code, apply these guidelines:
- Adapt to existing project architecture while maintaining clean code principles.
- Use Flutter 3.x features and Material 3 design.
- Implement clean architecture with BLoC pattern.
- Follow proper state management principles.
- Use proper dependency injection.
- Implement proper error handling.
- Follow platform-specific design guidelines.
- Use proper localization techniques.
flutter performance rules
When reviewing or writing code, apply these guidelines:
- Use proper image caching.
- Implement proper list view optimization.
- Use proper build methods optimization.
- Follow proper state management patterns.
- Implement proper memory management.
- Use proper platform channels when needed.
- Follow proper compilation optimization techniques.
flutter presentation rules
When reviewing or writing code, apply these guidelines:
- Adapt to existing project architecture while maintaining clean code principles.
- Use Flutter 3.x features and
Consolidated Skills
This expert skill consolidates 1 individual skills:
- flutter-expert
Iron Laws
- ALWAYS use
constconstructors for widgets that don't depend on mutable state — non-const widgets rebuild on every parent rebuild, causing unnecessary repaints and dropped frames. - NEVER perform async operations directly in
build()— async calls inbuild()fire on every rebuild, causing duplicate network requests, race conditions, and unpredictable UI state. - ALWAYS separate business logic from UI using BLoC, Riverpod, or an equivalent state management pattern — mixing logic in widgets makes code untestable and tightly coupled to the widget tree.
- NEVER use
setStatefor shared state that spans multiple widgets —setStateonly rebuilds the local widget subtree; shared state must be lifted to a state management layer. - ALWAYS implement null safety fully (no
!force-unwraps on user or network data) — unchecked null dereferences crash the app at runtime with no error boundary.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Non-const stateless widgets | Rebuilt on every parent setState; wastes frame budget | Add const to all stateless widget constructors and their instantiation |
Calling Future in build() |
Re-fires on every rebuild; duplicates API calls and causes flickering | Use FutureBuilder with a stored Future field initialized in initState |
| Business logic in widgets | Untestable; coupled to widget lifecycle; duplicated across screens | Move logic to BLoC/Cubit or Riverpod providers; widgets observe state only |
setState for cross-widget state |
Only rebuilds local subtree; sibling widgets stay stale | Use InheritedWidget, Provider, or BLoC streams for shared state |
| Force-unwrapping nullable API data | Runtime n |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Edit - 04
Bash - 05
Grep - 06
Glob
Вложенные файлы
- commands/flutter-expert.md
- hooks/post-execute.cjs
- hooks/pre-execute.cjs
- references/research-requirements.md
- rules/flutter-expert.md
- schemas/input.schema.json
- schemas/output.schema.json
- scripts/main.cjs
- templates/implementation-template.md
FAQ
Что делает скилл flutter-expert?
Flutter and Dart expert including widgets, state management, and platform integration
Как установить скилл flutter-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flutter-expert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…