commit

Generate conventional commit messages from staged and unstaged Git repository changes.

Updated Jul 10, 2025
One-click install
npx skills add https://github.com/damilola-elegbede-org/claude-config-5ad01dbe --skill commit-damilola-elegbede-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/damilola-elegbede-org/claude-config-5ad01dbe/tree/main/system-configs/.claude/skills/commit
Command: npx skills add https://github.com/damilola-elegbede-org/claude-config-5ad01dbe --skill commit-damilola-elegbede-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This command automates creation of consistent, conventional git commit messages from repository changes, reducing manual drafting and ensuring uniform history.

Core Features & Use Cases

  • Analyze staged and unstaged changes and generate conventional commit messages consistent with project style.
  • Support amend operations to modify the last commit when needed, while preserving history integrity.
  • Enforce pre-commit hooks to validate quality, catch mistakes, and guide improvements.
  • Use cases include adding features, fixes, and refactors with clear, scannable commit histories.

Quick Start

Run /commit to generate a conventional commit for your current changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I generate conventional commit messages automatically from git diffs?

To generate conventional commit messages automatically, you can use a command that analyzes staged and unstaged repository changes and drafts messages consistent with your project style. This reduces manual drafting and ensures uniform history.

Can I amend my last git commit automatically while preserving history integrity?

Yes, you can amend your last git commit automatically. The process supports amend operations to modify the previous commit when needed, while preserving history integrity and maintaining a clean, uniform log.

Does this git commit automation work with both staged and unstaged changes?

Yes, this git commit automation works with both staged and unstaged changes. It analyzes the full scope of repository modifications to generate accurate conventional commit messages for all current updates.

How do pre-commit hooks enforce repository hygiene during automated commits?

Pre-commit hooks enforce repository hygiene by validating quality and catching mistakes during automated commits. Integrating these hooks ensures that generated conventional commit messages meet project standards before any changes are committed.

What's the best way to maintain a scannable git history for refactors and fixes?

The best way to maintain a scannable git history for refactors and fixes is to automate conventional commit message generation. This enforces uniform formatting across features and fixes, creating a clear and readable project log.