Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

professional-commit-workflow

verified

Erstellt professionelle Git-Commits mit automatischen Pre-Commit-Checks für Java, Python, React und Dokumentation. Generiert Emoji Conventional Commit-Nachrichten und analysiert Staging-Status. Atomare Commits nach Best Practices.

View on GitHub

Marketplace

talent-factory

talent-factory/claude-plugins

Plugin

git-workflow

Repository

talent-factory/claude-plugins
1stars

plugins/git-workflow/skills/professional-commit-workflow/SKILL.md

Last Verified

February 3, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/talent-factory/claude-plugins/blob/main/plugins/git-workflow/skills/professional-commit-workflow/SKILL.md -a claude-code --skill professional-commit-workflow

Installation paths:

Claude
.claude/skills/professional-commit-workflow/
Powered by add-skill CLI

Instructions

# Professional Commit Workflow

## Overview

Dieser Skill automatisiert den kompletten Git-Commit-Workflow mit professionellen Qualitätschecks und konventionellen Commit-Nachrichten. Er ersetzt den `/commit` Command mit einem wiederverwendbaren, distribuierbaren Skill.

**Special Features:**
- ✅ **Automatische Projekterkennung** (Java, Python, React, Dokumentation)
- ✅ **Pre-Commit-Validierung** mit projektspezifischen Tools
- ✅ **Emoji Conventional Commits** (✨ feat, 🐛 fix, 📚 docs, etc.)
- ✅ **Intelligente Staging-Analyse** mit automatischem Add
- ✅ **Atomare Commit-Empfehlungen** bei mehreren logischen Änderungen
- ✅ **Performance-optimiert** durch modulare Validator-Architektur

## Prerequisites

**Required:**
- Git (version 2.0+)
- Python 3.8+

**Optional (für spezifische Validierungen):**
- **Java**: Maven oder Gradle
- **Python**: ruff, black, pytest, mypy
- **React/Node.js**: npm/pnpm/yarn/bun, ESLint, Prettier
- **Docs**: LaTeX, markdownlint, AsciiDoc

```bash
# Python dependencies installieren
pip install -r requirements.txt --break-system-packages
```

## Usage Workflow

1. **User initiiert Commit**: "Erstelle einen Commit" oder "Commit die Änderungen"

2. **Optionen erkennen**:
   - `--no-verify`: Überspringt Pre-Commit-Checks
   - `--skip-tests`: Überspringt nur Tests
   - `--force-push`: Force Push nach Commit (Vorsicht!)

3. **Projekt-Detection ausführen**:
   ```bash
   python scripts/project_detector.py
   ```
   Erkennt automatisch:
   - Java (Maven: pom.xml, Gradle: build.gradle)
   - Python (pyproject.toml, requirements.txt, setup.py)
   - React/Node.js (package.json mit react/next/vite)
   - Dokumentation (*.tex, *.md, *.adoc)

4. **Pre-Commit-Validierung** (falls nicht `--no-verify`):
   ```bash
   python scripts/main.py --validate-only
   ```
   Führt projektspezifische Checks aus:
   - **Java**: Build, Tests, Checkstyle, SpotBugs
   - **Python**: Ruff, Black, pytest, mypy
   - **React**: ESLint, Prettier, TypeScript, Build
   - **Docs**: LaT

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5707 chars