commit

Automate git commits following repository-specific conventions and history.

Updated May 11, 2025
One-click install
npx skills add https://github.com/rogsme/dotfiles --skill commit-rogsme
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/rogsme/dotfiles/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/rogsme/dotfiles --skill commit-rogsme

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the process of committing changes in a repository, adhering to the repository's commit conventions and creating logical, atomic commits.

Core Features & Use Cases

  • Commit Automation: Analyzes and creates commits based on the repository's commit history and conventions.
  • Custom Commit Logic: Adapts to various commit formats, types, and scopes.
  • Error Handling: Provides guidelines for managing errors, such as pre-commit hooks and secrets.

Quick Start

Run the commit skill with an optional message to create a commit following the repository's conventions.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate git commits to follow existing repository conventions?

This skill automates committing changes by analyzing existing commit history to determine format, types, and scope. It stages uncommitted changes and generates appropriate commit messages, ensuring new commits strictly follow established repository conventions.

What are atomic commits and how does this approach handle them?

Atomic commits are logical, self-contained changes in a version control system. This skill analyzes uncommitted changes and creates logical, atomic commits that adhere to repository-specific conventions, grouping related modifications together appropriately.

How do I manage pre-commit hooks and secrets when automating commits?

When automating commits, error handling guidelines manage issues like pre-commit hooks and secrets. The process analyzes repository conventions and provides specific rules for handling these potential commit errors safely during automated staging.

Do I need git installed to automate my repository commit processes?

Yes, git is required to automate your repository commit processes. The automation requires git to analyze commit history, manage uncommitted changes, and create commits with appropriate messages following repository-specific commit rules.

Can I provide a custom commit message when automating version control commits?

Yes, you can provide an optional custom message when running the commit automation. The system uses your message while still analyzing the repository's commit history to ensure the final commit adapts to the required format, types, and scope.

What is the best way to ensure my commits match various custom commit formats?

The best way to ensure commits match custom formats is to analyze the repository's commit history first. This allows the automation to adapt to various commit formats, types, and scopes dynamically, creating commits that fit existing conventions.