|
Download FOR_SMLFLG.md from smlflg/PromptGarage: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/smlflg/PromptGarage/resolve/main/FOR_SMLFLG.md
- Command line
-
hf download hf://smlflg/PromptGarage/FOR_SMLFLG.md
-
curl -L -o FOR_SMLFLG.md https://huggingface.co/smlflg/PromptGarage/resolve/main/FOR_SMLFLG.md
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. | |