pr-automation

Automate Pull Request creation with GitHub CLI and HEREDOC templates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/CodeTonight-SA/claude-optim --skill pr-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-automation
Source: https://github.com/CodeTonight-SA/claude-optim/tree/main/skills/pr-automation
Command: npx skills add https://github.com/CodeTonight-SA/claude-optim --skill pr-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git.

What problem does it solve?

Manually creating Pull Requests (PRs) involves repetitive Git commands, crafting detailed descriptions, and ensuring proper formatting, which can be time-consuming and inconsistent. This skill automates the entire PR creation workflow using GitHub CLI (gh).

Core Features & Use Cases

  • Full PR Workflow Automation: Handles branch creation, staging changes, generating commit messages, pushing to remote, and creating the PR with a single command.
  • Concise & Structured PRs: Utilizes HEREDOC templates for well-formatted, token-efficient commit messages and PR bodies, including changes, files modified, and testing details.
  • Efficiency Optimizations: Batches Git operations and avoids interactive prompts to minimize token usage and maximize speed.
  • Use Case: You've completed a feature or bug fix and want to quickly create a well-structured Pull Request for review.

Quick Start

"Create a Pull Request for my current changes, targeting the 'main' branch." "Automate the PR creation process for my new feature branch."