Pull Request Workflow
Automates the end-to-end pull request lifecycle from pre-flight checks and branching to CI debugging and squashing.
The Pull Request Workflow skill guides Claude Code through a disciplined, end-to-end process for submitting code changes via Git and GitHub CLI. It enforces clean branching conventions, atomic file staging, structured HEREDOC commit messaging, and standard PR templates. When continuous integration checks fail, the skill systematically inspects GitHub Actions run logs, reproduces issues locally, applies targeted fixes, and pushes updates until tests pass, enabling safe, standardized squash merges with zero manual friction.
Key Features
01Prevents accidental staging of sensitive files and environment artifacts through explicit staging rules
02Executes safe squash-and-merge operations with automatic remote branch cleanup upon explicit user approval
03Creates formatted pull requests with detailed change tables and verification checklists via GitHub CLI
041,210 GitHub stars
05Enforces standardized branch naming conventions across feature, fix, chore, and refactor workflows
06Automates CI failure diagnosis by pulling remote logs and recommending targeted local reproduction commands
Use Cases
01Submitting clean feature or bug fix branches with standardized commit messages and structured PR descriptions
02Diagnosing and resolving remote GitHub Actions CI test or typecheck failures before merging
03Executing safe, user-approved squash merges that clean up remote branches and synchronize local main