Loading...
Loading...
Create semantic git commits following Conventional Commits specification. Use when committing changes, making commits, or when asked to commit.
npx skill4agent add buildrtech/dotagents semantic-commit<type>[optional scope]: <description>
[optional body]
[optional footer(s)]fix(parser):-| Type | Description |
|---|---|
| A new feature (user-visible) |
| A bug fix (user-visible) |
| Documentation only changes |
| Changes that do not affect the meaning of the code (formatting, semicolons, etc.) |
| A code change that neither fixes a bug nor adds a feature |
| A code change that improves performance |
| Adding missing tests or correcting existing tests |
| Changes that affect the build system or external dependencies |
| Changes to CI configuration files and scripts |
| Other changes that don't modify src or test files |
| Reverts a previous commit |
digraph commit_workflow {
rankdir=TB;
node [shape=box];
check [label="Check git status"];
stage [label="Stage changes\n(if needed)"];
review [label="Review staged diff"];
analyze [label="Analyze changes\nDetermine type & scope"];
write [label="Write commit message"];
commit [label="Execute git commit"];
check -> stage;
stage -> review;
review -> analyze;
analyze -> write;
write -> commit;
}git status --short
git diff --cached --stat # staged changes
git diff --stat # unstaged changesgit diff --cachedfix(parser): handle unicode characters in filenames
Previously, filenames with non-ASCII characters would cause
a decode error. Now using UTF-8 decoding with fallback to
latin-1 for legacy files.
Closes #123-Closes #123Fixes #456Co-authored-by: Name <email>Reviewed-by: Name <email>| Changes | Commit |
|---|---|
| New endpoint added | |
| Bug causing crash | |
| Updated README | |
| Reformatted code | |
| Renamed internal function | |
| Optimized query | |
| Added unit tests | |
| Updated dependencies | |
| Changed CI config | |
| Cleaned up files | |
| Breaking API change | |
| Mistake | Fix |
|---|---|
| Past tense ("added") | Use imperative ("add") |
| Too vague ("fix bug") | Be specific ("fix null check in parser") |
| Too long subject | Keep concise, move details to body |
| Wrong type | |
| Combining unrelated changes | Split into multiple commits |
| Overusing scope | Only add scope when it meaningfully improves clarity |
feat: New feature for users
fix: Bug fix for users
docs: Documentation only
style: Formatting, no logic change
refactor: Code change, no behavior change
perf: Performance improvement
test: Adding/fixing tests
build: Build system, dependencies
ci: CI configuration
chore: Maintenance, tooling
revert: Reverting commits