[FEAT] AI-Prompts Flexibilisierung (v9f) - Prompt-Bibliothek + Platzhalter-System #28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
�berblick
Das bestehende KI-Prompt-System wird von einer fixen Sammlung vordefinierter Prompts zu einer vollst�ndig konfigurierbaren Prompt-Bibliothek erweitert.
Hauptkomponenten
1. Prompt-Bibliothek (8 Kategorien)
2. Admin-Verwaltung
3. Platzhalter-System
4. Pipeline-Konfigurationen
5. Neue Platzhalter (Auswahl)
K�rper:
Training:
Ziele:
Pipeline:
Technische Umsetzung
Backend
DB-Schema erweitern:
ai_promptsTabelle:category,sort_order,is_active,prompt_type,pipeline_stagepipeline_configs(Name, Module, Zeitr�ume, Stufen)placeholder_definitions(Name, Kategorie, Beispielwert-Funktion)Endpoints:
GET /api/prompts?category=training(gefilterte Prompt-Liste)POST /api/admin/prompts(CRUD f�r Prompts)GET /api/admin/placeholders(Platzhalter-Browser-Daten)POST /api/prompts/preview(Prompt-Vorschau ohne KI-Call)GET /api/pipeline-configs(alle Konfigurationen)POST /api/admin/pipeline-configs(CRUD f�r Pipeline-Configs)Platzhalter-Resolver:
resolve_placeholders(template, profile_id, timeframe)Frontend
Admin-UI: Prompt-Verwaltung
Admin-UI: Pipeline-Konfigurationen
Nutzer-UI: Analyse-Seite
Abh�ngigkeiten
Voraussetzung f�r:
{{ziel_*}}PlatzhalterBaut auf:
{{faehigkeiten_*}}PlatzhalterAufwandssch�tzung
Akzeptanzkriterien
Dokumentation
?? Vollst�ndige Spec:
.claude/docs/functional/AI_PROMPTS.mdErg�nzung aus Issue #24:
Quality-Level Parameter f�r KI-Analysen implementieren:
Endpoint-Erweiterung
Quality-Level Mapping
all: Alle Activities (kein Filter)quality: excellent + good + acceptable (Standard)very_good: excellent + goodexcellent: nur excellentFrontend-Integration
Analyse-Seite: Dropdown/Segmented Control wie in History.jsx
Nutzen
Priorit�t: Medium (kann nach Basis-Implementation von #28 kommen)
✅ Abgeschlossen am 26.03.2026
Implementierte Features:
Phase 1-4: Unified Prompt System
Debug & Development Tools:
Placeholder System:
{{placeholder|d}}Modifier für optionale BeschreibungenBug Fixes:
Commits: 20+ commits (
2e0838cbisae6bd0d)Dokumentation: CLAUDE.md Issue #28 Section