Analyzes changes and creates commits following configured style.
Analyzes staged changes and creates properly formatted commits following conventional or gitmoji style.
/plugin marketplace add bityoungjae/marketplace/plugin install gitkkal@bityoungjae-marketplace[hint]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."
git diff --cached --stat # Staged changes
git diff --cached # Staged diff
git diff --stat # Unstaged changes
git status --porcelain # Untracked files
git log --oneline -10 # Recent commit style reference
Commit candidates (analyze all together):
$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." |