commit

Automate Git commits, pull request creation, and merging via the gh CLI.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/AndreaMentasti/tweet-election --skill commit-andreamentasti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/AndreaMentasti/tweet-election/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/AndreaMentasti/tweet-election --skill commit-andreamentasti

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the standard Git commit, pull request creation, and merging process, reducing manual steps and ensuring consistency in your development workflow.

Core Features & Use Cases

  • Automated Branching: Creates a new descriptive branch for your changes.
  • Staged Commits: Safely stages specified files with a generated or provided commit message.
  • PR Creation & Merging: Automates the creation of GitHub Pull Requests and their subsequent merge to the main branch.
  • Use Case: After making several code changes, you can use this Skill to quickly create a branch, commit your work with a clear message, open a PR for review, and merge it back into main, all with a single command.

Quick Start

Use the commit skill to stage all changes, commit with the message "feat: add new user authentication", create a PR, and merge it to main.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate git commit and pull request creation workflows?

You can automate the git commit and pull request cycle by using a workflow automation tool to create a new branch, stage specific files, craft a commit message, open a PR via the GitHub CLI, and merge it to main.

What is the best way to streamline a git branching and merging process?

Streamlining a git branching and merging process involves automating branch creation, staging files, generating commit messages, and using the gh CLI to handle pull request creation and subsequent merges to the main branch.

Can I automate GitHub pull request creation using the gh CLI?

Yes, you can automate GitHub pull request creation and merging by interacting with GitHub through the gh CLI, which allows you to open, review, and merge PRs back into the main branch automatically.

Does automated git staging avoid committing sensitive files?

Automated git staging can safely commit changes by staging only specified files, ensuring adherence to best practices by avoiding sensitive file commits and preventing accidental exposure of critical configuration data.

How do I generate commit messages automatically for my code changes?

Generating commit messages automatically is part of automating the git workflow, where the system crafts a descriptive message based on your staged files before creating a new branch and opening a pull request.