1---2name: commit-23description: 변경된 파일을 기능별로 그룹화하여 커밋 생성4---56# Commit Skill78지금 즉시 아래 워크플로우를 실행하라. 질문하지 말고 바로 실행하라.910## 현재 상태 수집1112```bash13git status14git diff --stat15git log --oneline -316```1718## 실행 지시1920위 상태를 분석하여 다음을 수행하라:21221. **변경 파일 분석**: 위의 git status와 git diff 결과를 기반으로 변경된 파일들을 파악한다.232. **기능별 그룹화**: 변경 파일들을 아래 기준으로 그룹으로 나눈다:24 - `feat` - 새로운 기능 추가25 - `fix` - 버그 수정26 - `docs` - 문서 업데이트27 - `style` - 코드 스타일 수정 (동작 변경 없음)28 - `refactor` - 코드 리팩토링29 - `test` - 테스트 추가/수정30 - `chore` - 유지보수 작업313. **그룹별 커밋 생성**: 각 그룹마다 관련 파일만 `git add`로 스테이징한 뒤 커밋한다.324. **커밋 내역 검증**: `git log --oneline -5`로 결과를 확인한다.3334## 커밋 메시지 규칙3536- 형식: `<type>(<scope>): <subject>`37- **커밋 메시지는 반드시 한글로 작성**38- 명령형 현재 시제 사용: "추가", "수정", "삭제"39- subject는 50자 이내, 끝에 마침표 없음40- 필요시 body에 상세 설명 추가41- **`Co-Authored-By:` 트레일러는 어떤 경우에도 커밋 메시지에 포함하지 않는다** (`Co-Authored-By: Claude`, `Co-Authored-By: Codex` 등 모두 금지)42- 생성 도구를 표시하는 다른 서명 문구(`Generated with ...` 등)도 커밋 메시지에 넣지 않는다4344## 한글 커밋 메시지 깨짐 방지4546`git commit -m "한글"` 사용 시 터미널 환경에 따라 한글이 깨질 수 있다. **반드시 HEREDOC 또는 임시 파일 방식을 사용하라.**4748### macOS/Linux (HEREDOC 방식 - 권장)4950```bash51git commit -m "$(cat <<'EOF'52feat(auth): JWT 로그인 및 미들웨어 추가5354- JWT 토큰 생성 구현55- 보호된 라우트용 인증 미들웨어 추가56EOF57)"58```5960### Windows PowerShell (임시 파일 방식)6162PowerShell에서는 `-m` 옵션으로 한글 전달 시 인코딩 문제가 발생한다. UTF-8 임시 파일을 사용하라:6364```powershell65chcp 6500166# commit_msg.txt에 UTF-8로 메시지 작성 후:67git commit -F commit_msg.txt68Remove-Item commit_msg.txt69```7071사용자 힌트: $ARGUMENTS72
Run npx skillmds@latest add mineru98/commit-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
변경된 파일을 기능별로 그룹화하여 커밋 생성 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Mineru98 (@mineru98) published this skill. Their other Agent Skills are listed on their SkillMD profile.