/gitkkal:commit [hint]from gitkkal
Analyzes staged and unstaged changes to create commits following a configured style. Reads project config and uses semantic intent analysis for commit messages.
Ships in gitkkal. Installing the plugin adds it to Claude Code.
Analyzes changes and creates commits following the configured style.
Co-Authored-By lines in commit messagesgit commit --amend — always create NEW commitsgit add -A or git add . — stage files individuallygit rev-parse --show-toplevel # Find project root
Read {project_root}/.gitkkal/config.json. If not exists, use defaults and display once:
"Using default settings. Run /gitkkal:init to customize."
Run in parallel:
git status --short # All file states (NEVER use -uall flag)
git diff --cached # Staged changes (actual content)
git diff # Unstaged changes (actual content)
git log --oneline -5 # Recent commit style reference
Commit candidates (analyze all together):
Focus on the "why" rather than the "what":
When intent is unclear from code alone:
$ARGUMENTS — If provided, use as guidance for:
The hint is advisory — incorporate appropriately.
When splitCommits: true:
Principles:
When askOnAmbiguity: true and splitting is unclear → Use AskUserQuestion.
Patterns:
| Pattern | Format | Example |
|---|---|---|
conventional | <type>[(scope)]: <description> | feat(auth): add login feature |
gitmoji | <emoji> [(scope)] <message> | ✨ Add login feature |
simple | <message> | Add login feature |
Types:
| Type | Purpose | Gitmoji |
|---|---|---|
feat | New feature | ✨ |
fix | Bug fix | 🐛 |
docs | Documentation | 📝 |
style | Formatting (no logic) | 🎨 |
refactor | Refactoring | ♻️ |
perf | Performance | ⚡ |
test | Tests | ✅ |
build | Build/dependencies | 📦 |
ci | CI config | 👷 |
chore | Other | 🔧 |
Message guidelines:
ko or en)# Stage specific files
git add path/to/file1.ts path/to/file2.ts
# Commit with HEREDOC
git commit -m "$(cat <<'EOF'
feat(auth): add social login feature
- Implement OAuth2 flow
- Add session management
EOF
)"
Created: abc1234
Message: feat(auth): add social login feature
Files: src/auth.ts, src/session.ts
If multiple commits: show count and summary of each.
| Situation | Action |
|---|---|
| No changes to commit | "No changes to commit." |
| Pre-commit hook fails | Fix issue, create NEW commit (never amend) |
| Merge conflict state | "Resolve conflicts before committing." |
| Intent unclear from code | Ask user to clarify the purpose of changes |
| Sensitive file detected | Warn user and exclude from staging |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub bityoungjae/marketplace --plugin gitkkal4 commands in this plugin
Other plugins' commands for the same job