git-commit

Used when committing staged changes. Generates appropriate commit messages and confirms changes before creating commits.

⭐1stars🔀0forks📁View on GitHub🕐Updated Dec 15, 2025

When & Why to Use This Skill

The git-commit skill is an essential utility for developers that automates the version control workflow. By analyzing staged changes and repository history, it generates professional, context-aware commit messages following the Conventional Commits standard. This skill streamlines the development process by handling status verification, diff analysis, and multilingual message generation, ensuring a clean and standardized project history with minimal manual effort.

Use Cases

  • Automated Commit Message Generation: Automatically creates descriptive and standardized commit messages (feat, fix, docs, refactor) based on actual code changes, reducing the cognitive load on developers.
  • Maintaining Repository Standards: Ensures all team members follow the Conventional Commits format, which facilitates easier debugging, automated changelog generation, and better project maintainability.
  • Multilingual Development Support: Intelligently detects the preferred language (such as English or Japanese) from the recent git log to maintain consistency in localized or international project environments.
  • Streamlined CLI Workflow: Simplifies the 'git status -> git diff -> git commit' cycle into a single agent-led action, verifying changes before and after the commit to prevent errors.
namegit-commit
descriptionUsed when committing staged changes. Generates appropriate commit messages and confirms changes before creating commits.

Git Commit

Commit staged changes with appropriate commit messages.

Steps

  1. Run git status, git diff --staged, and git log -5 --oneline
  2. Generate single-line commit message using conventional commit format (feat:, fix:, docs:, refactor:, test:, chore:, etc.)
  3. Match language (English/Japanese) from recent commit history
  4. Execute git commit -m "message"
  5. Verify with git status