بنقرة واحدة
project-sweeper
Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states.
التثبيت باستخدام 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.
Generates a standard Domain-Driven Design (DDD) feature-first directory structure inside the `lib` folder.
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).
| name | project-sweeper |
| description | Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states. |
When the user complains about "mysterious build errors," "cached states," or issues after pulling new branch changes, or if they face iOS-specific build issues:
Clean the Flutter build environment and fetch fresh dependencies using the run_in_terminal tool:
flutter clean && flutter pub get
Note for PowerShell, use ; instead of &&: flutter clean; flutter pub get
If the developer is actively building for iOS and mentions iOS issues (like a missing plugin), install pods in the ios directory:
cd ios; pod install; cd ..
Inform the user about the results of the cleanup process.