From cwm
Commits and pushes Git changes using git -C without directory changes. Auto-detects project root via .cwm/.initialized, adds Korean commit message, pushes to origin main or current branch, ensures return to root.
npx claudepluginhub hsuneh/dev_sys_template --plugin cwmThis skill uses the workspace's default tool permissions.
> `/cwm:push` — 변경사항을 커밋하고 푸쉬한다. 디렉토리 이동 없이 `git -C`를 사용한다.
Commits git changes with auto-generated message and pushes to origin after analyzing status/diffs, staging specifics, skipping secrets, and warning on main/master branches.
Stages all changes, creates a conventional commit with Claude footer, and pushes to remote branch using bash script. Activates on explicit push requests, saving to remote, or feature completion.
Generates commit message from changes, stages/commits all files with Co-Authored-By, pushes to remote, adds junk files to .gitignore, and verifies clean git status. Use to quickly clean and sync repo.
Share bugs, ideas, or general feedback.
/cwm:push— 변경사항을 커밋하고 푸쉬한다. 디렉토리 이동 없이git -C를 사용한다.
.cwm/.initialized를 찾아 프로젝트 루트를 결정한다:
PROJECT_ROOT=$(pwd)
while [ "$PROJECT_ROOT" != "/" ]; do
[ -f "$PROJECT_ROOT/.cwm/.initialized" ] && break
PROJECT_ROOT=$(dirname "$PROJECT_ROOT")
done
프로젝트 루트가 git 저장소가 아닌 경우, 하위 폴더에서 .git을 찾아 GIT_ROOT로 사용한다.
cd 대신 git -C <경로> 옵션을 사용하여 디렉토리 이동 없이 작업한다.
git -C "$GIT_ROOT" status
git -C "$GIT_ROOT" diff
변경사항이 있으면:
git -C "$GIT_ROOT" add -A
git -C "$GIT_ROOT" commit -m "커밋 메시지
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
$ARGUMENTS가 있으면 커밋 메시지로 사용git -C "$GIT_ROOT" push origin main
✅ Push 완료
- 커밋: {커밋 메시지 요약}
- 브랜치: {브랜치명}
- 변경 파일: {N}개
⛔ 절대 금지:
cd로 다른 디렉토리에 이동한 채로 작업을 종료하지 않는다필수 규칙:
git -C <경로> 옵션을 사용하여 디렉토리 이동 없이 작업cd로 이동한 경우, 모든 작업 완료 후 반드시 프로젝트 루트로 복귀:
cd "$PROJECT_ROOT"
pwd로 현재 위치가 프로젝트 루트인지 확인