OpenAI & ChatGPT · Foto: Kevin Rheese, CC BY 2.0
Local Business Management MVP Phase 1 Foundation
Zuletzt aktualisiert:
Typ
Prompt
Lizenz
CC0-1.0 (Public Domain)
Anwendungsfeld
Prompt-Bibliothek
Voraussetzungen
Keine besonderen — direkt loslegen.
Go-Prompt für den technischen Unterbau (DB, API, Health-Check) eines Local-Business-Systems, Phase 1 ohne Fachlogik.
Der Prompt
# MVP Phase 1 — Foundation
## Objective
Create the technical foundation of the Local Business Management System.
Do NOT implement business features yet.
The goal is to have a clean Go application that:
1. Starts successfully
2. Loads configuration
3. Connects to PostgreSQL
4. Runs database migrations
5. Exposes an HTTP API
6. Has structured logging
7. Has health checks
8. Has clean application startup/shutdown
## Stack
* Go
* PostgreSQL
* HTTP REST API
* SQL migrations
* Environment/configuration system
* Structured logging
## Initial Structure
```text
cmd/
server/
main.go
internal/
platform/
config/
database/
http/
logging/
core/
migrations/
api/
go.mod
Required Endpoint
GET /health
Expected response:
{
"status": "ok",
"database": "ok"
}
Requirements
Implement graceful shutdown.
Database connection must use connection pooling.
Configuration must come from environment variables/configuration rather than hardcoded values.
Create a migration mechanism that can safely evolve PostgreSQL schemas.
Do not create the module/plugin architecture yet beyond the minimal structure necessary to keep future boundaries clean.
Deliverable
A running local Go server connected to PostgreSQL with a clean project structure and migration system.
Nothing else.
## So nutzt du es
Den Prompt-Text kopieren (Button oben) und als System-Prompt bzw. erste Nachricht in ChatGPT, Claude oder einem lokalen Modell einfügen. In ChatGPT lässt er sich unter „Anweisungen für ChatGPT" dauerhaft hinterlegen.
Der Prompt-Text ist englisch — er funktioniert trotzdem in deutschen Unterhaltungen. Für deutsche Antworten einfach am Ende ergänzen: „Antworte auf Deutsch."
## Im Detail
Dieser Prompt liefert eine Phase-1-Spezifikation für den technischen Unterbau eines "Local Business Management"-Systems in Go: Konfiguration, PostgreSQL-Anbindung, Migrationen, REST-API, strukturiertes Logging, Health-Check-Endpoint, saubere Start-/Shutdown-Logik. Explizit keine Fachlogik in dieser Phase, nur Grundgerüst. Geeignet für Entwickler, die mit einer KI eine Boilerplate-Struktur für ein neues Go-Backend aufbauen wollen, bevor die eigentliche Business-Logik folgt. Vorteil gegenüber freien Prompts: klare Ordnerstruktur (cmd/, internal/platform/, migrations/, api/) und ein konkreter Endpoint-Vertrag (GET /health mit JSON-Antwort) reduzieren Rückfragen und Varianz im generierten Code. Für andere Stacks als Go/PostgreSQL ungeeignet.
## Praxis-Tipp
Vor dem Einsatz go.mod-Modulnamen und DB-Zugangsvariable ergänzen, z. B. "Modulname: github.com/firma/lbm, Verbindung über DATABASE_URL".
## Lizenz & Quelle
- **Lizenz:** CC0-1.0 (Public Domain)
- **Quelle:** [awesome-chatgpt-prompts (GitHub)](https://github.com/f/awesome-chatgpt-prompts)
So einfach geht’s
- 01
Anrufen oder schreiben
Anruf, WhatsApp oder Formular. Die Ersteinschätzung am Telefon ist kostenlos.
- 02
Termin oder Fernhilfe
Ich komme zu Ihnen oder helfe per Fernhilfe am Bildschirm. Den Kostenrahmen erfahren Sie, bevor ich anfange.
- 03
Erledigt, bezahlt wird danach
Es läuft, und Sie wissen, wie es geht. Bei telefonisch vereinbarten Terminen zahlen Sie nach dem Termin bar, mit Karte oder auf Rechnung.
Inhalt ansehen (local-business-management-mvp-phase-1-foundation.txt)
Lade …
Erfahrungen & Kommentare.
Funktioniert der Prompt bei Ihnen? Tipps, Stolperfallen, Varianten — teilen Sie es mit der Community.
Lade Kommentare …
Passt dazu.
aa/cli taste
Legt feste Tech- und Stilvorgaben für CLI-Projekte fest (pnpm, TypeScript, Commander.js, klare Ordnerstruktur).
Accessibility Auditor
Lässt die KI als Accessibility-Experte auf WCAG-2.2- und Section-508-Konformität prüfen.
Act as a Senior Codebase Auditor & Tech Debt Refactorer
Lässt die KI wie ein Senior-Engineer Altcode auf toten Code, Duplikate und unnötige Komplexität prüfen.
