professional-pr-workflow

Automate pull-request creation with GitHub CLI and code formatters.

1|Updated Sep 4, 2025
One-click install
npx skills add https://github.com/talent-factory/dotfiles --skill professional-pr-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: professional-pr-workflow
Source: https://github.com/talent-factory/dotfiles/tree/main/agents/claude/skills/professional-pr-workflow
Command: npx skills add https://github.com/talent-factory/dotfiles --skill professional-pr-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Dieser Skill automatisiert den kompletten Pull-Request-Workflow: Branch-Erstellung, Branch-Management, automatische Code-Formatierung und PR-Erstellung via GitHub CLI. Reduziert manuelle Schritte, spart Zeit und minimiert Fehler - ganz ohne Python-Abhängigkeiten.

Core Features & Use Cases

  • Intelligentes Branch-Management: Erkennt geschützte Branches (main/master/develop) und erstellt bei Bedarf Feature-Branches
  • GitHub CLI Integration: PR-Erstellung via gh pr create, Draft-PR-Support
  • Automatische Code-Formatierung: JS/TS (Biome, Prettier), Python (Black, isort, Ruff), Markdown
  • Draft-PR Support: Work-in-Progress PRs lassen sich leicht kennzeichnen
  • Zero Python Dependencies: Nur Standardbibliothek, einfache Integrierbarkeit

Quick Start

  • Via Claude Code: "Erstelle einen Pull Request mit dem professional-pr-workflow Skill"
  • Standard-PR-Workflow: python scripts/main.py
  • Draft-PR: python scripts/main.py --draft
  • Target-Branch ändern: python scripts/main.py --target develop

Frequently Asked Questions about professional-pr-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pull request creation with GitHub CLI?

Automate pull request creation using GitHub CLI integration to eliminate manual PR steps. This Skill handles branch detection, code formatting across multiple languages, and gh pr create execution with optional draft mode—reducing errors and manual workflow overhead.

Can I automatically format code across JavaScript, Python, and Markdown before submitting a PR?

Yes, automated code formatting runs cross-language formatters—Biome and Prettier for JS/TS, Black and Ruff for Python, markdownlint for Markdown—before PR submission, ensuring consistent style without manual intervention.

How do I handle protected branches when creating feature branches?

Protected-branch handling automatically detects main, master, and develop branches, then creates feature branches from the appropriate base when needed. This prevents direct commits to protected branches and enforces safe branching workflows.

What's the difference between standard and draft pull requests in automated workflows?

Draft PRs mark work-in-progress submissions without triggering reviews or CI checks immediately, while standard PRs activate the full review pipeline. Use the --draft flag to control this behavior during automated creation.

Do I need external dependencies or Python installations to run this PR automation?

No external Python dependencies required. This Skill uses only standard libraries and GitHub CLI, making it lightweight and easy to integrate into any repository without additional toolchain setup.

Can I customize which branch to target when creating a pull request?

Yes, the --target flag lets you specify the base branch (e.g., develop instead of main) at runtime, enabling flexible PR targeting without code changes.