flutter-project-creater

$npx mdskill add partme-ai/full-stack-skills/flutter-project-creater

Creates Flutter projects via one command, handling initialization, configuration, and template generation for new setups.

  • Helps users quickly set up new Flutter projects from scratch with custom options.
  • Integrates with Flutter CLI tools like flutter create for project generation.
  • Decides actions based on user inputs such as project name, platforms, and template type.
  • Presents results by generating project files and verifying builds with flutter run.

SKILL.md

.github/skills/flutter-project-createrView on GitHub ↗
---
name: flutter-project-creater
description: "Provides one-command project creation for Flutter including project initialization, configuration, and template generation. Use when the user asks about creating Flutter projects, needs to initialize a new Flutter project, or generate Flutter project structure."
license: Complete terms in LICENSE.txt
---

## When to use this skill

Use this skill whenever the user wants to:
- Create a new Flutter project from scratch
- Choose target platforms (Android, iOS, web, desktop)
- Configure organization name and package identifier
- Set up the initial project structure with dependencies
- Generate a Flutter project with a specific template

## How to use this skill

### Workflow

1. **Gather requirements**: project name, organization, target platforms, and any preferred packages
2. **Run `flutter create`** with the appropriate flags
3. **Configure `pubspec.yaml`** with initial dependencies and assets
4. **Verify** the project builds and runs with `flutter run`

### 1. Project Creation

```bash
# Basic project creation
flutter create my_app

# With organization and platform selection
flutter create my_app --org com.example --platforms android,ios,web

# Create a package or plugin
flutter create --template=package my_package
flutter create --template=plugin my_plugin --platforms android,ios
```

### 2. Project Structure

```
my_app/
├── lib/
│   └── main.dart          # Entry point
├── test/
│   └── widget_test.dart   # Widget tests
├── android/               # Android native code
├── ios/                   # iOS native code
├── pubspec.yaml           # Dependencies and metadata
└── README.md
```

### 3. Configure pubspec.yaml

```yaml
name: my_app
description: A new Flutter application.
version: 1.0.0+1

environment:
  sdk: '>=3.0.0 <4.0.0'

dependencies:
  flutter:
    sdk: flutter

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^3.0.0

flutter:
  uses-material-design: true
  assets:
    - assets/images/
```

### 4. Initial Run

```bash
# Install dependencies
flutter pub get

# Run on connected device
flutter run

# Build release APK
flutter build apk --release
```

## Best Practices

- Use a consistent organization name (`--org`) across projects
- Lock dependency versions in `pubspec.yaml` for reproducible builds
- Remove default comments and sample code before expanding the project
- Run `flutter doctor` to verify the development environment is set up correctly
- Set up CI with `flutter test` and `flutter build` early in the project lifecycle

## Resources

- Getting started: https://docs.flutter.dev/get-started
- CLI reference: https://docs.flutter.dev/reference/flutter-cli

## Keywords

flutter create, project creation, initialization, cross-platform, pubspec, scaffolding, Flutter CLI

More from partme-ai/full-stack-skills

SkillDescription
adobe-xd"Guides creation of UI/UX designs, interactive prototypes, reusable components, and design specs in Adobe XD. Use when the user asks about Adobe XD artboards, prototype links, repeat grids, component states, design tokens export, or developer handoff."
angular"Provides comprehensive guidance for Angular framework including components, modules, services, dependency injection, routing, forms, and TypeScript integration. Use when the user asks about Angular, needs to create Angular applications, implement Angular components, or work with Angular features."
ansible"Provides comprehensive guidance for Ansible automation including playbooks, roles, inventory, and module usage. Use when the user asks about Ansible, needs to automate IT tasks, create Ansible playbooks, or manage infrastructure with Ansible."
ant-design-mini"Builds mini-program UIs with Ant Design Mini components for Alipay and WeChat mini-programs. Covers Button, Form, List, Modal, Tabs, NavBar, and 60+ components with theme customization and CSS variable theming. Use when the user needs to create mini-program interfaces with Ant Design Mini, configure themes, or implement mini-program-specific UI patterns."
ant-design-mobile"Builds React mobile UIs with Ant Design Mobile (antd-mobile) components including Button, Form, List, Modal, Picker, Tabs, PullToRefresh, InfiniteScroll, and 50+ mobile-optimized components. Use when the user needs to create mobile-first React interfaces, implement mobile navigation, forms, or data display with Ant Design Mobile."
ant-design-react"Builds enterprise React UIs with Ant Design (antd) including 60+ components (Button, Form, Table, Select, Modal, Message), design tokens, TypeScript support, and ConfigProvider theming. Use when the user needs to create React applications with Ant Design, build forms with validation, display data tables, or customize the Ant Design theme."
ant-design-vueProvides comprehensive guidance for Ant Design Vue (AntDV) component library for Vue 3. Covers installation, usage, API reference, templates, and all component categories. Use when building enterprise-class UI with Vue 3 and Ant Design.
api-doc-generator"Generate API documentation by scanning Controller classes, extracting endpoint URLs, HTTP methods, parameters, and response structures, then producing standardized docs from templates. Use when the user explicitly mentions generating API documentation, creating API docs, scanning interfaces, or documenting REST APIs. Do not trigger for generic documentation requests without explicit API mention."
appium"Provides comprehensive guidance for Appium mobile testing including mobile app automation, element location, gestures, and cross-platform testing. Use when the user asks about Appium, needs to test mobile applications, automate mobile apps, or write Appium test scripts."
ascii-ansi-colorizer"Add an ANSI color layer to existing ASCII/plain-text output (gradient/rainbow/highlights) with alignment-safe rules and a required no-color fallback. Use when the user wants to colorize terminal output, add rainbow effects to CLI text, or style ASCII art with ANSI colors."