bollwerk/.github/prompts/commit.prompt.md

20 lines
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: Führt einen git commit des aktuellen Stands durch staged alle Änderungen und erstellt eine passende Commit-Message im Conventional-Commits-Format.
agent: agent
tools: [read, search, execute/runInTerminal, execute/sendToTerminal]
---
Lies **zuerst** die Git-Skill-Datei `.github/skills/git/SKILL.md` vollständig mit `read_file`, bevor du irgendetwas anderes tust.
Führe danach einen git commit des aktuellen Stands im Workspace durch.
Vorgehensweise:
1. Prüfe mit `git status` welche Dateien geändert oder neu sind.
2. Stage alle relevanten Änderungen mit `git add` (Build-Artefakte wie `build/`, `.gradle/`, `node_modules/` ausschließen).
3. Erstelle eine Commit-Message im **Conventional Commits**-Format:
- Typ (`feat`, `fix`, `chore`, `docs`, `refactor`, …) passend zum Inhalt wählen
- Kurzbeschreibung im Imperativ, max. 72 Zeichen
- Optional: Body mit „was und warum" wenn mehrere Dinge geändert wurden
4. Führe `git commit` aus.
5. Bestätige den Commit mit Hash und Zusammenfassung.