professional-pr-workflow
/professional-pr-workflow
Automatyzuje tworzenie pull requestów: zarządzanie gałęziami, formatowanie kodu, opisy PR i integrację z commitami, przez GitHub CLI.
- Autor
- talent-factory ↗
- Repozytorium
- claude-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 15
- Skrypty
- 6
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 6 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/formatters/__init__.py, scripts/formatters/code_formatter.py, scripts/git/__init__.py, scripts/git/branch_manager.py, scripts/git/pr_creator.py, scripts/main.py
Co robi i kiedy
Automatyzuje tworzenie pull requestów: zarządzanie gałęziami, formatowanie kodu, opisy PR i integrację z commitami, przez GitHub CLI.
Wyzwalacze z opisu
Oryginalny opis (EN)
Automates pull request creation with branch management, code formatting, and integration with professional-commit-workflow. Supports GitHub CLI, automated PR descriptions, and project-specific formatters (Biome, Black, Prettier). Use when the user asks to "create a PR", "open a pull request", or "push this and open a PR".
Jak działa
- Overview
- Prerequisites
- Usage Workflow
- Main Script Usage
- Supported Formatters
- Output Example
- Configuration
- Error Handling
- References
Podgląd SKILL.md
---
name: professional-pr-workflow
description: Automates pull request creation with branch management, code formatting, and integration with professional-commit-workflow. Supports GitHub CLI, automated PR descriptions, and project-specific formatters (Biome, Black, Prettier). Use when the user asks to "create a PR", "open a pull request", or "push this and open a PR".
---
# Professional PR Workflow
## Overview
Automates the complete pull request workflow: branch creation, code formatting, commit integration, and PR creation via GitHub CLI.
**Features:**
- Intelligent branch management - detects protected branches
- Integration with professional-commit-workflow - no commit duplication
- Automatic code formatting (Biome, Black, Prettier, etc.)
- GitHub CLI integration - PR creation, labels, issue linking
- Meaningful PR descriptions with test plan
- Draft PR support - mark WIP PRs
## Prerequisites
**Required:**
- Git (2.0+)
- Python 3.8+
- GitHub CLI (`gh`) - installed and authenticated
**Optional (for code formatting):**
- **JavaScript/TypeScript**: Biome or Prettier
- **Python**: Black, isort, Ruff
- **Java**: Google Java Format
- **Markdown**: markdownlint
## Usage Workflow
1. **Check branch status**:
- Protected branch (main/master/develop)? -> Create new branch
- Feature branch? -> Use current branch
2. **Commit changes**:
- Uncommitted changes? -> Invoke `professional-commit-workflow`
- Already committed? -> Use existing commits
3. **Format code** (optional, skip with `--no-format`)
4. **Create PR**:
- Push branch to remote
- Generate PR title and description
- Create PR via `gh pr create`
## Main Script Usage
```bash
# Standard PR workflow
python scripts/main.py
# Draft PR
python scripts/main.py --draft
# Without formatting
python scripts/main.py --no-format
# Single commit (all changes in one)
python scripts/main.py --single-commit
# Change target branch
python scripts/main.py --target develop
```
## Supported Formatters
### JavaScript/TypeScript
- **Biome** (preferred): `biome format --write .`
- **Prettier**: `prettier --write .`
- **ESLint**: `eslint --fix .`
### Python
- **Black**: `black .`
- **isort**: `isort .`
- **Ruff**: `ruff format .`
### Java
- **Google Java Format**: Via Maven/Gradle plugin
### Markdown
- **markdownlint**: `markdownlint --fix **/*.md`
- **mdformat**: `mdformat .`
## Output Example
```text
============================================================
Professional PR Workflow
============================================================
Branch status: main (protected)
New branch created: feature/user-dashboard-2024-12-21
Code formatting:
Biome: 5 files formatted
ESLint: 0 errors
Branch pushed: origin/feature/user-dashboard-2024-12-21
PR created: #42
https://github.com/user/repo/pull/42
PR workflow completed successfully
```
## Configuration
### pr_config.json
```json
{
"protected_branches": ["main", "master", "develop"],
"default_target": "main",
"auto_delete_branch": false,
"formatters": {
"javascript": "biome",
"python": "black",
"java": "google-java-format"
}
}
```
## Error Handling
**Branch errors**: Checks existing branches, offers alternative names
**Format errors**: Shows details, enables `--no-format` fallback
**GitHub CLI errors**: Checks authentication, shows gh setup instructions
**Push errors**: Retry logic, manual push commands
## References
- **[Code Formatting](docs/code-formatting.md)**: Formatter details
- **[Commit Workflow](docs/commit-workflow.md)**: Integration with commit skill
- **[PR Template](docs/pr-template.md)**: PR best practices
- **[Troubleshooting](docs/troubleshooting.md)**: Troubleshooting
Pliki w paczce (15)
- .gitignore 1 KB
- README.md 2 KB
- SKILL.md 4 KB
- requirements.txt 1 KB
- config/pr_config.json 1 KB
- docs/code-formatting.md 6 KB
- docs/commit-workflow.md 10 KB
- docs/pr-template.md 9 KB
- docs/troubleshooting.md 10 KB
- scripts/main.py 2 KB
- scripts/formatters/__init__.py 1 KB
- scripts/formatters/code_formatter.py 1 KB
- scripts/git/__init__.py 1 KB
- scripts/git/branch_manager.py 1 KB
- scripts/git/pr_creator.py 1 KB
Wersje
W bazie nie ma innych skilli o nazwie professional-pr-workflow.
Migawka bazy z 13.11.2026 · wersja paczki ed9fe6352355 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100create-pull-request
Tworzy pull request na GitHubie zgodnie z konwencjami projektu: analizuje commity, zarządza gałęziami i szablonem, a potem otwiera PR przez gh. - 95SourceControl
Automatyzuje pracę z Gitem: commity w konwencji, zarządzanie gałęziami, push i tworzenie pull requestów. - 100create-pull-request
Tworzy pull request na GitHubie zgodnie z konwencjami projektu: analizuje commity, zarządza gałęzią i tworzy PR przez gh CLI. - 100pr
Pisze opisy pull requestów i merge requestów. - 100create-pull-request
Tworzy pull request na GitHubie zgodnie z konwencjami projektu: analizuje commity, zarządza gałęzią, używa szablonu PR i tworzy PR przez gh CLI. - 100pr
Tworzy uporządkowany PR na GitHubie: gałąź, implementacja, testy, formatowanie, commit i rozbudowany opis zmian.