commit-push

Automate commit, push, PR creation, CI monitoring, merge, and post-merge validation.

12|5|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/davidahmann/gait --skill commit-push-davidahmann
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-push
Source: https://github.com/davidahmann/gait/tree/main/.agents/skills/commit-push
Command: npx skills add https://github.com/davidahmann/gait --skill commit-push-davidahmann

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the entire process of committing code, creating or updating a pull request, ensuring all continuous integration checks pass, merging the code, and handling post-merge validation, including a hotfix loop for immediate issues.

Core Features & Use Cases

  • Full CI/CD Automation: Manages the lifecycle from local commit to merged code with green CI.
  • Automated PR Management: Creates, updates, and monitors pull requests.
  • Robust Error Handling: Classifies CI failures and initiates hotfix loops for actionable issues.
  • Use Case: After completing a feature, use this Skill to commit your changes, open a PR, wait for all tests and checks to pass, merge it into the main branch, and verify that the post-merge CI also passes.

Quick Start

Use the commit-push skill to ship the current branch to main after all checks pass.

Frequently Asked Questions about commit-push

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 in one step?

Automating git commit, push, and pull request creation is handled by this Skill using GitHub CLI to manage the entire branch lifecycle. It formats the PR body using strict heredocs and pushes your code automatically.

Can I automatically merge a GitHub pull request only after CI checks pass?

Yes, you can automatically merge a GitHub pull request after CI checks pass. This Skill monitors continuous integration status and merges the branch into main only when all tests and validations are green.

Does this automated CI/CD workflow require the GitHub CLI?

Yes, this automated CI/CD workflow requires the GitHub CLI (`gh`) to be installed. It relies on the CLI for repository operations, pull request management, and branch merging actions.

How does automated hotfix handling work when continuous integration fails?

Automated hotfix handling works by classifying CI failures and initiating a hotfix loop for actionable issues. This Skill automatically attempts to resolve continuous integration failures up to two times before stopping.

What is the best way to manage post-merge CI validation for a git branch?

Managing post-merge CI validation is best handled by automating the entire commit and merge pipeline. This Skill verifies that continuous integration checks pass on the main branch after merging your pull request.

When should I not use automated pull request and CI merging automation?

You should not use automated pull request and CI merging automation if your repository lacks GitHub CLI support or if your continuous integration failures require more than two manual hotfix attempts.