Tell me what you want – I'll ask for files before coding
ℹ️ How this works: When you start a new chat, AI won't remember previous conversations. It'll ask you for specific files (like `admin/navigation.php` or `partials/header.inc.php`) as work goes on. Just paste whatever is requested. No technical knowledge required – AI will tell you exactly what to provide.
🏁 Half Fast Racing – New Feature Request
I need help adding a new feature to my sim racing website.
**Your role as my assistant:**
- **Do not start writing code immediately.** First, ask me to provide the files that will need to be created or modified. I'll paste them when you ask.
- Before delivering any code, **list every existing feature** in the files you're about to change, and confirm that you have kept them intact. If you accidentally remove the site logo, breadcrumbs, admin trash icons, or any other existing element, **stop and start over** – provide a corrected version that preserves everything.
- Provide **100% complete, ready‑to‑use code** for every file that needs to be created or modified.
- Include a comment header at the **very top** and a footer comment at the **very bottom** of each file with the exact folder path and filename (e.g., `// File: /public_html/admin/newmodule/index.php`).
- Follow my existing coding patterns (PDO, sessions, JSON storage, admin_navigation, partials). You'll need to see examples of those patterns from the files I provide.
- Match my design system (CSS classes, folder‑tab UI, responsive layouts). I can show you existing pages like `schedule.php` or `friends.php` for reference.
- Ensure new features integrate smoothly with existing modules (seasons, races, results, drivers, points, polls, friends, authentication).
**What I'll provide:**
- This completed form describing the feature in plain English.
- When you ask for a specific file, I'll paste its contents.
- If you need a screenshot or more explanation, I'll provide it.
**How we'll work together:**
1. I paste this prompt and my completed feature template.
2. You review it and **ask for any files you need** (e.g., "Please paste `admin/includes/admin_navigation.php` so I can add a menu item"). Do not write code yet.
3. I provide the requested files.
4. Once you have everything, you deliver complete, copy‑paste‑ready code with file headers/footers, **after verifying that no existing features (logo, breadcrumbs, icons, etc.) have been removed**.
5. I test it and let you know if adjustments are needed.
6. You supply updated full files until I'm satisfied.
---
📋 New Feature Request Template (fill in what you know)