Skip to content
Agent Orchestration
Skill

/commit-push-pr

변경사항 커밋, 푸시, PR 생성을 한 번에 수행하는 워크플로우. 트리거: "커밋", "PR 만들어", "푸시해", "PR 생성", "commit and push", "커밋하고 푸시", "PR 올려" 안티-트리거: "코드 리뷰", "git log 확인", "diff 보여줘", "브랜치 목록"

BOOST
From plugin
my-cc-harness
12543 skills12 agents4 commands10 hooks
Install
$ npx -y skills add jh941213/my-cc-harness --skill commit-push-pr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/commit-push-pr

Context preview

The summary Claude sees to decide when to auto-load this skill.

변경사항 커밋, 푸시, PR 생성을 한 번에 수행하는 워크플로우. 트리거: "커밋", "PR 만들어", "푸시해", "PR 생성", "commit and push", "커밋하고 푸시", "PR 올려" 안티-트리거: "코드 리뷰", "git log 확인", "diff 보여줘", "브랜치 목록"

SKILL.md

commit-push-pr.SKILL.md
name: commit-push-pr
description: >
  변경사항 커밋, 푸시, PR 생성을 한 번에 수행하는 워크플로우.
  트리거: "커밋", "PR 만들어", "푸시해", "PR 생성", "commit and push", "커밋하고 푸시", "PR 올려"
  안티-트리거: "코드 리뷰", "git log 확인", "diff 보여줘", "브랜치 목록"
user-invocable: true
disable-model-invocation: true
allowed-tools: Bash, Read

커밋, 푸시, PR 생성

현재 변경사항을 커밋하고 푸시한 후 PR을 생성합니다.

Step 1: 사전 검증

# 현재 브랜치 확인 — main/master면 직접 커밋 금지
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
  echo "BLOCKED: main/master 브랜치에서 직접 커밋 금지"
  echo "대안: feature 브랜치 생성 후 진행 → git checkout -b feature/<작업명>"
fi

# 상태 확인
git status
git diff --stat
git log --oneline -5

main/master에서 실행된 경우: 사용자에게 브랜치명을 확인한 뒤 `git checkout -b feature/<작업명>`으로 feature 브랜치를 생성하고 다음 단계로 진행한다.

Step 2: 스테이징 + 위험 파일 확인

# 변경 파일 선택적 staging (git add -A 지양)
git add [specific-files]

# 민감한 파일이 staged 되었는지 검사 (git add 직후에 실행해야 유효)
git diff --cached --name-only | grep -E '\.(env|pem|key|credentials)' && echo "WARNING: 민감 파일 포함! 커밋 전 unstage 필요"

Step 3: 커밋

# 커밋 메시지 작성
git commit -m "$(cat <<'EOF'
[타입] 제목 (50자 이내)

본문 (선택 — 무엇이 아닌 왜를 설명)

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

타입: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`

Step 4: 푸시

# 원격 브랜치 설정 + 푸시
git push -u origin $(git branch --show-current)

Step 5: PR 생성

gh pr create --title "[타입] 제목" --body "$(cat <<'EOF'
## 요약
- 변경 내용 1
- 변경 내용 2

## 테스트
- [ ] typecheck 통과
- [ ] lint 통과
- [ ] test 통과
EOF
)"

출력

완료 시 PR URL을 반환합니다.

Read more
Ships withmy-cc-harness

my-claude-code-asset

Get the whole plugin

Other skills on my-cc-harness.

auto-memory
Skill

auto-memory

레포에서 실질적인 작업(구현·수정·배포·디버깅)을 시작할 때, 새 레포를 처음 파악할 때, 작업을 마치고 기억할 지식이 생겼을 때 사용. 작업 유형에 맞는 docs·메모리만 선택적으로 로드하는 라우팅 테이블을 운영한다

autodev-parallel
Skill

autodev-parallel

Ralph Loop 병렬 버전. 여러 에이전트가 worktree에서 동시에 PRD 항목을 처리한다. 트리거: "PRD 항목 병렬 구현", "병렬 구현", "autodev parallel", "워크트리 병렬 개발", "병렬 랄프"…

autodev
Skill

autodev

Ralph Loop 기반 자율 개발 루프. Stop Hook이 세션 종료를 가로채어 PRD 항목을 하나씩 완료하며 자동 커밋한다. 트리거: "autodev", "자율 개발", "밤새 돌려", "랄프 루프", "ralph loop",…

brainstorming
Skill

brainstorming

기능 추가·컴포넌트 생성·동작 변경 등 모든 창작 작업 전에 사용. 구현 전에 의도·요구사항·설계를 대화로 확정 (심층 인터뷰가 필요한 대규모 기능은 /spec 사용)