PromptGarage / FOR_SMLFLG.md
smlflg's picture
Initial public upload from Projekte/PromptGarage
77c25ef verified
|
Raw History Blame Contribute Delete
1.55 kB
# PromptGarage — Vision
**Aktive Prompt-Werkbank** — beste Prompts iterieren, bewerten, wiederverwenden. CLI-first.
Ziel: ~10.000 Prompts aus allen Quellen (ChatGPT, Gemini, Claude) sammeln,
durchsuchbar machen, und die besten kuratieren (starred, use_count, tags).
## Spaeter-TODO
- Sidecar-Integration: automatische Prompt-Vorschlaege im Workflow
- Kuratierung: starred von 2 auf 50+ bringen
- Neue Importer: Claude JSONL, raw conversations.json
---
# Prompt Garage
Sammelt und kuratiert deine besten Prompts. SQLite + CLI, kein Web-UI.
## Stack
- Python 3, Click (CLI), SQLite + FTS5 (Volltext-Suche)
- Sidecar-Plugin fuer Autocomplete-Vorschlaege
## Struktur
- `garage.py` — CLI (12 Commands: add, list, search, star, rate, show, edit, delete, import-chatgpt, import-gemini, stats, export)
- `db.py` — SQLite Schema + CRUD (~130 LOC)
- `search.py` — FTS5 Wrapper
- `importer.py` — ChatGPT/Gemini Export Parser
- `sidecar_plugin.py` → lebt in `~/Projekte/Sidecar/rules/prompt_garage.py`
## Nutzung
```bash
garage add "Titel" --content "..." --tags coding,python --star
garage search "refactor"
garage list --starred
garage import-chatgpt ~/Downloads/Sessions_ChatGPT/pipeline/output/
garage stats
```
## Entscheidungen
- Kein ORM — reines sqlite3, FTS5 fuer Suche
- Dedup beim Import via MD5-Hash im source-Feld
- Tags als comma-separated statt M2M-Tabelle (KISS)
- Sidecar-Plugin sucht nur in starred Prompts (Top ~100)
## Datenbank
`prompts.db` (gitignored). Schema in `db.py`. Neu erstellt beim ersten `garage`-Aufruf.