원클릭으로
commit
Create a clean, atomic git commit from the current changes. Use whenever the user says "commit", "commit this", or invokes /commit.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a clean, atomic git commit from the current changes. Use whenever the user says "commit", "commit this", or invokes /commit.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | commit |
| description | Create a clean, atomic git commit from the current changes. Use whenever the user says "commit", "commit this", or invokes /commit. |
| allowed-tools | ["Bash(git init)","Bash(git add *)","Bash(git status)","Bash(git diff *)","Bash(git log *)","Bash(git branch --show-current)","Bash(git commit *)","Bash(bash *pre-flight.sh*)","Bash(bash *analyse-changes.sh*)","Bash(bash *effort-level.sh*)","Bash(bash *validate-message.sh*)","Bash(cat *validate-message.sh*)"] |
bash ${CLAUDE_SKILL_DIR}/scripts/pre-flight.shgit branch --show-current 2>/dev/null || echo "N/A"bash ${CLAUDE_SKILL_DIR}/scripts/analyse-changes.sh 2>/dev/null || echo "N/A"git diff HEAD 2>/dev/null || echo "N/A"git log --oneline -10 2>/dev/null || echo "N/A"bash ${CLAUDE_SKILL_DIR}/scripts/effort-level.shIf the git check above shows "NOT_A_GIT_REPO":
git init to initialise one.git add -A or git add .). Skip files that look like secrets or build
artefacts (.env, node_modules/, dist/, etc.).chore: initial commit plus the
Co-Authored-By trailer (see references/message-format.md).git status to confirm success, then stop.If the change analysis shows "No changes detected", tell the user and stop.
If the user hint is non-empty, use it to guide which files to stage and what the commit message should convey. The hint may describe the scope ("the /parallel changes"), the intent ("fix typo in README"), or both. It is a hint, not a literal commit message — still apply Conventional Commits format and the atomicity rules below.
Use the change analysis above (directory groups and atomicity signal) as the starting point for your atomicity assessment.
git add file1 file2) and proceed.git add <file> or git add -p <file> for partial staging) and
proceed with that commit. Then continue to the next unit — repeat steps 1–3
for each remaining unit until all changes are committed.git add -A or git add . — always stage files by name to
avoid accidentally including untracked files.Read references/message-format.md (in this skill's directory) for the full
Conventional Commits format, type table, and Co-Authored-By trailer spec.
Draft the commit message following that format. Use the recent commits above for style consistency.
N/A.cat <<'EOF' | bash ${CLAUDE_SKILL_DIR}/scripts/validate-message.sh
<full draft message here>
EOF
git status after committing to confirm success.--amend.--no-verify) unless the user explicitly asks..claude/skills/commit/SKILL.md at
project level.