How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-bakedpotato:commitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
변경사항을 스테이징하고, 브랜치명에서 타입을 파싱하여 `{type}: 한국어 메시지` 형식으로 커밋한다.
변경사항을 스테이징하고, 브랜치명에서 타입을 파싱하여 {type}: 한국어 메시지 형식으로 커밋한다.
Arguments:
git rev-parse --show-toplevel로 Git 루트를 확인한다. 현재 디렉토리와 다르면 (워크스페이스 root에서 호출된 경우 등), 이후 모든 git/빌드 명령을 Git 루트 기준 서브셸 (cd <git-root> && <명령>)로 실행한다.| 파일 | 테스트 |
|---|---|
build.gradle.kts / build.gradle | ./gradlew test |
timeout: 300000 (5분) 파라미터를 설정한다. 초과 시 해당 단계를 건너뛰고 사용자에게 보고.브랜치명에서 타입을 추출한다:
git branch --show-current로 브랜치명 확인/ 앞의 세그먼트를 타입으로 사용 (예: feat/login → feat).claude/config.json → conventions.branchTypes 참조메시지를 자동 생성할 때:
git diff --stat (또는 --cached --stat)로 변경 요약 확인git diff --cached로 상세 diff 확인. 50개 초과면 --stat 요약만으로 메시지 생성메시지 구조:
{type}: {한국어 요약}. 50자 이내.
feat: 로그인 기능 추가- bullet으로 나열예시:
feat: 로그인 기능 추가
- 로그인 API 엔드포인트 구현
- JWT 토큰 발급 로직 추가
- 로그인 폼 UI 구현
git diff --cached --name-only로 기존 staged 파일 목록을 캡처한다. (커밋 실패 시 원래 staged 상태를 복원하기 위함)git status --short로 변경 파일 목록을 확인하고, 목록을 사용자에게 표시한다..claude/config.json → buildArtifactPatterns 참조)이 tracked 파일 목록에 있으면: .gitignore 파일이 존재하는지 test -f .gitignore로 먼저 확인한다. 파일이 존재하면 해당 패턴이 .gitignore에 있는지 grep으로 확인하고, 있으면 git rm -r --cached <pattern>으로 tracking을 해제한다. .gitignore가 없거나 패턴이 없으면 사용자에게 .gitignore 생성/추가 여부를 확인한다. 주의: 반드시 --cached 플래그를 사용할 것. --cached 없이 git rm을 실행하면 파일이 삭제된다..claude/config.json → sensitiveFilePatterns 참조)이 목록에 있으면 사용자에게 경고하고 스테이징에서 제외할지 확인한다.git add -Agit add <나머지 파일 각각 지정>git commit -m "$(cat <<'EOF'
{type}: 제목
- 변경사항 1
- 변경사항 2
EOF
)"
git reset HEAD로 스테이징을 원복한 뒤, step 0에서 캡처한 기존 staged 파일이 있으면 git add <파일>로 재스테이징하여 원래 상태를 복원하고, 사용자에게 에러를 보고한다.git show --stat HEAD로 결과 표시금지: Co-Authored-By 라인을 절대 추가하지 말 것.
npx claudepluginhub rnqhstmd/oh-my-bakedpotato --plugin oh-my-bakedpotatoCreates git commits with repo detection, pre-commit checks, submodule support, and conventional messages. Activates on /commit or git commit requests.
Creates git commits with clear messages from working tree changes, following repo conventions or conventional commits. Handles clean trees and detached HEAD.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.