git-commit-helper

MALLLAG's avatarfrom MALLLAG

현재까지의 작업을 논리적 단위별로 나눠서 커밋합니다.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

This Claude skill automates the Git workflow by intelligently analyzing code changes and organizing them into logical, atomic commits. It streamlines the version control process by grouping related modifications, generating standardized commit messages (feat, fix, refactor, etc.), and ensuring a clean, professional repository history with minimal manual effort.

Use Cases

  • Scenario 1: Organizing bulk changes—Automatically split a large set of diverse code modifications into distinct, logical commits to make pull requests easier to review.
  • Scenario 2: Standardizing commit history—Enforce consistent commit message conventions across a project, ensuring every entry follows the 'type(scope): description' format for better maintainability.
  • Scenario 3: Incremental development—Help developers maintain a clean workflow by identifying and committing completed sub-tasks or refactors before moving on to the next functional unit.
namegit-commit-helper
description현재까지의 작업을 논리적 단위별로 나눠서 커밋합니다.

Git 커밋 도우미

수행 단계

  • 현재 변경사항 확인

    • git status로 staged/unstaged 변경사항 확인
    • git diff로 각 파일의 변경 내용 파악
  • 작업을 논리적 단위로 분류

    • 관련된 변경사항끼리 그룹화
    • 각 그룹이 하나의 완성된 기능/수정 단위가 되도록 구성
    • 예: 기능 추가, 버그 수정, 리팩토링, 문서 수정 등으로 분류
  • 각 단위별로 순차 커밋

    • 가장 핵심적인 변경부터 시작
    • 각 작업 단위별로:
    • git add [관련 파일들]
    • 컨벤션에 맞는 커밋 메시지 작성
    • git commit -m "type(scope): 설명"
    • 커밋 타입: feat, fix, refactor, docs, style, test, chore
  • 커밋 완료 확인

    • git log --oneline -10으로 커밋 이력 확인
    • git status로 남은 변경사항 확인

주의사항

  • 각 커밋은 독립적으로 의미가 있어야 함
  • 관련 없는 변경사항은 별도 커밋으로 분리
  • .env, credentials 등 민감한 파일은 커밋하지 않음