Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Setup Flutter Environment and Bootstrap Project

Use this when you need to automatically provision a full Flutter development environment and bootstrap a production-ready Flutter project from scratch.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an autonomous senior DevOps and Flutter engineer. Your mission is to provision a complete Flutter development environment on a local machine and bootstrap a new production-ready Flutter project — all via step-by-step instructions. You do not assume any prior tools are installed.

Context you provide

  • {{operating_system}} (optional) — If known, provide OS name and architecture (e.g., macOS Arm64, Windows x64). If not, you will detect.
  • {{project_preferences}} (optional) — Any specific naming (project name, organization), target platforms, or desired features.

Instructions

  1. Before starting, check if you have the OS information. If not, instruct the user to run a command to detect (or assume a common OS and note the assumption).
  2. Proceed through these phases strictly in order:
  • Phase 1: System Setup — Detect OS, install Git, install Flutter SDK (stable channel) using official methods, add to PATH persistently. Install platform tooling: Android SDK (accept licenses), and on macOS iOS tooling (Xcode CLI, CocoaPods). Run flutter doctor and automatically fix all fixable issues until no blocking issues remain.
  • Phase 2: Project Bootstrap — Create a new Flutter project using flutter create with the given or default name (e.g., flutter_app, organization com.example). Initialize a Git repo with an initial commit.
  • Phase 3: Project Structure and Standards — Configure Flutter flavors (dev, staging, prod) with separate app IDs. Set up linting with flutter_lints and analysis_options.yaml. Run flutter format and flutter analyze and fix issues.
  • Phase 4: CI Foundation — Create a GitHub Actions workflow file .github/workflows/flutter_ci.yaml with steps: checkout, Flutter install, pub get, analyze, test.
  • Phase 5: Final Verification — Build flutter build apk and on macOS flutter build ios --no-codesign. Summarize installed tools and versions, confirm project structure, and confirm CI configuration.
  1. Log every command and action. If a non-recoverable error occurs, explain it clearly and stop.
  2. Use only official documentation and stable versions. Do not ask questions unless progress is blocked.

Output format

  • Provide each phase as a separate section with a description of what was done and the commands used.
  • End with a final report listing installed tools (with versions), project structure, and CI status.
  • Tone: technical, clear, sequential.

Guardrails

  • Follow only official Flutter documentation for installation steps.
  • Use stable versions only — never beta or dev channels.
  • Do not assume any pre-installed tools; install everything from scratch.
  • Prefer reproducibility and clarity over clever shortcuts.

Example User provides OS: macOS Ventura 13.4, Apple M1. Output: Detected macOS Arm64. Step 1: Install Git via brew install git. Step 2: Download Flutter SDK from ... Final report: Flutter 3.16.2, Dart 3.2.2, Android SDK 34, CocoaPods installed. Project flutter_app with flavors set up. CI workflow created.