flutter-asset-import

Batch import and rename Flutter assets from paths or URLs, generating 3x/2x/1x sizes and updating pubspec.yaml.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/dus2183-commits/flutter-skills --skill flutter-asset-import
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-asset-import
Source: https://github.com/dus2183-commits/flutter-skills/tree/main/flutter-asset-import
Command: npx skills add https://github.com/dus2183-commits/flutter-skills --skill flutter-asset-import

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires image, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines bulk importing of Flutter assets, automatically renaming files to project conventions and ensuring proper asset coverage in pubspec.yaml.

Core Features & Use Cases

  • Batch import icons, backgrounds, buttons, images, avatars and logos from local paths or URLs.
  • Generate 3x/2x/1x assets automatically and update pubspec.yaml to include all sizes.
  • Use cases include preparing UI assets for new screens, refreshing icon sets, and syncing assets across projects.

Quick Start

Import a batch of icons, backgrounds, and other UI assets from local paths or URLs, automatically renaming them and generating 3x/2x/1x sizes while updating pubspec.yaml.

Frequently Asked Questions about flutter-asset-import

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch import and rename Flutter assets from URLs?

To batch import and rename Flutter assets, provide local paths or URLs to the Skill. It validates inputs, handles remote downloads, renames files to project conventions, and updates pubspec.yaml.

Can I automatically generate 3x, 2x, and 1x image sizes for Flutter?

Yes, you can automatically generate 3x, 2x, and 1x image sizes for Flutter. The Skill resizes imported assets using a Dart script and updates pubspec.yaml to include all generated sizes.

Does the asset import process update pubspec.yaml automatically?

Yes, the asset import process updates pubspec.yaml automatically. It registers all newly imported and resized assets in the configuration file during the batch import workflow.

What naming conventions does the batch asset import support for Flutter?

The batch asset import supports naming conventions for icon, bg, btn, img, avatar, and logo assets. It automatically renames downloaded or local files to match these specific Flutter project categories.

Do I need the image package to resize Flutter assets?

Yes, you need the image package to resize Flutter assets. The Skill relies on this dependency to execute the Dart script that generates the required 3x, 2x, and 1x image resolutions.

What is the best way to sync UI assets across multiple Flutter projects?

The best way to sync UI assets across multiple Flutter projects is batch importing from local paths or URLs. This approach standardizes file naming, generates multi-resolution sizes, and updates pubspec.yaml automatically.