card-news-generator-v2
Create 600x600 Instagram-style card news series automatically with optional background…
Use when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack
$ npx -y skills add bear2u/my-skills --skill flutter-init --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/flutter-initContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack
name: flutter-init description: Use when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack
도메인 기반 Flutter 프로젝트를 생성하고 현대적인 아키텍처로 자동 설정합니다. Todo, Habit, Note, Expense 또는 Custom 도메인을 선택하여 Clean Architecture 기반의 완전한 CRUD 앱을 즉시 생성할 수 있습니다.
스킬 실행 시 다음 정보를 입력받습니다:
그 후 자동으로 다음 단계가 실행됩니다:
# 1. 프로젝트 생성 (Android/Kotlin, iOS/Swift) flutter create --platforms android,ios --android-language kotlin --org com.example [폴더명] # 2. 패키지 설치 flutter pub get # 3. 도메인별 Clean Architecture 코드 자동 생성 # - domain/entities/[domain].dart (Freezed 엔티티) # - data/datasources/local/app_database.dart (Drift 테이블) # - data/repositories/[domain]_repository_impl.dart (Repository 구현) # - presentation/providers/[domain]_providers.dart (Riverpod 3.0) # - presentation/screens/* (List/Detail/Form 화면) # 4. 코드 생성 (Freezed, Drift, JSON Serializable) dart run build_runner build --delete-conflicting-outputs # 5. 코드 검증 및 오류 자동 수정 (필수) flutter analyze # 6. 앱 실행 flutter run
**IMPORTANT**: 이 스킬은 대화형으로 진행됩니다.
**먼저 사용자에게 이렇게 물어보세요:**
"Flutter 앱을 생성합니다. 다음 정보를 알려주세요:
**1. 도메인(엔티티) 선택**
어떤 도메인의 앱을 만드시겠습니까?
**A) Todo (할 일 관리)**
**B) Habit (습관 트래커)**
**C) Note (메모)**
**D) Expense (지출 관리)**
**E) Custom (직접 정의)**
**2. 프로젝트 정보**
**3. 스택 프리셋 선택**
다음 중 하나를 선택해주세요:
**A) Essential (권장)**
**B) Minimal (가장 단순)**
**C) Full Stack (모든 기능)**
**D) Custom (직접 선택)**
어떤 도메인과 프리셋을 선택하시겠습니까? (도메인: A/B/C/D/E, 프리셋: A/B/C/D)"
1. **엔티티명**: 엔티티 이름을 입력하세요 (예: Task, Event, Book) 2. **필드 정의**: 각 필드를 입력하세요 (형식: 필드명:타입, 예: title:String, amount:double, isActive:bool)
3. **주요 기능**: 필터링/정렬 기준이 될 필드를 선택하세요
다음 질문들을 순차적으로 하세요:
1. **네비게이션**: GoRouter를 사용하시겠습니까? (예/아니오) 2. **에러 핸들링**: FPDart를 사용하시겠습니까? (예/아니오) 3. **UI**: Google Fonts를 사용하시겠습니까? (예/아니오) 4. **반응형**: Responsive Utils를 포함하시겠습니까? (예/아니오) 5. **인증 시스템**: Auth 시스템을 포함하시겠습니까? (예/아니오)
1. **Flutter 프로젝트 생성**:
2. **Kotlin DSL 확인** (최신 Flutter는 자동으로 Kotlin DSL 사용) 3. **선택된 패키지 설치**: `pubspec.yaml` 업데이트 후 `flutter pub get` 4. **폴더 구조 생성**: Clean Architecture (core, data, domain, presentation) 5. **도메인별 보일러플레이트 생성**:
**A) Todo**: title, description, isCompleted, createdAt, completedAt
**B) Habit**: name, description, frequency, streak, lastCompletedAt, goal, isActive
**C) Note**: title, content, tags, isPinned, createdAt, updatedAt
**D) Expense**: amount, category, description, date, paymentMethod
**E) Custom**: 사용자 정의 필드
6. **설정 파일 생성** (라우팅, 스토리지, 다국어 등) 7. **Android 설정 업데이트** (CRITICAL for flutter_local_notifications):
android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
isCoreLibraryDesugaringEnabled = true // 추가
}
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") // 추가
}8. **코드 생성**: `dart run build_runner build --delete-conflict
Claude Code를 위한 커스텀 스킬 모음입니다. 개발 생산성을 높이기 위한 다양한 자동화 스킬들을 제공합니다.
Repo: bear2u/my-skills
Create 600x600 Instagram-style card news series automatically with optional background…
Orchestrates a triple-AI engineering loop where Claude plans, Codex validates logic and…
Orchestrates a dual-AI engineering loop where Claude Code plans and implements, while Codex…
Remove Gemini logos, watermarks, or AI-generated image markers using OpenCV inpainting. Use…
Create distinctive, high-converting landing pages that combine proven conversion elements…
Use when user wants to create a new Next.js 15 project (Todo/Blog/Dashboard/E-commerce/Custom…