From git-workflow
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).
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-workflow:professional-pr-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automates the complete pull request workflow: branch creation, code formatting, commit integration, and PR creation via GitHub CLI.
Automates the complete pull request workflow: branch creation, code formatting, commit integration, and PR creation via GitHub CLI.
Features:
Required:
gh) - installed and authenticatedOptional (for code formatting):
Check branch status:
Commit changes:
professional-commit-workflowFormat code (optional, skip with --no-format)
Create PR:
gh pr create# 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
biome format --write .prettier --write .eslint --fix .black .isort .ruff format .markdownlint --fix **/*.mdmdformat .============================================================
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
{
"protected_branches": ["main", "master", "develop"],
"default_target": "main",
"auto_delete_branch": false,
"formatters": {
"javascript": "biome",
"python": "black",
"java": "google-java-format"
}
}
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
npx claudepluginhub talent-factory/claude-plugins --plugin git-workflowCreates GitHub Pull Requests using GitHub CLI: detects existing PRs for branches, pushes changes, generates titles/bodies from commits. Handles monorepos/submodules. Use for /create-pr or PR/review requests.
Analyzes git diffs and commit history to fill PR templates and create pull requests via gh CLI. Useful for automating PR creation and descriptions.
Creates and manages GitHub pull requests via gh CLI: branch preparation, PR titles/descriptions, creation, review feedback, and merge/cleanup workflows.