This skill automatically creates a properly formatted git commit with necessary pre-commit checks and branch handling.
npx playbooks add skill junoh-moon/skills --skill commit-message
This skill creates a git commit with the required format. Follow these steps:
First, check if this is a bucketplace organization repo:
git remote get-url origin 2>/dev/null | grep -q 'bucketplace' && echo "bucketplace" || echo "other"
If bucketplace repo, check the current branch:
git branch --show-current
If on a protected branch (main, master, develop):
git branch --list <TICKET-ID>COREPL-1234-2, COREPL-1234-refactor)git checkout -b <branch-name>fix/login-validation, feat/add-cache-layer)Run git diff --cached to see what will be committed.
If nothing is staged, run git status and add relevant files individually (NEVER use git add -A or git add -u).
Based on the staged changes, create a commit message:
Use heredoc syntax for the commit:
git commit -m "$(cat <<'EOF'
<type>: <subject in English>
<body in Korean, wrapped at 72 chars>
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
Run git status to confirm the commit was created successfully.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.