ワンクリックで
commit
Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| description | Use when staged changes exist requiring qlty checks, logical split detection, or HXSK phase-scoped conventional commit creation. |
| name | commit |
| trigger | 커밋 생성, git commit, 커밋 메시지 작성, 변경사항 커밋, conventional commit, 커밋 분할, 커밋 나누기, 변경사항 분리, pre-commit check, 커밋 전 검사, git diff 분석, 변경사항 분석, conventional commit 작성, emoji 커밋, HXSK 커밋, phase 커밋, commit message format, split commits, run pre-commit, analyze diff, qlty check 실행, shellcheck 검사, feat 커밋, fix 커밋, docs 커밋, refactor 커밋, test 커밋, chore 커밋, phase-1.2 커밋, phase scope 적용, git add all, staged changes 분석, 논리적 분할 제안, 커밋 메시지 보정, imperitive mood 적용, 이슈 링크 추가, resolved #N, commit types |
git diff --cached 로 변경 사항 분석.qlty/qlty.toml 존재 시 qlty check 실행 후 진행<emoji> <type>(<scope>): <description> (Imperative mood)phase-N.M 스코프 필수, 본문은 WHAT 생략하고 WHY(이유) 만 72 자 내NO COMMIT WITHOUT PRE-COMMIT CHECKS FIRST NO COMMIT WITHOUT DIFF ANALYSIS FIRST NO COMMIT WITHOUT CONVENTIONAL FORMAT FIRST NO MERGED CHANGES WITHOUT LOGICAL SPLIT FIRST NO HXSK COMMIT WITHOUT PHASE SCOPE FIRST NO COMMIT BODY WITHOUT WHY EXPLANATION FIRST
Run quality checks before committing:
Qlty 경로 (.qlty/qlty.toml 존재 시):
qlty check # Lint (all detected linters)
# Test: project-config.yaml의 tools.test_runner.command
Shell 스크립트 검사:
shellcheck *.sh # Shell script lint (선택)
If checks fail, report failures and ask whether to:
--no-verify flag)git status # Check staged/unstaged files
git diff --cached --stat # Staged changes overview
git diff --cached # Full staged diff
If no files are staged, stage all modified files:
git add -A
Analyze the diff for multiple distinct concerns:
Split signals:
src/auth/ + src/billing/)If multiple concerns detected, suggest splitting:
Detected 3 logical changes:
1. feat: add user validation in src/auth/
2. test: add validation tests
3. chore: update pyproject.toml dependencies
Split into separate commits? [Y/n]
Use conventional commit format with emoji:
git commit -m "$(cat <<'EOF'
<emoji> <type>(<scope>): <description>
<optional body>
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
| Emoji | Type | Description |
|---|---|---|
feat | New feature or capability | |
fix | Bug fix | |
docs | Documentation changes | |
style | Formatting, no logic change | |
refactor | Code restructuring | |
perf | Performance improvement | |
test | Adding or fixing tests | |
chore | Tooling, config, dependencies | |
ci | CI/CD changes |
When executing HXSK plans, use phase-plan scope:
feat(phase-1.2): implement login endpoint with JWT
fix(phase-2.1): resolve bcrypt comparison error
test(phase-1.3): add integration tests for auth flow
Resolved #N 포함상세 컨벤션:
.hxsk/docs/CONVENTIONS.md섹션 4 참조
feat(auth): add JWT-based login endpoint
Implements POST /api/auth/login with bcrypt password verification
and httpOnly cookie response. Uses jose library for Edge runtime
compatibility.
# Commit 1: Feature code
git add src/auth/
git commit -m "feat(auth): add JWT-based login endpoint"
# Commit 2: Tests
git add tests/auth/
git commit -m "test(auth): add login endpoint integration tests"
# Commit 3: Config
git add pyproject.toml uv.lock
git commit -m "chore(deps): add jose and bcrypt dependencies"
Diff 분석과 커밋 분할은 git 명령과 네이티브 도구로 수행:
# 변경된 파일 목록
git diff --name-only HEAD~1
# 파일별 변경 통계
git diff --stat
# 논리적 분할 판단 (서로 다른 디렉토리/모듈)
git diff --name-only | xargs -I{} dirname {} | sort -u
Use when Ground Truth alignment finds memory contamination and the user explicitly requests scoped cleanup with /cleanse.
Use when registering, reviewing, merging, or rebuilding HXSK glossary term definitions after glossary-detect suggests a candidate or the user invokes /define.
Use when validating code for circular imports, layer violations, or design doc logic errors before merging architecture-level changes.
Use when .hxsk/.bootstrap-version is missing (fresh install) or exists (verify/update) to initialize HExoskeleton.
Use when shell scripts need linting/formatting before execution or commit to ensure code quality.
Use when analyzing an existing codebase to generate ARCHITECTURE.md and STACK.md, or when mapping project structure, dependencies, patterns, integrations, and technical debt before planning.