commit-push-pr

Automate Git commits, pushes, and pull request creation or updates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/usadamasa/claude-config --skill commit-push-pr-usadamasa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-push-pr
Source: https://github.com/usadamasa/claude-config/tree/main/dotclaude/skills/commit-push-pr
Command: npx skills add https://github.com/usadamasa/claude-config --skill commit-push-pr-usadamasa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the entire process of committing code, pushing changes to a remote repository, and creating or updating a pull request, significantly reducing manual Git operations.

Core Features & Use Cases

  • Integrated Workflow: Combines commit, push, and PR creation/update into a single command.
  • Intelligent Mode Detection: Automatically determines whether to use 'fixup' mode (aggregating commits into a Draft PR) or 'simple' mode (standard commit, push, and PR).
  • Parent Branch Detection: Intelligently identifies the base branch for PRs using multiple fallback strategies.
  • Use Case: After finishing a feature, you can simply ask the AI to "commit-push-pr" and it will handle all the necessary Git commands, including creating a PR for review.

Quick Start

Ask the AI to create a pull request for your current changes.

Frequently Asked Questions about commit-push-pr

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

FAQPage Schema
How do I automate git commit, push, and pull request creation at once?

Automating git commit, push, and pull request creation is handled through an integrated workflow that combines all three operations into a single command, intelligently detecting existing PRs to update them automatically.

What is the best way to consolidate multiple commits into a draft PR?

Consolidating multiple commits into a draft PR is achieved using the 'fixup' mode, which aggregates pending commits and pushes them directly into a Draft PR for review.

How does pull request base branch detection work when pushing new changes?

Pull request base branch detection works by using multiple fallback strategies to intelligently identify the correct parent branch, ensuring new PRs target the appropriate base automatically.

Can I update an existing pull request instead of creating a new one?

Updating an existing pull request is fully supported; the workflow automatically detects if an open PR already exists for your branch and updates it rather than generating a duplicate.

Do I need any external dependencies to automate my GitHub workflow?

Automating your GitHub workflow requires no external dependencies, as the Skill operates independently using built-in scripts to manage commits, pushes, and PRs.