0% found this document useful (0 votes)
2 views3 pages

Vibe Coding Prompt Guide

The Vibe Coding Prompt Engineering Guide provides a structured approach to creating software prompts for various applications, including desktop and mobile apps. It includes a master prompt template, refinement, debugging, feature addition, and UI improvement prompts, along with specific examples for Python, Flutter, and web applications. Additionally, it outlines a step-by-step mini project for building a student management app using Tkinter, detailing features and requirements for each step.

Uploaded by

Rapheal Ayomide
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Vibe Coding Prompt Guide

The Vibe Coding Prompt Engineering Guide provides a structured approach to creating software prompts for various applications, including desktop and mobile apps. It includes a master prompt template, refinement, debugging, feature addition, and UI improvement prompts, along with specific examples for Python, Flutter, and web applications. Additionally, it outlines a step-by-step mini project for building a student management app using Tkinter, detailing features and requirements for each step.

Uploaded by

Rapheal Ayomide
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Vibe Coding Prompt Engineering Guide

1. Prompt Cheat Sheet


MASTER PROMPT TEMPLATE
You are a senior [LANGUAGE] developer.

Build a [TYPE OF APP] with the following features:


- [Feature 1]
- [Feature 2]
- [Feature 3]

Tech stack:
- Language: [Python / Dart]
- Framework: [Tkinter / PyQt / Flutter]
- Database: [SQLite / Firebase]

Requirements:
- Clean and modular code
- Beginner-friendly structure
- Add comments for explanation

Output:
- Full working code
- File structure
- Setup instructions

REFINEMENT PROMPT
Refactor this code to:
- improve readability
- follow best practices
- reduce duplication
- optimize performance

DEBUG PROMPT
Fix this error and explain the cause:

[PASTE ERROR]
[PASTE CODE]

FEATURE ADD PROMPT


Add the following feature without breaking existing code:

Feature:
- [Describe feature]

Constraints:
- Maintain current structure
- Keep UI consistent

UI IMPROVEMENT PROMPT
Improve the UI to look modern and clean.

- Use spacing and alignment


- Add colors and styling
- Keep it responsive

2. Real Copy-Paste Prompts


PYTHON DESKTOP APP
You are a senior Python developer.

Create a Python Tkinter desktop application for student management.


Features:
- User registration (name, ID, photo)
- Save data to SQLite database
- Display students in a table
- Prevent duplicate entries

Requirements:
- Use clean OOP structure
- Separate UI and database logic
- Add comments

Output:
- Full working code
- Database schema

PYTHON + HARDWARE
Build a Python desktop app that communicates with an ESP32 via serial.

Features:
- Connect/disconnect to COM port
- Send commands to control relays
- Display received data
- Log data to file

Use Tkinter for UI.

Make the code modular and easy to expand.

FLUTTER MOBILE APP


You are a senior Flutter developer.

Create a Flutter app with:

Features:
- Login screen
- Dashboard screen
- Fetch data from REST API
- Local storage using SQLite

Requirements:
- Clean UI (Material Design)
- Proper folder structure
- Comment important parts

Output:
- Full Dart code
- Folder structure

WEB APP
Create a full-stack web app for student management.

Features:
- Admin login
- Add/edit/delete students
- Dashboard with statistics

Tech:
- Frontend: HTML, CSS, JavaScript
- Backend: Python Flask
- Database: SQLite

Output:
- Full project files
- Instructions to run locally

3. Live Mini Project (Step-by-Step Prompts)


STEP 1
Build a simple student management desktop app using Tkinter.

Features:
- Add student (name, ID)
- Display students in a list
- Save data to SQLite

Requirements:
- Clean and simple UI
- Beginner-friendly code
- Use functions and modular structure

Output:
- Full working code

STEP 2
Add a feature to prevent duplicate student IDs.

Show an error message if duplicate is detected.

STEP 3
Improve the UI:
- Add labels and spacing
- Make it look modern
- Align elements properly

STEP 4
Add a search bar to filter students by name or ID.

STEP 5
Extend this app to:
- Save student photo
- Connect to an ESP32 via serial
- Log attendance when a button is clicked

You might also like