commit

Stage, commit, and optionally push local Git changes with conventional commit messages.

70|13|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/oprogramadorreal/optimus-claude --skill commit-oprogramadorreal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/oprogramadorreal/optimus-claude/tree/main/skills/commit
Command: npx skills add https://github.com/oprogramadorreal/optimus-claude --skill commit-oprogramadorreal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of staging, committing, and optionally pushing your local Git changes, ensuring consistent and conventional commit messages.

Core Features & Use Cases

  • Conventional Commits: Automatically generates commit messages following the Conventional Commits specification.
  • Change Analysis: Analyzes staged, unstaged, and untracked files to create a relevant commit message.
  • Protected Branch Handling: Offers to create a feature branch automatically if the current branch is protected.
  • Multi-Repo Support: Handles commits independently across multiple Git repositories in a workspace.
  • Use Case: After making several code changes, you can run this skill to have it suggest a commit message, stage all relevant files, commit them, and push to your remote repository, all in one go.

Quick Start

Run the optimus:commit skill in your Claude Code session to stage, commit, and push your changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automatically generate conventional commit messages for staged and unstaged files?

To generate conventional commit messages, this Skill analyzes your staged, unstaged, and untracked Git files to automatically create a relevant commit message. It then stages your changes and commits them following the Conventional Commits specification.

Can I stage, commit, and push local Git changes in one step?

Yes, you can stage, commit, and optionally push local Git changes in one step. The Skill stages your code modifications, commits them with an automatically generated conventional commit message, and pushes to your remote repository.

How do I commit changes if my current Git branch is protected?

If your current Git branch is protected, the Skill handles this by automatically offering to create a new feature branch. You can then safely commit and push your changes to this newly created feature branch instead of the protected branch.

Does this commit Skill work with multi-repository workspaces?

Yes, this Skill works with multi-repository workspaces by handling commits independently across multiple Git repositories. It analyzes the changes in each repository separately to ensure accurate staging, committing, and pushing for every project.

What do I need to run this Git commit and push automation Skill?

You need Git installed and Claude Code plugin support to execute this Skill. Once these environment requirements are met, you can run the Skill directly in your Claude Code session to automate your code workflow.