소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 7월 31일 16:53
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill flutter명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | flutter |
| description | Flutter/Dart rules, patterns, and checklists. Load when Flutter is detected. |
Load this skill when any of the following are found:
| Signal | File / Location |
|---|---|
| Flutter SDK in pubspec | pubspec.yaml → sdk: flutter |
| Main entry point | lib/main.dart |
| Flutter workspace | flutter key in pubspec.yaml |
| Platform directories | android/ + ios/ + lib/ together |
lib/
├── main.dart # App entry, environment setup, runApp()
├── app/ # MaterialApp/CupertinoApp, router, theme
├── features/ # Feature-first: each feature owns its own layers
│ └── auth/
│ ├── data/ # Repositories, data sources, DTOs
│ ├── domain/ # Entities, use cases, repository interfaces
│ └── presentation/ # Widgets, pages, state (BLoC/Riverpod/etc.)
├── core/ # Shared: DI setup, network client, error handling
├── shared/ # Reusable widgets and utilities
└── l10n/ # Localization ARB files
lib/ contains only Dart — never put platform-specific Swift/Kotlin in lib/android/, ios/, linux/, macos/, web/, windows/ respectively→ Load skills/mobile/flutter/references/state-management.md when choosing or implementing state management (BLoC, Cubit, Riverpod, Provider, GetX).
! (null assertion) without a preceding null check or a comment explaining why it is guaranteed non-null?? and ?. over null assertionslate only for variables that are genuinely initialized before first use (e.g., in initState) — not as a way to defer null handlingawait Futures — never fire-and-forget unless intentional (document with a comment)Future.wait() for parallel async operations, not sequential awaitFlutterError.onError + PlatformDispatcher.instance.onErrorUse compute() or Isolate.run() for operations that block the UI thread > 16 ms:
// Decode large JSON on a background isolate
final parsed = await compute(parseHeavyJson, rawJsonString);
lowerCamelCase for variables/functions, UpperCamelCase for types, SCREAMING_SNAKE_CASE for constantsflutter_lints (or very_good_analysis for stricter projects)dart format . before committing)// ignore: without a comment explaining the reason→ Load skills/mobile/flutter/references/widgets.md when working with widget composition, rebuilds, performance, or platform-adaptive UI.
→ Load skills/mobile/flutter/references/navigation.md when working with routing, deep links, or navigation guards.
Flavors allow separate configurations for dev, staging, and production without code changes.
// lib/core/config/app_config.dart
enum Flavor { development, staging, production }
class AppConfig {
static late Flavor flavor;
static late String apiBaseUrl;
static void setup(Flavor f) {
flavor = f;
apiBaseUrl = switch (f) {
Flavor.development => 'https://api.dev.example.com',
Flavor.staging => 'https://api.staging.example.com',
Flavor.production => 'https://api.example.com',
};
}
}
flutter run --flavor development -t lib/main_development.dartif (kDebugMode) as a substitute for flavors — debug/release and dev/prod are orthogonal concernsUse platform channels only when a Dart/Flutter package does not exist for the required native API.
const _channel = MethodChannel('com.company.app/biometric');
Future<bool> authenticate() async {
try {
return await _channel.invokeMethod<bool>('authenticate') ?? false;
} on PlatformException catch (e) {
return false;
}
}
com.company.app/featureMissingPluginException and PlatformException on the Dart side| Service | Detection | Action |
|---|---|---|
| Firebase | google-services.json / GoogleService-Info.plist | Use firebase_core, initialize before runApp() |
| Supabase | supabase_flutter dep | Initialize with Supabase.initialize() before runApp() |
| Crashlytics | firebase_crashlytics dep | Pass FlutterError.onError to Crashlytics in main() |
| Push (FCM) | firebase_messaging dep | Request permission; handle background messages via top-level function |
| Layer | Tool | Scope |
|---|---|---|
| Unit | flutter test + mocktail | Business logic, use cases, repositories |
| Widget | flutter_test + WidgetTester | Individual widget rendering and interaction |
| Golden | golden_toolkit | Visual regression — pixel-diff screenshots |
| Integration | integration_test package | Full app flow on simulator / device |
mocktail — never use real network or file I/O in unit/widget tests--update-goldensbloc_test — assert emitted states for each eventversion and build_number incremented in pubspec.yamlflutter pub outdated)flutter run --releaseprint() statements in production code (debugPrint() only, or a proper logger)flutter_launcher_icons package)flutter_native_splash package)CFBundleIdentifier matches App Store Connect entryCFBundleShortVersionString and CFBundleVersion match pubspec.yaml version/buildNSUsageDescription keys set in ios/Runner/Info.plistapplicationId matches Play Console entryversionName and versionCode match pubspec.yamltargetSdkVersion ≥ current Google Play requirementandroid/app/src/main/res/