ワンクリックで
asset-registrar
Sweeps the `assets/` folder and registers them in `pubspec.yaml`, preventing runtime "Asset not found" crashes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Sweeps the `assets/` folder and registers them in `pubspec.yaml`, preventing runtime "Asset not found" crashes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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).
Cleans up the Flutter and iOS environments to recover from mysterious build errors and cached states.
| name | asset-registrar |
| description | Sweeps the `assets/` folder and registers them in `pubspec.yaml`, preventing runtime "Asset not found" crashes. |
When the developer adds new images or fonts, or complains about an "Asset not found" error:
list_dir tool to check the contents of the assets/ directory (e.g., assets/images/, assets/icons/).pubspec.yaml file.flutter: section has an assets: block, and that the relevant folders are declared.
- assets/images/) rather than individual files, to cover all contents.replace_string_in_file to add the required asset paths to the pubspec.yaml. Note that YAML indentation is strict; assets: must be indented under flutter:.flutter pub get via the terminal.Image.asset().