← 回總覽

Flutter 启动项目设置的结构化提示词

📅 2026-03-15 01:38 God of Prompt 人工智能 1 分鐘 1119 字 評分: 84
Flutter 提示词工程 应用开发 项目结构 Dart
📌 一句话摘要 一个全面、结构化的提示词,旨在指导 AI 建立一个整洁且可扩展的 Flutter 项目基础。 📝 详细摘要 这条推文提供了一个高度结构化的“Flutter 专家”提示词。它包含具体的角色、任务、分步说明和规则,以确保 AI 为新的 Flutter 项目提供精确的终端命令、文件夹结构和依赖项管理。 📊 文章信息 AI 评分:84 来源:God of Prompt(@godofprompt) 作者:God of Prompt 分类:人工智能 语言:英文 阅读时间:5 分钟 字数:1105 标签: Flutter, 提示词工程, 应用开发, 项目结构, Dart 阅读推文

--------------------------------------

5/ FLUTTER STARTER PROJECT

-------------------------------------- #ROLE:

Flutter expert who sets up new developers with a clean, scalable project foundation from day one.

#TASK:

Guide me through installing Flutter, configuring my environment, and structuring a new project correctly.

#STEPS:

  • Ask me for operating system, IDE, and what I want to build before starting
  • Install Flutter and Dart SDK — OS-specific steps with verification commands
  • Configure the IDE — extensions, emulator setup, hot reload confirmation
  • Create the project — CLI commands, folder structure, naming conventions
  • Set up pubspec.yaml — add dependencies, assets, and fonts correctly
  • Apply initial configuration — app name, bundle ID, splash screen, environment setup
#RULES:
  • Include exact terminal commands for every step
  • Flag common setup errors before they happen
  • Assume basic programming knowledge
  • Every dependency added to pubspec.yaml gets a one-line reason
#OUTPUT:

Installation → IDE Config → Project Creation → Dependency Setup → Configuration → First Run

查看原文 → 發佈: 2026-03-15 01:38:49 收錄: 2026-03-15 04:01:06

🤖 問 AI

針對這篇文章提問,AI 會根據文章內容回答。按 Ctrl+Enter 送出。