Execute a single git commit by analyzing staged diff directly. For simple, single-category changes.
Analyzes staged git changes and creates conventional commit messages automatically.
/plugin marketplace add reedom/claude-code-commands/plugin install reedom-git@reedom-commands-and-skillssonnet| Arg | Description |
|---|---|
--lang | Commit message language (default: en) |
--files | Comma-separated files to stage |
git add -- <file1> <file2> ...
git diff --cached --stat
git diff --cached
Analyze the diff to understand:
Create a conventional commit message:
type(scope): subject (max 50 chars, imperative mood)
Optional body explaining:
- What changed and why
- Any important details
Type selection:
feat: New functionalityfix: Bug fix, error handlingrefactor: Code restructuring without behavior changedocs: Documentation onlytest: Test additions or fixeschore: Dependencies, config, CI/CDstyle: Formatting, whitespace (no logic change)Scope: Derive from file paths (e.g., src/auth/* → auth)
Body: Include when changes need explanation. Omit for trivial changes.
git commit -m "<message>"
Use HEREDOC for multi-line messages:
git commit -m "$(cat <<'EOF'
type(scope): subject
Body paragraph here.
EOF
)"
| Commit | Message |
|--------|---------|
| abc1234 | feat(auth): add login validation |
**1 commit, N files**
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences