원클릭으로
feature-scaffolder
Generates a standard Domain-Driven Design (DDD) feature-first directory structure inside the `lib` folder.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generates a standard Domain-Driven Design (DDD) feature-first directory structure inside the `lib` folder.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Sweeps the `assets/` folder and registers them in `pubspec.yaml`, preventing runtime "Asset not found" crashes.
Executes `dart run build_runner build -d` to generate code for packages like Freezed, JSON Serializable, and Riverpod.
Applies Dart fixes and formats Dart code according to standard guidelines.
Configures and runs the `flutter_launcher_icons` package to generate native app icons for iOS and Android.
Safely modifies `AndroidManifest.xml` and `Info.plist` to add native permissions (e.g., Camera, Location, Storage).
Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states.
| name | feature-scaffolder |
| description | Generates a standard Domain-Driven Design (DDD) feature-first directory structure inside the `lib` folder. |
When the developer asks to create a new screen, flow, or feature (e.g., 'auth', 'settings', 'shopping_cart'):
Create a clean DDD folder structure by running commands in the terminal with run_in_terminal or using the create_directory tools. Note that creating empty directories usually requires adding a .gitkeep file to ensure the folder is preserved by version control.
The structure should be placed inside lib/src/features/[feature_name].
Directories to create:
presentation/screenspresentation/widgetsapplication (For controllers/providers)domain (For models/entities)data (For repositories/data sources)Example PowerShell script to create feature directories:
$feature = "auth" # Replace with actual feature name
$dirs = @("presentation/screens", "presentation/widgets", "application", "domain", "data")
foreach ($d in $dirs) {
$path = "lib/src/features/$feature/$d"
New-Item -ItemType Directory -Force -Path $path
New-Item -ItemType File -Force -Path "$path/.gitkeep"
}
Once scaffolded, inform the user where the structure was created.