commit

Stage and commit code changes with standardized Git commit messages.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/mjbellantoni/scm-tools-claude --skill commit-mjbellantoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/mjbellantoni/scm-tools-claude/tree/main/skills/commit
Command: npx skills add https://github.com/mjbellantoni/scm-tools-claude --skill commit-mjbellantoni

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of staging and committing code changes, ensuring adherence to established Git commit message standards and safe Git operations.

Core Features & Use Cases

  • Explicit Staging: Guides users to stage files individually or interactively, preventing accidental staging of all changes.
  • Standardized Commit Messages: Enforces a strict format for commit subjects and bodies (length, capitalization, imperative mood, wrapping).
  • Safety Rules: Provides guidelines and executable commands for safe file operations and history management.
  • Use Case: When you've made several related changes to a feature, use this Skill to stage and commit them with a clear, concise, and compliant message.

Quick Start

Use the commit skill to stage the file app/models/user.rb and then commit it with the subject 'Add user model'.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I stage and commit code changes with proper Git standards?

To stage and commit code changes with proper Git standards, explicitly stage files individually or interactively to prevent accidental staging. This enforces controlled file operations and generates well-formatted commit messages.

What is the correct format for a Git commit message?

The correct format for a Git commit message requires imperative mood subjects, appropriate capitalization, and body text wrapping. Commit messages must follow strict length standards to ensure clarity and consistency across version control history.

How do I prevent accidental staging of all files in Git?

To prevent accidental staging of all files in Git, use explicit staging methods to add files individually or interactively. This controlled file operation approach ensures only intended changes are staged before committing.

When do I need explicit staging for version control workflows?

You need explicit staging for version control workflows when you have made several related changes to a feature and want to commit them with a clear, concise, and compliant message. It enforces safe Git operations and prevents unintended file commits.

Does this Git commit workflow support interactive file staging?

Yes, this Git commit workflow supports interactive file staging. It guides users to stage files individually or interactively, ensuring adherence to established Git commit message standards and safe Git operations without requiring additional dependencies.

What are the limitations of automated Git commit message enforcement?

Automated Git commit message enforcement requires strict adherence to imperative mood subjects, capitalization, and body text wrapping rules. Users must follow explicit staging guidelines, which may slow down workflows accustomed to staging all changes at once.