git-commit

Generates Conventional Commits messages from analyzed Git changes and commits staged files.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/VelkaressiaBlutkrone/spring-python-llm-exam-mng --skill git-commit-velkaressiablutkrone
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/VelkaressiaBlutkrone/spring-python-llm-exam-mng/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/VelkaressiaBlutkrone/spring-python-llm-exam-mng --skill git-commit-velkaressiablutkrone

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing consistent, well-structured commit messages is tedious and often skipped, leading to messy Git histories. This Skill analyzes your working tree changes and produces a properly formatted Conventional Commits message, then stages and commits the relevant files safely. ## Core Features & Use Cases - Change Analysis: Runs git status, git diff, and git log in parallel to understand what changed and match the repository's existing commit style. - Risk Detection: Warns when sensitive files like .env, credentials.json, or *.pem are about to be committed, and confirms exclusion before proceeding. - Conventional Commits Generation: Recommends the correct type (feat, fix, docs, refactor, test, chore, style) and domain-based scope, then builds a message with subject, optional body, and Co-Authored-By trailer. - Use Case: After finishing a new board CRUD feature, ask for a commit and receive a message like "feat(board): 게시글 CRUD 추가" with only the related files staged via a safe HEREDOC commit. ## Quick Start Ask the assistant to commit your current changes, for example by saying "커밋해줘" or "commit my changes", and it will analyze the diff, propose a Conventional Commits message, and create the commit.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I write a Conventional Commits message automatically?▼

Conventional Commits messages are generated by analyzing git status, git diff, and recent git log output to infer the change type and scope. The result follows the format type(scope): subject, with an optional body explaining why the change was made.

How to commit only specific files instead of git add -A?▼

Stage files individually with git add followed by explicit paths, such as git add src/main/java/com/sample/llm/board/Board.java. This avoids accidentally including unrelated changes or sensitive files in the commit.

What commit types exist in Conventional Commits?▼

The common types are feat for new features, fix for bug fixes, docs for documentation, refactor for code restructuring, test for tests, chore for build and config changes, and style for formatting. Each type signals the intent of the change in the history.

How do I prevent committing .env or credential files to Git?▼

Before committing, scan the changed file list for patterns like .env, credentials.json, secret.*, *.pem, and *.key. If detected, warn the user and confirm whether those files should be excluded from the commit.

Why use HEREDOC format for git commit messages?▼

HEREDOC preserves multi-line messages and special characters safely in shell commands. It prevents quoting errors when the commit body contains line breaks, Korean text, or punctuation.

When should I not use --amend or --no-verify in Git commits?▼

These flags bypass safety checks or rewrite history, so they should only be used when the user explicitly requests them. Default commits should avoid both options to keep history and hooks intact.