vp-k/flutter-craft/flutter-project-init
- community
Checking that the SKILL.md file is still in the repository.
Creates a new Flutter project with Clean Architecture, domain pattern boilerplate, and production-ready setup
Install
npx vskill@latest install vp-k/flutter-craft/flutter-project-initSKILL.md
Flutter Project Initialization
Use when: "new project", "create project", "start project", "init flutter"
Workflow Overview
Step 1: Gather Project Info
Ask user for:
| Field | Example | Required | |
|---|---|---|---|
| Project name | my_app (snake_case) | Yes | |
| Organization | com.example | Yes | |
| Description | "Task management app" | Yes | |
| Entity name | Task, Note, Expense | Yes |
Step 2: Domain Pattern Selection (CRUD-based)
Ask user to choose:
| Pattern | Examples | Generated Structure | |
|---|---|---|---|
| Simple | Note, Memo, Bookmark | Single-entity CRUD | |
| Stateful | Todo, Task, Order | Includes a status field (done/in-progress, etc.) | |
| Categorized | Expense, Product, Recipe | Includes a category relationship | |
| Tracked | Habit, Workout, Study | Time/date-based tracking | |
| Relational | Blog (User-Post-Comment) | Multi-entity relationships | |
| Custom | - | User-defined fields |
Generated Code per Pattern
Simple Pattern
Stateful Pattern
Categorized Pattern
Tracked Pattern
Relational Pattern
Step 3: Tech Stack Selection
State Management (required choice)
| Option | Description | |
|---|---|---|
| Riverpod (Recommended) | Modern, compile-safe, testable | |
| BLoC | Event-driven, enterprise-grade |
Feature Presets
| Preset | Includes | |
|---|---|---|
| Minimal | Core only (Freezed, Drift, DI) | |
| Essential | + GoRouter, Dio, Error handling | |
| Full | + Auth, Localization, Responsive |
Feature Details
Prerequisite: a recent stable Flutter SDK (Dart >= 3.9). On older SDKs pub silently resolves a broken -dev prerelease of freezed that generates nothing. Check flutter --version and run flutter upgrade first if outdated.
Install EVERYTHING your preset needs in ONE flutter pub add command — a single resolver pass. Sequential installs wedge the solver: each pass pins the newest carets, and the codegen cluster (freezed / drift_dev / injectable_generator / riverpod_generator) rides different analyzer majors, so a later group can become unsolvable against what an earlier group locked. One pass lets pub pick a mutually compatible all-stable set.
After installing, check pubspec.yaml for -dev/-beta prereleases. One may appear while the ecosystem migrates across analyzer majors; that alone is not fatal, but it makes Step 4.6 (flutter analyze after codegen) mandatory evidence — if generation silently produced nothing, analyze fails there.
Step 4: Project Generation
4.1 Create Flutter Project
4.2 Setup Folder Structure
4.3 Generate Base Files
core/errors/failures.dart
core/database/app_database.dart
core/di/injection.dart
4.4 Update pubspec.yaml
Based on selected preset, add all required dependencies.
4.5 Run Code Generation
4.6 Validation (REQUIRED)
Must pass with 0 errors. Info/warning level issues are acceptable.
If errors exist:
- Fix each error
- Re-run
dart run build_runner build - Re-run
flutter analyze - Repeat until 0 errors
Step 5: Initialize Git
Completion Checklist
- [ ] Project created with correct name/org
- [ ] Folder structure matches Clean Architecture
- [ ] Domain entities generated with Freezed
- [ ] Database tables created in Drift
- [ ] DI configured with injectable
- [ ]
flutter pub getsuccessful - [ ]
dart run build_runner buildsuccessful - [ ]
flutter analyzereturns 0 errors - [ ] Git initialized with initial commit
Output to User
After completion, inform:
References
For detailed code templates per pattern, see:
references/simple-pattern.mdreferences/stateful-pattern.mdreferences/categorized-pattern.mdreferences/tracked-pattern.mdreferences/relational-pattern.md
Note: The Custom pattern has no dedicated template because you design the user-defined fields yourself.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/flutter-project-init/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 2
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vp-k/flutter-craft/flutter-project-init)