bollwerk/.github/prompts/report.prompt.md

41 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: "Erstellt einen kompakten Aktivitätsbericht auf Basis von git-Historie und GitHub-Tickets. Aufruf: /report <Von-Zeitpunkt> [bis <Bis-Zeitpunkt>]"
argument-hint: "<Von-Zeitpunkt> [bis <Bis-Zeitpunkt>]"
agent: agent
tools: [execute, read, edit]
---
# Aktivitätsbericht generieren
**Eingabe:** `$input`
## Zeitraum parsen
Extrahiere aus der Eingabe:
- **Von:** Startdatum/-zeit
- **Bis:** Enddatum/-zeit (Default: jetzt)
Unterstützte Formate: `letzten Mittwoch 1300`, `2026-05-01`, `gestern`, `heute morgen`
## Daten sammeln
### Git-Log
```powershell
git log --after="VON" --before="BIS" --format="%ad|%cd|%H|%s" --date=format:"%Y-%m-%d %H:%M"
```
### GitHub Issues (falls Repo konfiguriert)
```powershell
gh issue list --state closed --json number,title,labels,closedAt,createdAt
```
## Bericht erstellen
Formatiere als kompakte Zusammenfassung:
1. **Zeitraum:** Von Bis
2. **Commits:** Anzahl, gruppiert nach Typ (feat/fix/chore/...)
3. **Geschlossene Issues:** Liste mit Titeln
4. **Highlights:** Die 35 wichtigsten Änderungen in je einem Satz