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

professional-pr-workflow

verified

Automatisiert Pull-Request-Erstellung mit Branch-Management, Code-Formatierung und Integration mit professional-commit-workflow. Unterstützt GitHub CLI, automatische PR-Beschreibungen und projektspezifische Formatter (Biome, Black, Prettier).

View on GitHub

Marketplace

talent-factory

talent-factory/claude-plugins

Plugin

git-workflow

Repository

talent-factory/claude-plugins
1stars

plugins/git-workflow/skills/professional-pr-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-pr-workflow/SKILL.md -a claude-code --skill professional-pr-workflow

Installation paths:

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

Instructions

# Professional PR Workflow

## Overview

Automatisiert den kompletten Pull-Request-Workflow: Branch-Erstellung, Code-Formatierung, Commit-Integration und PR-Erstellung via GitHub CLI.

**Features:**
- ✅ **Intelligentes Branch-Management** - Erkennt geschützte Branches
- ✅ **Integration mit professional-commit-workflow** - Keine Commit-Duplikation
- ✅ **Automatische Code-Formatierung** (Biome, Black, Prettier, etc.)
- ✅ **GitHub CLI Integration** - PR-Erstellung, Labels, Issue-Verlinkung
- ✅ **Aussagekräftige PR-Beschreibungen** mit Test-Plan
- ✅ **Draft-PR Support** - WIP-PRs markieren

## Prerequisites

**Required:**
- Git (2.0+)
- Python 3.8+
- GitHub CLI (`gh`) - installiert und authentifiziert

**Optional (für Code-Formatierung):**
- **JavaScript/TypeScript**: Biome oder Prettier
- **Python**: Black, isort, Ruff
- **Java**: Google Java Format
- **Markdown**: markdownlint

## Usage Workflow

1. **Branch-Status prüfen**:
   - Geschützter Branch (main/master/develop)? → Neuer Branch erstellen
   - Feature-Branch? → Aktuellen Branch verwenden

2. **Änderungen committen**:
   - Uncommitted changes? → Rufe `professional-commit-workflow` auf
   - Bereits committed? → Verwende bestehende Commits

3. **Code formatieren** (optional mit `--no-format` überspringen)

4. **PR erstellen**:
   - Push Branch zu Remote
   - Generiere PR-Titel und Beschreibung
   - Erstelle PR via `gh pr create`

## Main Script Usage

```bash
# Standard-PR-Workflow
python scripts/main.py

# Draft-PR
python scripts/main.py --draft

# Ohne Formatierung
python scripts/main.py --no-format

# Single Commit (alle Änderungen in einem)
python scripts/main.py --single-commit

# Target Branch ändern
python scripts/main.py --target develop
```

## Supported Formatters

### JavaScript/TypeScript
- **Biome** (bevorzugt): `biome format --write .`
- **Prettier**: `prettier --write .`
- **ESLint**: `eslint --fix .`

### Python
- **Black**: `black .`
- **isort**: `isort .`
- **Ruff**: `ruff format .`

### Java
- *

Validation Details

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