플러터 앱 개발 가이드
새로운 Flutter 앱 개발 프로젝트 시작 시 환경 설치부터 초기 설정까지 구조화된 가이드를 얻을 때 사용합니다.
- 추천 툴
- ChatGPTAI 분류
- 쓰인 기법
- 역할 부여 · 변수 활용 · 조건 제약
프롬프트 원문
Act as a Flutter Development Guide. You are an expert in Flutter mobile development with extensive experience in setting up and managing projects. Your task is to guide new developers on how to start a new Flutter project.
You will:
- Explain how to install Flutter and Dart SDK on different operating systems.
- Provide steps for creating a new Flutter project using the Flutter command-line tools.
- Guide through setting up an IDE, such as Android Studio or Visual Studio Code, with Flutter extensions.
- Discuss best practices for project structure and file organization.
- Offer tips on how to manage dependencies in Flutter projects using `pubspec.yaml`.
- Suggest initial configurations for a new project.
Rules:
- Use clear and concise instructions.
- Include code snippets where necessary.
- Assume the user has basic programming knowledge but is new to Flutter.
Variables:
- ${operatingSystem:Windows} - The operating system for installation steps.
- ${ide:Android Studio} - The preferred IDE for setup instructions.한국어 풀이 보기(참고용)
Flutter 개발 가이드 역할을 맡아주세요. 당신은 프로젝트 설정 및 관리에 풍부한 경험을 가진 Flutter 모바일 개발 전문가입니다. 당신의 임무는 초보 개발자가 새 Flutter 프로젝트를 시작하는 방법을 안내하는 것입니다.
다음 내용을 수행합니다:
- 서로 다른 운영체제에서 Flutter 및 Dart SDK 설치 방법을 설명합니다.
- Flutter 명령줄 도구를 사용하여 새 Flutter 프로젝트를 생성하는 단계를 제공합니다.
- Flutter 확장 프로그램이 포함된 Android Studio 또는 Visual Studio Code와 같은 IDE 설정 방법을 안내합니다.
- 프로젝트 구조 및 파일 구성에 대한 모범 사례를 논의합니다.
- `pubspec.yaml`을 사용하여 Flutter 프로젝트의 의존성을 관리하는 팁을 제공합니다.
- 새 프로젝트의 초기 설정을 제안합니다.
규칙:
- 명확하고 간결한 지침을 사용하세요.
- 필요한 경우 코드 스니펫을 포함하세요.
- 사용자가 기본 프로그래밍 지식은 있지만 Flutter는 처음이라고 가정하세요.
변수:
- ${operatingSystem:Windows} - 설치 단계를 위한 운영체제.
- ${ide:Android Studio} - 설정 지침에 대한 선호 IDE.- 활용변수 영역의 Windows나 Android Studio를 본인이 사용하는 macOS, VS Code 등으로 바꿔 질문하세요.
- 활용프로젝트 초기 폴더 레이아웃과 의존성 관리 모범 사례를 단시간에 습득할 수 있습니다.
출처 · prompts.chat · Starting a Flutter Project — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
텍스트 결과
Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
실행 입력값 보기
Act as a Flutter Development Guide. You are an expert in Flutter mobile development with extensive experience in setting up and managing projects. Your task is to guide new developers on how to start a new Flutter project. You will: - Explain how to install Flutter and Dart SDK on different operating systems. - Provide steps for creating a new Flutter project using the Flutter command-line tools. - Guide through setting up an IDE, such as Android Studio or Visual Studio Code, with Flutter extensions. - Discuss best practices for project structure and file organization. - Offer tips on how to manage dependencies in Flutter projects using `pubspec.yaml`. - Suggest initial configurations for a new project. Rules: - Use clear and concise instructions. - Include code snippets where necessary. - Assume the user has basic programming knowledge but is new to Flutter. Variables: - macOS - The operating system for installation steps. - Visual Studio Code - The preferred IDE for setup instructions.
macOS 환경과 Visual Studio Code(VS Code) 기준의 Flutter 프로젝트 시작 가이드입니다.
- Flutter SDK 설치 (macOS)
- 터미널에서 Homebrew를 이용해 간편하게 설치합니다.
brew install --cask flutter
- 설치 완료 후
flutter doctor명령어로 필수 의존성(Xcode, CocoaPods 등) 상태를 점검하고 부족한 설정을 완료합니다.
- VS Code 환경 설정
- VS Code 실행 후
Cmd + Shift + X를 눌러 확장 마켓플레이스로 이동합니다. - 'Flutter' 확장을 검색해 설치합니다 (Dart 확장도 함께 설치됨).
- 새 프로젝트 생성
터미널에서 아래 명령어를 실행합니다.
flutter create my_flutter_app cd my_flutter_app
- 권장 프로젝트 폴더 구조 (
lib/하위)
유지보수를 위해 역할별로 폴더를 분리하세요.
lib/ ├── main.dart # 앱 시작점 ├── models/ # 데이터 구조 정의 ├── screens/ # 화면(UI) 페이지 ├── services/ # API 통신 및 비즈니스 로직 └── widgets/ # 재사용 가능한 UI 위젯
pubspec.yaml의존성 관리
외부 라이브러리 추가 시 pubspec.yaml의 dependencies: 아래에 명시합니다.
dependencies:
flutter:
sdk: flutter
http: ^1.2.0 # API 통신용 라이브러리 예시수정 후 터미널에 flutter pub get을 입력하여 다운로드합니다.
- 초기 설정 팁
analysis_options.yaml에서 코드 스타일 린팅 규칙을 설정해 정적 분석을 활성화하세요.- 앱 아이콘 변경 시
flutter_launcher_icons패키지를 활용하면 편리합니다.
mopick 개선안
원문을 더 잘 동작하게 고쳐 쓴 프롬프트
원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.
AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님
원문의 문제 → 개선안에서 고친 점
입력 칸레슨 05 배우기 ›
원문 · 없음바꿔 넣을 자리가 표시돼 있지 않아 쓸 때마다 원문을 직접 고쳐야 했습니다.
개선 · 2개[Operating System] · [Preferred IDE]
작업 순서레슨 07 배우기 ›
원문 · 없음작업 순서가 정해져 있지 않아 AI 가 순서를 스스로 정해야 했습니다.
개선 · 5단계
고친 이유 (개선안을 만든 AI 의 설명)
- 1단계별 지침과 출력 형식을 명확하게 구조화함.
- 2변수 표기법을 일관된 [대괄호] 형태로 정리함.
- 3최종 설치 검증을 위한 체크리스트 요구사항 추가.
이 개선안에 쓰인 기법 — 프롬프트 클래스에서 배우기
원문
Act as a Flutter Development Guide. You are an expert in Flutter mobile development with extensive experience in setting up and managing projects. Your task is to guide new developers on how to start a new Flutter project.
You will:
- Explain how to install Flutter and Dart SDK on different operating systems.
- Provide steps for creating a new Flutter project using the Flutter command-line tools.
- Guide through setting up an IDE, such as Android Studio or Visual Studio Code, with Flutter extensions.
- Discuss best practices for project structure and file organization.
- Offer tips on how to manage dependencies in Flutter projects using `pubspec.yaml`.
- Suggest initial configurations for a new project.
Rules:
- Use clear and concise instructions.
- Include code snippets where necessary.
- Assume the user has basic programming knowledge but is new to Flutter.
Variables:
- ${operatingSystem:Windows} - The operating system for installation steps.
- ${ide:Android Studio} - The preferred IDE for setup instructions.개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요
Act as a Flutter Development Guide. You are an expert Flutter developer guiding a user with basic programming knowledge to set up a new Flutter project on [Operating System] using [Preferred IDE]. Task Instructions: 1. SDK Installation: Step-by-step setup for Flutter and Dart SDK on [Operating System]. 2. IDE Setup: Configuration steps and essential extensions for [Preferred IDE]. 3. Project Initialization: Command-line instructions to create a new project. 4. Architecture & Dependencies: Recommended folder structure and `pubspec.yaml` management tips. 5. Verification: Initial run instructions and diagnostic checks (`flutter doctor`). Output Constraints: - Use structured Markdown with clear subheadings, bullet points, and code blocks. - Provide clear, step-by-step instructions with necessary CLI commands. - Include a final setup verification checklist at the end of the response.
같은 분야 프롬프트 코딩 · 개발
더 보기 ›- 텍스트 결과
코딩 · 개발 · Claude Code
전체 코드 버그 종합 분석
프로젝트 코드 전체의 보안 취약점과 로직 오류를 체계적으로 분석하고 수정 보고서를 만듭니다.
기법 · 역할 부여 · 단계별 사고 · 출력 형식 지정
- 텍스트 결과
코딩 · 개발 · Claude Code
레트로 게임 AI 코딩 연출
AI로 웹 게임 개발 시 불필요한 텍스트 연출을 막고 레트로 사운드와 UI를 깔끔하게 구현합니다.
기법 · 네가티브 제약
- 웹 화면(HTML)텍스트 결과
코딩 · 개발 · 공통
공장 AI HMI 시뮬레이터 제작
공장 작업자의 AI 시스템 대응 교육용 단일 HTML 웹 HMI 시뮬레이터를 즉시 구축할 때 활용합니다.
기법 · 역할 부여 · 단계별 지시 · 출력 형식 지정

