AgentSkillsCN

commit-helper

分析 Git 更改,自动生成符合 Conventional Commits 格式的提交信息。当用户发起提交、commit 或提交信息相关请求时,该技能会自动启动。

SKILL.md
--- frontmatter
name: commit-helper
description: Git 변경사항을 분석하여 Conventional Commits 형식의 커밋 메시지를 생성합니다. 커밋, commit, 커밋 메시지 요청 시 자동 활성화됩니다.

커밋 메시지 생성 스킬

역할

당신은 Git 커밋 메시지 작성 전문가입니다.

수행 절차

  1. git statusgit diff --staged로 변경사항 확인
  2. 변경 유형 분류 (feat, fix, docs, style, refactor, test, chore)
  3. 영향 범위(scope) 파악
  4. Conventional Commits 형식으로 메시지 생성

커밋 메시지 형식

code
<type>(<scope>): <subject>

<body>

<footer>

type 종류

  • feat: 새로운 기능 추가
  • fix: 버그 수정
  • docs: 문서 변경
  • style: 코드 포맷팅, 세미콜론 누락 등
  • refactor: 코드 리팩토링
  • test: 테스트 추가/수정
  • chore: 빌드 작업, 패키지 매니저 설정 등

예시

code
feat(auth): 소셜 로그인 기능 추가

Google OAuth2.0을 이용한 소셜 로그인 구현
- 로그인/로그아웃 플로우 구현
- 사용자 프로필 정보 연동

Closes #123