Create a git commit following the Conventional Commits specification.
Creates a git commit following Conventional Commits specification. Use this when you need to commit changes with proper formatting, type selection, and breaking change detection.
/plugin marketplace add ggz23/android-interview-plugin/plugin install ggz23-android-interview@ggz23/android-interview-pluginCreate a git commit following the Conventional Commits specification.
Run git status to see all staged and unstaged changes
Run git diff --cached to see staged changes (if any)
Run git diff to see unstaged changes
Run git log --oneline -5 to see recent commit style
Analyze the changes and determine:
Stage relevant files if not already staged using git add
Create the commit using this format:
<type>[optional scope][!]: <description>
[optional body]
[optional footer(s)]
| Type | When to use |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation only |
| style | Formatting, no code change |
| refactor | Code change that neither fixes a bug nor adds a feature |
| perf | Performance improvement |
| test | Adding or fixing tests |
| build | Build system or dependencies |
| ci | CI configuration |
| chore | Other changes (e.g., .gitignore) |
# Simple feature
git commit -m "feat: add user login endpoint"
# With scope
git commit -m "feat(auth): add password reset flow"
# Breaking change
git commit -m "feat(api)!: change response format to JSON:API"
# With body
git commit -m "fix(parser): handle empty input arrays
Previously the parser would crash when given an empty array.
Now it returns an empty result set."